@redseed/redseed-ui-tailwindcss 3.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/colors.js +51 -63
- package/index.js +12 -30
- package/package.json +5 -4
package/colors.js
CHANGED
|
@@ -2,79 +2,67 @@
|
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
grey: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
900: "#323C45",
|
|
5
|
+
25: "#FDFDFD", 50: "#FAFAFA",
|
|
6
|
+
100: "#FAFAFA", 200: "#F3F3F3", 300: "#E4E5E6", 400: "#CCCED0", 500: "#B1B5B8",
|
|
7
|
+
600: "#94999E", 700: "#757C81", 800: "#545C64", 900: "#323C45", 950: "#0A0D12",
|
|
8
|
+
// Dark mode grey colors
|
|
9
|
+
dark: {
|
|
10
|
+
25: "#FAFAFA", 50: "#F7F7F7",
|
|
11
|
+
100: "#F0F0F1", 200: "#ECECED", 300: "#CECFD2", 400: "#94979C", 500: "#85888E",
|
|
12
|
+
600: "#61656C", 700: "#373A41", 800: "#22262F", 900: "#13161B", 950: "#0C0E12",
|
|
13
|
+
},
|
|
15
14
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
300: "#
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
|
|
16
|
+
brand: {
|
|
17
|
+
25: "#FCFAFF", 50: "#F9F5FF",
|
|
18
|
+
100: "#FEF8F8", 200: "#FBECEC", 300: "#F0AEAE", 400: "#DD4E4E", 500: "#D11111",
|
|
19
|
+
600: "#C11010", 700: "#AA0E0E", 800: "#8F0C0C", 900: "#730A0A",
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
error: {
|
|
23
|
+
25: "#FFFBFA", 50: "#FEF3F2",
|
|
24
|
+
100: "#FEE4E2", 200: "#FECDCA", 300: "#FDA29B", 400: "#F97066", 500: "#F04438",
|
|
25
|
+
600: "#D92D20", 700: "#B42318", 800: "#912018", 900: "#7A271A", 950: "#55160C",
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
warning: {
|
|
29
|
+
25: "#FFFCF5", 50: "#FFFAEB",
|
|
30
|
+
100: "#FEF0C7", 200: "#FEDF89", 300: "#FEC84B", 400: "#FDB022", 500: "#F79009",
|
|
31
|
+
600: "#DC6803", 700: "#B54708", 800: "#93370D", 900: "#7A2E0E", 950: "#4E1D09",
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
success: {
|
|
35
|
+
25: "#F6FEF9", 50: "#ECFDF3",
|
|
36
|
+
100: "#DCFAE6", 200: "#ABEFC6", 300: "#75E0A7", 400: "#47CD89", 500: "#17B26A",
|
|
37
|
+
600: "#079455", 700: "#067647", 800: "#085D3A", 900: "#074D31", 950: "#053321",
|
|
26
38
|
},
|
|
39
|
+
|
|
27
40
|
coach: {
|
|
28
|
-
|
|
41
|
+
50: "#EDF5F8",
|
|
42
|
+
100: "#D7EAEF", 200: "#B2D7E1", 300: "#8AC1D1", 400: "#66AEC2", 500: "#4495AB",
|
|
43
|
+
600: "#37798B", 700: "#295966", 800: "#1C3C45", 900: "#0D1D21", 950: "#071012",
|
|
29
44
|
},
|
|
45
|
+
|
|
30
46
|
lms: {
|
|
31
|
-
|
|
47
|
+
50: "#F3F6F5",
|
|
48
|
+
100: "#E5EBE9", 200: "#CEDAD5", 300: "#B3C6BF", 400: "#99B2A9", 500: "#81A094",
|
|
49
|
+
600: "#638376", 700: "#4B635A", 800: "#32433D", 900: "#18201D", 950: "#0D1110",
|
|
32
50
|
},
|
|
51
|
+
|
|
33
52
|
build: {
|
|
34
|
-
|
|
53
|
+
50: "#EEF1F7",
|
|
54
|
+
100: "#DCE2EF", 200: "#B9C6DF", 300: "#97A9CE", 400: "#748DBE", 500: "#506FAC",
|
|
55
|
+
600: "#415A8B", 700: "#314368", 800: "#202D46", 900: "#101623", 950: "#080B11",
|
|
35
56
|
},
|
|
57
|
+
|
|
58
|
+
/** OLD COLORS BELOW FOR COMPATIBILITY, TO BE REMOVED OR REPLACED */
|
|
36
59
|
info: {
|
|
37
|
-
100: "#D4E9FD",
|
|
38
|
-
|
|
39
|
-
300: "#81BFF8",
|
|
40
|
-
400: "#59ABF6",
|
|
41
|
-
500: "#4BA4F5",
|
|
42
|
-
600: "#4597E2",
|
|
43
|
-
700: "#3D85C7",
|
|
44
|
-
800: "#3370A8",
|
|
45
|
-
900: "#295A87",
|
|
46
|
-
},
|
|
47
|
-
success: {
|
|
48
|
-
100: "#E1E9D2",
|
|
49
|
-
200: "#C8D6AC",
|
|
50
|
-
300: "#A7BD7B",
|
|
51
|
-
400: "#8BA851",
|
|
52
|
-
500: "#81A142",
|
|
53
|
-
600: "#77943D",
|
|
54
|
-
700: "#698336",
|
|
55
|
-
800: "#596E2E",
|
|
56
|
-
900: "#485825",
|
|
57
|
-
},
|
|
58
|
-
warning: {
|
|
59
|
-
100: "#FBEDD4",
|
|
60
|
-
200: "#F7DFB1",
|
|
61
|
-
300: "#F1CC82",
|
|
62
|
-
400: "#EDBB5A",
|
|
63
|
-
500: "#ECB54C",
|
|
64
|
-
600: "#D9A746",
|
|
65
|
-
700: "#BF933E",
|
|
66
|
-
800: "#A17C34",
|
|
67
|
-
900: "#81642A",
|
|
60
|
+
100: "#D4E9FD", 200: "#B0D7FB", 300: "#81BFF8", 400: "#59ABF6", 500: "#4BA4F5",
|
|
61
|
+
600: "#4597E2", 700: "#3D85C7", 800: "#3370A8", 900: "#295A87",
|
|
68
62
|
},
|
|
63
|
+
|
|
69
64
|
danger: {
|
|
70
|
-
100: "#FADFD3",
|
|
71
|
-
|
|
72
|
-
300: "#F1A17F",
|
|
73
|
-
400: "#EC8456",
|
|
74
|
-
500: "#EA7948",
|
|
75
|
-
600: "#D87042",
|
|
76
|
-
700: "#BF633A",
|
|
77
|
-
800: "#A15331",
|
|
78
|
-
900: "#814327",
|
|
65
|
+
100: "#FADFD3", 200: "#F6C4AF", 300: "#F1A17F", 400: "#EC8456", 500: "#EA7948",
|
|
66
|
+
600: "#D87042", 700: "#BF633A", 800: "#A15331", 900: "#814327",
|
|
79
67
|
},
|
|
80
68
|
}
|
package/index.js
CHANGED
|
@@ -27,37 +27,16 @@ module.exports = {
|
|
|
27
27
|
extend: {
|
|
28
28
|
colors: {
|
|
29
29
|
// RedSeed UI colors. Should not be extended.
|
|
30
|
-
'rsui':
|
|
31
|
-
|
|
32
|
-
'default': rsuiColors.grey['900'],
|
|
33
|
-
'medium': rsuiColors.grey['700'],
|
|
34
|
-
'light': rsuiColors.grey['400'],
|
|
35
|
-
},
|
|
36
|
-
// RedSeed brand colors. Should not be extended.
|
|
37
|
-
'brand': {
|
|
38
|
-
'coach': rsuiColors.coach['500'],
|
|
39
|
-
'lms': rsuiColors.lms['500'],
|
|
40
|
-
'build': rsuiColors.build['500'],
|
|
41
|
-
},
|
|
42
|
-
// Stateful colors. Caution with extending these may cause confusion.
|
|
43
|
-
'info': rsuiColors.info['500'],
|
|
44
|
-
'info-content': defaultColors.white,
|
|
45
|
-
'success': rsuiColors.success['500'],
|
|
46
|
-
'success-content': defaultColors.white,
|
|
47
|
-
'warning': rsuiColors.warning['500'],
|
|
48
|
-
'warning-content': defaultColors.white,
|
|
49
|
-
'danger': rsuiColors.danger['500'],
|
|
50
|
-
'danger-content': defaultColors.white,
|
|
30
|
+
'rsui': rsuiColors,
|
|
31
|
+
|
|
51
32
|
// Functional colors. Extend these to be consistent with the application theme.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'segment': defaultColors.white,
|
|
60
|
-
'segment-content': rsuiColors.grey['900'],
|
|
33
|
+
/**
|
|
34
|
+
* Primary colors.
|
|
35
|
+
*/
|
|
36
|
+
'primary-foreground': defaultColors.white,
|
|
37
|
+
'primary-background': rsuiColors.brand['500'],
|
|
38
|
+
'primary-foreground-hover': defaultColors.white,
|
|
39
|
+
'primary-background-hover': rsuiColors.brand['700'],
|
|
61
40
|
},
|
|
62
41
|
aspectRatio: {
|
|
63
42
|
'4/3': '4 / 3',
|
|
@@ -65,6 +44,9 @@ module.exports = {
|
|
|
65
44
|
'9/16': '9 / 16',
|
|
66
45
|
'64/25': '64 / 25'
|
|
67
46
|
},
|
|
47
|
+
spacing: {
|
|
48
|
+
'4.5': '1.125rem', /* 18px */
|
|
49
|
+
},
|
|
68
50
|
minWidth: {
|
|
69
51
|
'px': '1px',
|
|
70
52
|
},
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redseed/redseed-ui-tailwindcss",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "RedSeed UI Tailwindcss",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"repository": "https://github.com/redseedtraining/redseed-ui",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
9
|
},
|
|
@@ -10,10 +11,10 @@
|
|
|
10
11
|
"author": "",
|
|
11
12
|
"license": "ISC",
|
|
12
13
|
"dependencies": {
|
|
13
|
-
"autoprefixer": "^10.4.
|
|
14
|
-
"postcss": "^8.
|
|
14
|
+
"autoprefixer": "^10.4.21",
|
|
15
|
+
"postcss": "^8.5.3",
|
|
15
16
|
"postcss-import": "^16.1.0",
|
|
16
|
-
"sass": "^1.
|
|
17
|
+
"sass": "^1.86.0",
|
|
17
18
|
"tailwindcss": "^3.4.17"
|
|
18
19
|
}
|
|
19
20
|
}
|