@crewlethq/tokens 0.5.7 → 0.6.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/README.md +82 -68
- package/dist/css/themes.css +170 -170
- package/dist/css/tokens.css +7 -7
- package/dist/themes.d.ts +109 -109
- package/dist/themes.js +109 -109
- package/package.json +1 -1
- package/test/palette.d.mts +6 -0
- package/test/palette.mjs +70 -37
- package/test/palette.test.mjs +69 -41
package/dist/themes.d.ts
CHANGED
|
@@ -11,68 +11,68 @@ export declare const themes: {
|
|
|
11
11
|
readonly light: {
|
|
12
12
|
readonly color: {
|
|
13
13
|
readonly surface: {
|
|
14
|
-
readonly frame: "#
|
|
15
|
-
readonly background: "#
|
|
16
|
-
readonly subtle: "#
|
|
17
|
-
readonly elevated: "#
|
|
18
|
-
readonly hover: "rgba(
|
|
19
|
-
readonly pressed: "rgba(
|
|
20
|
-
readonly inset: "rgba(
|
|
21
|
-
readonly glass: "rgba(
|
|
14
|
+
readonly frame: "#e9ecf3";
|
|
15
|
+
readonly background: "#f6f7fb";
|
|
16
|
+
readonly subtle: "#fcfcfc";
|
|
17
|
+
readonly elevated: "#f1f2f6";
|
|
18
|
+
readonly hover: "rgba(7, 8, 13, 0.044)";
|
|
19
|
+
readonly pressed: "rgba(7, 8, 13, 0.088)";
|
|
20
|
+
readonly inset: "rgba(7, 8, 13, 0.026)";
|
|
21
|
+
readonly glass: "rgba(252, 252, 252, 0.90)";
|
|
22
22
|
readonly scrim: "rgba(0, 0, 0, 0.6)";
|
|
23
|
-
readonly veil: "rgba(
|
|
24
|
-
readonly inverse: "#
|
|
23
|
+
readonly veil: "rgba(233, 236, 243, 0.65)";
|
|
24
|
+
readonly inverse: "#07080d";
|
|
25
25
|
};
|
|
26
26
|
readonly text: {
|
|
27
|
-
readonly primary: "#
|
|
28
|
-
readonly secondary: "#
|
|
29
|
-
readonly tertiary: "#
|
|
30
|
-
readonly muted: "#
|
|
27
|
+
readonly primary: "#121625";
|
|
28
|
+
readonly secondary: "#3e4459";
|
|
29
|
+
readonly tertiary: "#585e73";
|
|
30
|
+
readonly muted: "#878d9f";
|
|
31
31
|
readonly onAccent: "#ffffff";
|
|
32
|
-
readonly inverse: "#
|
|
32
|
+
readonly inverse: "#f6f7fb";
|
|
33
33
|
};
|
|
34
34
|
readonly brand: {
|
|
35
|
-
readonly accent: "#
|
|
36
|
-
readonly accentHover: "#
|
|
37
|
-
readonly accentActive: "#
|
|
38
|
-
readonly accentInk: "#
|
|
39
|
-
readonly accentSoft: "rgba(
|
|
40
|
-
readonly accentRgb: "
|
|
41
|
-
readonly accentSoftStrong: "rgba(
|
|
35
|
+
readonly accent: "#735af2";
|
|
36
|
+
readonly accentHover: "#674ee4";
|
|
37
|
+
readonly accentActive: "#5b3dc7";
|
|
38
|
+
readonly accentInk: "#4f51bd";
|
|
39
|
+
readonly accentSoft: "rgba(115, 90, 242, 0.125)";
|
|
40
|
+
readonly accentRgb: "115, 90, 242";
|
|
41
|
+
readonly accentSoftStrong: "rgba(115, 90, 242, 0.32)";
|
|
42
42
|
};
|
|
43
43
|
readonly border: {
|
|
44
|
-
readonly default: "#
|
|
45
|
-
readonly hover: "#
|
|
46
|
-
readonly strong: "#
|
|
47
|
-
readonly strongHover: "#
|
|
48
|
-
readonly control: "#
|
|
44
|
+
readonly default: "#e7e8ec";
|
|
45
|
+
readonly hover: "#c9cfdc";
|
|
46
|
+
readonly strong: "#c9cfdc";
|
|
47
|
+
readonly strongHover: "#acb6cc";
|
|
48
|
+
readonly control: "#777a83";
|
|
49
49
|
};
|
|
50
|
-
readonly focus: "#
|
|
50
|
+
readonly focus: "#735af2";
|
|
51
51
|
readonly feedback: {
|
|
52
|
-
readonly success: "#
|
|
53
|
-
readonly successInk: "#
|
|
54
|
-
readonly warning: "#
|
|
55
|
-
readonly warningInk: "#
|
|
56
|
-
readonly danger: "#
|
|
57
|
-
readonly dangerHover: "#
|
|
58
|
-
readonly dangerInk: "#
|
|
59
|
-
readonly info: "#
|
|
60
|
-
readonly infoInk: "#
|
|
61
|
-
readonly successSoft: "rgba(
|
|
62
|
-
readonly successLine: "rgba(
|
|
63
|
-
readonly warningSoft: "rgba(
|
|
64
|
-
readonly warningLine: "rgba(
|
|
65
|
-
readonly dangerSoft: "rgba(
|
|
66
|
-
readonly dangerLine: "rgba(
|
|
67
|
-
readonly infoSoft: "rgba(
|
|
68
|
-
readonly infoLine: "rgba(
|
|
52
|
+
readonly success: "#0b9a74";
|
|
53
|
+
readonly successInk: "#0b6a4b";
|
|
54
|
+
readonly warning: "#c17300";
|
|
55
|
+
readonly warningInk: "#8c4e00";
|
|
56
|
+
readonly danger: "#b9112c";
|
|
57
|
+
readonly dangerHover: "#ad0023";
|
|
58
|
+
readonly dangerInk: "#b20d23";
|
|
59
|
+
readonly info: "#2f92b4";
|
|
60
|
+
readonly infoInk: "#1a6588";
|
|
61
|
+
readonly successSoft: "rgba(11, 154, 116, 0.12)";
|
|
62
|
+
readonly successLine: "rgba(11, 154, 116, 0.3)";
|
|
63
|
+
readonly warningSoft: "rgba(193, 115, 0, 0.12)";
|
|
64
|
+
readonly warningLine: "rgba(193, 115, 0, 0.3)";
|
|
65
|
+
readonly dangerSoft: "rgba(185, 17, 44, 0.12)";
|
|
66
|
+
readonly dangerLine: "rgba(185, 17, 44, 0.3)";
|
|
67
|
+
readonly infoSoft: "rgba(47, 146, 180, 0.12)";
|
|
68
|
+
readonly infoLine: "rgba(47, 146, 180, 0.3)";
|
|
69
69
|
};
|
|
70
70
|
readonly data: {
|
|
71
|
-
readonly "1": "#
|
|
72
|
-
readonly "2": "#
|
|
73
|
-
readonly "3": "#
|
|
74
|
-
readonly "4": "#
|
|
75
|
-
readonly other: "#
|
|
71
|
+
readonly "1": "#5c76c3";
|
|
72
|
+
readonly "2": "#dd5920";
|
|
73
|
+
readonly "3": "#00956e";
|
|
74
|
+
readonly "4": "#c27600";
|
|
75
|
+
readonly other: "#85868d";
|
|
76
76
|
};
|
|
77
77
|
readonly node: {
|
|
78
78
|
readonly purple: "#7150b3";
|
|
@@ -106,19 +106,19 @@ export declare const themes: {
|
|
|
106
106
|
readonly blueLine: "rgba(64, 98, 167, 0.38)";
|
|
107
107
|
readonly blueHalo: "rgba(64, 98, 167, 0.16)";
|
|
108
108
|
};
|
|
109
|
-
readonly scrollbar: "rgba(
|
|
110
|
-
readonly scrollbarHover: "rgba(
|
|
109
|
+
readonly scrollbar: "rgba(7, 8, 13, 0.2)";
|
|
110
|
+
readonly scrollbarHover: "rgba(7, 8, 13, 0.32)";
|
|
111
111
|
};
|
|
112
112
|
readonly shadow: {
|
|
113
|
-
readonly xs: "0 1px 2px rgba(
|
|
114
|
-
readonly sm: "0 2px 8px rgba(
|
|
115
|
-
readonly md: "0 4px 12px rgba(
|
|
116
|
-
readonly lg: "0 8px 24px rgba(
|
|
117
|
-
readonly xl: "0 16px 40px rgba(
|
|
118
|
-
readonly sheet: "-16px 0 40px rgba(
|
|
119
|
-
readonly "2xl": "0 16px 64px rgba(
|
|
120
|
-
readonly card: "0 8px 24px rgba(
|
|
121
|
-
readonly rimLit: "0 4px 24px rgba(
|
|
113
|
+
readonly xs: "0 1px 2px rgba(7, 8, 13, 0.06)";
|
|
114
|
+
readonly sm: "0 2px 8px rgba(7, 8, 13, 0.07)";
|
|
115
|
+
readonly md: "0 4px 12px rgba(7, 8, 13, 0.08), 0 1px 3px rgba(7, 8, 13, 0.06)";
|
|
116
|
+
readonly lg: "0 8px 24px rgba(7, 8, 13, 0.12)";
|
|
117
|
+
readonly xl: "0 16px 40px rgba(7, 8, 13, 0.16), 0 2px 8px rgba(7, 8, 13, 0.08)";
|
|
118
|
+
readonly sheet: "-16px 0 40px rgba(7, 8, 13, 0.16), -2px 0 8px rgba(7, 8, 13, 0.08)";
|
|
119
|
+
readonly "2xl": "0 16px 64px rgba(7, 8, 13, 0.20)";
|
|
120
|
+
readonly card: "0 8px 24px rgba(7, 8, 13, 0.07)";
|
|
121
|
+
readonly rimLit: "0 4px 24px rgba(7, 8, 13, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6)";
|
|
122
122
|
readonly hairline: "none";
|
|
123
123
|
readonly focus: "0 0 0 2px var(--color-surface-background), 0 0 0 4px var(--color-focus)";
|
|
124
124
|
readonly selection: "inset 0 0 0 2px var(--color-brand-accent)";
|
|
@@ -128,68 +128,68 @@ export declare const themes: {
|
|
|
128
128
|
readonly dark: {
|
|
129
129
|
readonly color: {
|
|
130
130
|
readonly surface: {
|
|
131
|
-
readonly frame: "#
|
|
132
|
-
readonly background: "#
|
|
133
|
-
readonly subtle: "#
|
|
134
|
-
readonly elevated: "#
|
|
131
|
+
readonly frame: "#07080d";
|
|
132
|
+
readonly background: "#0c0e16";
|
|
133
|
+
readonly subtle: "#11141d";
|
|
134
|
+
readonly elevated: "#242833";
|
|
135
135
|
readonly hover: "rgba(255, 255, 255, 0.061)";
|
|
136
|
-
readonly pressed: "rgba(255, 255, 255, 0.
|
|
136
|
+
readonly pressed: "rgba(255, 255, 255, 0.098)";
|
|
137
137
|
readonly inset: "rgba(255, 255, 255, 0.028)";
|
|
138
|
-
readonly glass: "rgba(
|
|
138
|
+
readonly glass: "rgba(17, 20, 29, 0.90)";
|
|
139
139
|
readonly scrim: "rgba(0, 0, 0, 0.6)";
|
|
140
|
-
readonly veil: "rgba(
|
|
141
|
-
readonly inverse: "#
|
|
140
|
+
readonly veil: "rgba(7, 8, 13, 0.65)";
|
|
141
|
+
readonly inverse: "#fcfcfc";
|
|
142
142
|
};
|
|
143
143
|
readonly text: {
|
|
144
|
-
readonly primary: "#
|
|
145
|
-
readonly secondary: "#
|
|
146
|
-
readonly tertiary: "#
|
|
147
|
-
readonly muted: "#
|
|
144
|
+
readonly primary: "#e6e9f2";
|
|
145
|
+
readonly secondary: "#a9b0c3";
|
|
146
|
+
readonly tertiary: "#9fa7bc";
|
|
147
|
+
readonly muted: "#5a6176";
|
|
148
148
|
readonly onAccent: "#ffffff";
|
|
149
|
-
readonly inverse: "#
|
|
149
|
+
readonly inverse: "#07080d";
|
|
150
150
|
};
|
|
151
151
|
readonly brand: {
|
|
152
|
-
readonly accent: "#
|
|
153
|
-
readonly accentHover: "#
|
|
154
|
-
readonly accentActive: "#
|
|
155
|
-
readonly accentInk: "#
|
|
156
|
-
readonly accentSoft: "rgba(
|
|
157
|
-
readonly accentRgb: "
|
|
158
|
-
readonly accentSoftStrong: "rgba(
|
|
152
|
+
readonly accent: "#725be6";
|
|
153
|
+
readonly accentHover: "#674ee4";
|
|
154
|
+
readonly accentActive: "#5b3dc7";
|
|
155
|
+
readonly accentInk: "#a9b0ff";
|
|
156
|
+
readonly accentSoft: "rgba(114, 91, 230, 0.16)";
|
|
157
|
+
readonly accentRgb: "114, 91, 230";
|
|
158
|
+
readonly accentSoftStrong: "rgba(114, 91, 230, 0.32)";
|
|
159
159
|
};
|
|
160
160
|
readonly border: {
|
|
161
|
-
readonly default: "#
|
|
162
|
-
readonly hover: "#
|
|
163
|
-
readonly strong: "#
|
|
164
|
-
readonly strongHover: "#
|
|
165
|
-
readonly control: "#
|
|
161
|
+
readonly default: "#191b20";
|
|
162
|
+
readonly hover: "#2d3448";
|
|
163
|
+
readonly strong: "#2d3448";
|
|
164
|
+
readonly strongHover: "#424f74";
|
|
165
|
+
readonly control: "#7f879c";
|
|
166
166
|
};
|
|
167
|
-
readonly focus: "#
|
|
167
|
+
readonly focus: "#8572fe";
|
|
168
168
|
readonly feedback: {
|
|
169
|
-
readonly success: "#
|
|
170
|
-
readonly successInk: "#
|
|
171
|
-
readonly warning: "#
|
|
172
|
-
readonly warningInk: "#
|
|
173
|
-
readonly danger: "#
|
|
174
|
-
readonly dangerHover: "#
|
|
175
|
-
readonly dangerInk: "#
|
|
176
|
-
readonly info: "#
|
|
177
|
-
readonly infoInk: "#
|
|
178
|
-
readonly successSoft: "rgba(
|
|
179
|
-
readonly successLine: "rgba(
|
|
180
|
-
readonly warningSoft: "rgba(
|
|
181
|
-
readonly warningLine: "rgba(
|
|
182
|
-
readonly dangerSoft: "rgba(
|
|
183
|
-
readonly dangerLine: "rgba(
|
|
184
|
-
readonly infoSoft: "rgba(
|
|
185
|
-
readonly infoLine: "rgba(
|
|
169
|
+
readonly success: "#34c98b";
|
|
170
|
+
readonly successInk: "#74dcae";
|
|
171
|
+
readonly warning: "#f0b425";
|
|
172
|
+
readonly warningInk: "#f6cd72";
|
|
173
|
+
readonly danger: "#d93855";
|
|
174
|
+
readonly dangerHover: "#ce2c4d";
|
|
175
|
+
readonly dangerInk: "#ff9fb0";
|
|
176
|
+
readonly info: "#61d0ff";
|
|
177
|
+
readonly infoInk: "#8ad6fb";
|
|
178
|
+
readonly successSoft: "rgba(52, 201, 139, 0.12)";
|
|
179
|
+
readonly successLine: "rgba(52, 201, 139, 0.3)";
|
|
180
|
+
readonly warningSoft: "rgba(240, 180, 37, 0.12)";
|
|
181
|
+
readonly warningLine: "rgba(240, 180, 37, 0.3)";
|
|
182
|
+
readonly dangerSoft: "rgba(217, 56, 85, 0.12)";
|
|
183
|
+
readonly dangerLine: "rgba(217, 56, 85, 0.3)";
|
|
184
|
+
readonly infoSoft: "rgba(97, 208, 255, 0.12)";
|
|
185
|
+
readonly infoLine: "rgba(97, 208, 255, 0.3)";
|
|
186
186
|
};
|
|
187
187
|
readonly data: {
|
|
188
|
-
readonly "1": "#
|
|
189
|
-
readonly "2": "#
|
|
190
|
-
readonly "3": "#
|
|
191
|
-
readonly "4": "#
|
|
192
|
-
readonly other: "#
|
|
188
|
+
readonly "1": "#4d8ff6";
|
|
189
|
+
readonly "2": "#e67737";
|
|
190
|
+
readonly "3": "#26b583";
|
|
191
|
+
readonly "4": "#eab106";
|
|
192
|
+
readonly other: "#6a7186";
|
|
193
193
|
};
|
|
194
194
|
readonly node: {
|
|
195
195
|
readonly purple: "#8e6ed4";
|
package/dist/themes.js
CHANGED
|
@@ -12,68 +12,68 @@ export const themes = {
|
|
|
12
12
|
"light": {
|
|
13
13
|
"color": {
|
|
14
14
|
"surface": {
|
|
15
|
-
"frame": "#
|
|
16
|
-
"background": "#
|
|
17
|
-
"subtle": "#
|
|
18
|
-
"elevated": "#
|
|
19
|
-
"hover": "rgba(
|
|
20
|
-
"pressed": "rgba(
|
|
21
|
-
"inset": "rgba(
|
|
22
|
-
"glass": "rgba(
|
|
15
|
+
"frame": "#e9ecf3",
|
|
16
|
+
"background": "#f6f7fb",
|
|
17
|
+
"subtle": "#fcfcfc",
|
|
18
|
+
"elevated": "#f1f2f6",
|
|
19
|
+
"hover": "rgba(7, 8, 13, 0.044)",
|
|
20
|
+
"pressed": "rgba(7, 8, 13, 0.088)",
|
|
21
|
+
"inset": "rgba(7, 8, 13, 0.026)",
|
|
22
|
+
"glass": "rgba(252, 252, 252, 0.90)",
|
|
23
23
|
"scrim": "rgba(0, 0, 0, 0.6)",
|
|
24
|
-
"veil": "rgba(
|
|
25
|
-
"inverse": "#
|
|
24
|
+
"veil": "rgba(233, 236, 243, 0.65)",
|
|
25
|
+
"inverse": "#07080d"
|
|
26
26
|
},
|
|
27
27
|
"text": {
|
|
28
|
-
"primary": "#
|
|
29
|
-
"secondary": "#
|
|
30
|
-
"tertiary": "#
|
|
31
|
-
"muted": "#
|
|
28
|
+
"primary": "#121625",
|
|
29
|
+
"secondary": "#3e4459",
|
|
30
|
+
"tertiary": "#585e73",
|
|
31
|
+
"muted": "#878d9f",
|
|
32
32
|
"onAccent": "#ffffff",
|
|
33
|
-
"inverse": "#
|
|
33
|
+
"inverse": "#f6f7fb"
|
|
34
34
|
},
|
|
35
35
|
"brand": {
|
|
36
|
-
"accent": "#
|
|
37
|
-
"accentHover": "#
|
|
38
|
-
"accentActive": "#
|
|
39
|
-
"accentInk": "#
|
|
40
|
-
"accentSoft": "rgba(
|
|
41
|
-
"accentRgb": "
|
|
42
|
-
"accentSoftStrong": "rgba(
|
|
36
|
+
"accent": "#735af2",
|
|
37
|
+
"accentHover": "#674ee4",
|
|
38
|
+
"accentActive": "#5b3dc7",
|
|
39
|
+
"accentInk": "#4f51bd",
|
|
40
|
+
"accentSoft": "rgba(115, 90, 242, 0.125)",
|
|
41
|
+
"accentRgb": "115, 90, 242",
|
|
42
|
+
"accentSoftStrong": "rgba(115, 90, 242, 0.32)"
|
|
43
43
|
},
|
|
44
44
|
"border": {
|
|
45
|
-
"default": "#
|
|
46
|
-
"hover": "#
|
|
47
|
-
"strong": "#
|
|
48
|
-
"strongHover": "#
|
|
49
|
-
"control": "#
|
|
45
|
+
"default": "#e7e8ec",
|
|
46
|
+
"hover": "#c9cfdc",
|
|
47
|
+
"strong": "#c9cfdc",
|
|
48
|
+
"strongHover": "#acb6cc",
|
|
49
|
+
"control": "#777a83"
|
|
50
50
|
},
|
|
51
|
-
"focus": "#
|
|
51
|
+
"focus": "#735af2",
|
|
52
52
|
"feedback": {
|
|
53
|
-
"success": "#
|
|
54
|
-
"successInk": "#
|
|
55
|
-
"warning": "#
|
|
56
|
-
"warningInk": "#
|
|
57
|
-
"danger": "#
|
|
58
|
-
"dangerHover": "#
|
|
59
|
-
"dangerInk": "#
|
|
60
|
-
"info": "#
|
|
61
|
-
"infoInk": "#
|
|
62
|
-
"successSoft": "rgba(
|
|
63
|
-
"successLine": "rgba(
|
|
64
|
-
"warningSoft": "rgba(
|
|
65
|
-
"warningLine": "rgba(
|
|
66
|
-
"dangerSoft": "rgba(
|
|
67
|
-
"dangerLine": "rgba(
|
|
68
|
-
"infoSoft": "rgba(
|
|
69
|
-
"infoLine": "rgba(
|
|
53
|
+
"success": "#0b9a74",
|
|
54
|
+
"successInk": "#0b6a4b",
|
|
55
|
+
"warning": "#c17300",
|
|
56
|
+
"warningInk": "#8c4e00",
|
|
57
|
+
"danger": "#b9112c",
|
|
58
|
+
"dangerHover": "#ad0023",
|
|
59
|
+
"dangerInk": "#b20d23",
|
|
60
|
+
"info": "#2f92b4",
|
|
61
|
+
"infoInk": "#1a6588",
|
|
62
|
+
"successSoft": "rgba(11, 154, 116, 0.12)",
|
|
63
|
+
"successLine": "rgba(11, 154, 116, 0.3)",
|
|
64
|
+
"warningSoft": "rgba(193, 115, 0, 0.12)",
|
|
65
|
+
"warningLine": "rgba(193, 115, 0, 0.3)",
|
|
66
|
+
"dangerSoft": "rgba(185, 17, 44, 0.12)",
|
|
67
|
+
"dangerLine": "rgba(185, 17, 44, 0.3)",
|
|
68
|
+
"infoSoft": "rgba(47, 146, 180, 0.12)",
|
|
69
|
+
"infoLine": "rgba(47, 146, 180, 0.3)"
|
|
70
70
|
},
|
|
71
71
|
"data": {
|
|
72
|
-
"1": "#
|
|
73
|
-
"2": "#
|
|
74
|
-
"3": "#
|
|
75
|
-
"4": "#
|
|
76
|
-
"other": "#
|
|
72
|
+
"1": "#5c76c3",
|
|
73
|
+
"2": "#dd5920",
|
|
74
|
+
"3": "#00956e",
|
|
75
|
+
"4": "#c27600",
|
|
76
|
+
"other": "#85868d"
|
|
77
77
|
},
|
|
78
78
|
"node": {
|
|
79
79
|
"purple": "#7150b3",
|
|
@@ -107,19 +107,19 @@ export const themes = {
|
|
|
107
107
|
"blueLine": "rgba(64, 98, 167, 0.38)",
|
|
108
108
|
"blueHalo": "rgba(64, 98, 167, 0.16)"
|
|
109
109
|
},
|
|
110
|
-
"scrollbar": "rgba(
|
|
111
|
-
"scrollbarHover": "rgba(
|
|
110
|
+
"scrollbar": "rgba(7, 8, 13, 0.2)",
|
|
111
|
+
"scrollbarHover": "rgba(7, 8, 13, 0.32)"
|
|
112
112
|
},
|
|
113
113
|
"shadow": {
|
|
114
|
-
"xs": "0 1px 2px rgba(
|
|
115
|
-
"sm": "0 2px 8px rgba(
|
|
116
|
-
"md": "0 4px 12px rgba(
|
|
117
|
-
"lg": "0 8px 24px rgba(
|
|
118
|
-
"xl": "0 16px 40px rgba(
|
|
119
|
-
"sheet": "-16px 0 40px rgba(
|
|
120
|
-
"2xl": "0 16px 64px rgba(
|
|
121
|
-
"card": "0 8px 24px rgba(
|
|
122
|
-
"rimLit": "0 4px 24px rgba(
|
|
114
|
+
"xs": "0 1px 2px rgba(7, 8, 13, 0.06)",
|
|
115
|
+
"sm": "0 2px 8px rgba(7, 8, 13, 0.07)",
|
|
116
|
+
"md": "0 4px 12px rgba(7, 8, 13, 0.08), 0 1px 3px rgba(7, 8, 13, 0.06)",
|
|
117
|
+
"lg": "0 8px 24px rgba(7, 8, 13, 0.12)",
|
|
118
|
+
"xl": "0 16px 40px rgba(7, 8, 13, 0.16), 0 2px 8px rgba(7, 8, 13, 0.08)",
|
|
119
|
+
"sheet": "-16px 0 40px rgba(7, 8, 13, 0.16), -2px 0 8px rgba(7, 8, 13, 0.08)",
|
|
120
|
+
"2xl": "0 16px 64px rgba(7, 8, 13, 0.20)",
|
|
121
|
+
"card": "0 8px 24px rgba(7, 8, 13, 0.07)",
|
|
122
|
+
"rimLit": "0 4px 24px rgba(7, 8, 13, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6)",
|
|
123
123
|
"hairline": "none",
|
|
124
124
|
"focus": "0 0 0 2px var(--color-surface-background), 0 0 0 4px var(--color-focus)",
|
|
125
125
|
"selection": "inset 0 0 0 2px var(--color-brand-accent)",
|
|
@@ -129,68 +129,68 @@ export const themes = {
|
|
|
129
129
|
"dark": {
|
|
130
130
|
"color": {
|
|
131
131
|
"surface": {
|
|
132
|
-
"frame": "#
|
|
133
|
-
"background": "#
|
|
134
|
-
"subtle": "#
|
|
135
|
-
"elevated": "#
|
|
132
|
+
"frame": "#07080d",
|
|
133
|
+
"background": "#0c0e16",
|
|
134
|
+
"subtle": "#11141d",
|
|
135
|
+
"elevated": "#242833",
|
|
136
136
|
"hover": "rgba(255, 255, 255, 0.061)",
|
|
137
|
-
"pressed": "rgba(255, 255, 255, 0.
|
|
137
|
+
"pressed": "rgba(255, 255, 255, 0.098)",
|
|
138
138
|
"inset": "rgba(255, 255, 255, 0.028)",
|
|
139
|
-
"glass": "rgba(
|
|
139
|
+
"glass": "rgba(17, 20, 29, 0.90)",
|
|
140
140
|
"scrim": "rgba(0, 0, 0, 0.6)",
|
|
141
|
-
"veil": "rgba(
|
|
142
|
-
"inverse": "#
|
|
141
|
+
"veil": "rgba(7, 8, 13, 0.65)",
|
|
142
|
+
"inverse": "#fcfcfc"
|
|
143
143
|
},
|
|
144
144
|
"text": {
|
|
145
|
-
"primary": "#
|
|
146
|
-
"secondary": "#
|
|
147
|
-
"tertiary": "#
|
|
148
|
-
"muted": "#
|
|
145
|
+
"primary": "#e6e9f2",
|
|
146
|
+
"secondary": "#a9b0c3",
|
|
147
|
+
"tertiary": "#9fa7bc",
|
|
148
|
+
"muted": "#5a6176",
|
|
149
149
|
"onAccent": "#ffffff",
|
|
150
|
-
"inverse": "#
|
|
150
|
+
"inverse": "#07080d"
|
|
151
151
|
},
|
|
152
152
|
"brand": {
|
|
153
|
-
"accent": "#
|
|
154
|
-
"accentHover": "#
|
|
155
|
-
"accentActive": "#
|
|
156
|
-
"accentInk": "#
|
|
157
|
-
"accentSoft": "rgba(
|
|
158
|
-
"accentRgb": "
|
|
159
|
-
"accentSoftStrong": "rgba(
|
|
153
|
+
"accent": "#725be6",
|
|
154
|
+
"accentHover": "#674ee4",
|
|
155
|
+
"accentActive": "#5b3dc7",
|
|
156
|
+
"accentInk": "#a9b0ff",
|
|
157
|
+
"accentSoft": "rgba(114, 91, 230, 0.16)",
|
|
158
|
+
"accentRgb": "114, 91, 230",
|
|
159
|
+
"accentSoftStrong": "rgba(114, 91, 230, 0.32)"
|
|
160
160
|
},
|
|
161
161
|
"border": {
|
|
162
|
-
"default": "#
|
|
163
|
-
"hover": "#
|
|
164
|
-
"strong": "#
|
|
165
|
-
"strongHover": "#
|
|
166
|
-
"control": "#
|
|
162
|
+
"default": "#191b20",
|
|
163
|
+
"hover": "#2d3448",
|
|
164
|
+
"strong": "#2d3448",
|
|
165
|
+
"strongHover": "#424f74",
|
|
166
|
+
"control": "#7f879c"
|
|
167
167
|
},
|
|
168
|
-
"focus": "#
|
|
168
|
+
"focus": "#8572fe",
|
|
169
169
|
"feedback": {
|
|
170
|
-
"success": "#
|
|
171
|
-
"successInk": "#
|
|
172
|
-
"warning": "#
|
|
173
|
-
"warningInk": "#
|
|
174
|
-
"danger": "#
|
|
175
|
-
"dangerHover": "#
|
|
176
|
-
"dangerInk": "#
|
|
177
|
-
"info": "#
|
|
178
|
-
"infoInk": "#
|
|
179
|
-
"successSoft": "rgba(
|
|
180
|
-
"successLine": "rgba(
|
|
181
|
-
"warningSoft": "rgba(
|
|
182
|
-
"warningLine": "rgba(
|
|
183
|
-
"dangerSoft": "rgba(
|
|
184
|
-
"dangerLine": "rgba(
|
|
185
|
-
"infoSoft": "rgba(
|
|
186
|
-
"infoLine": "rgba(
|
|
170
|
+
"success": "#34c98b",
|
|
171
|
+
"successInk": "#74dcae",
|
|
172
|
+
"warning": "#f0b425",
|
|
173
|
+
"warningInk": "#f6cd72",
|
|
174
|
+
"danger": "#d93855",
|
|
175
|
+
"dangerHover": "#ce2c4d",
|
|
176
|
+
"dangerInk": "#ff9fb0",
|
|
177
|
+
"info": "#61d0ff",
|
|
178
|
+
"infoInk": "#8ad6fb",
|
|
179
|
+
"successSoft": "rgba(52, 201, 139, 0.12)",
|
|
180
|
+
"successLine": "rgba(52, 201, 139, 0.3)",
|
|
181
|
+
"warningSoft": "rgba(240, 180, 37, 0.12)",
|
|
182
|
+
"warningLine": "rgba(240, 180, 37, 0.3)",
|
|
183
|
+
"dangerSoft": "rgba(217, 56, 85, 0.12)",
|
|
184
|
+
"dangerLine": "rgba(217, 56, 85, 0.3)",
|
|
185
|
+
"infoSoft": "rgba(97, 208, 255, 0.12)",
|
|
186
|
+
"infoLine": "rgba(97, 208, 255, 0.3)"
|
|
187
187
|
},
|
|
188
188
|
"data": {
|
|
189
|
-
"1": "#
|
|
190
|
-
"2": "#
|
|
191
|
-
"3": "#
|
|
192
|
-
"4": "#
|
|
193
|
-
"other": "#
|
|
189
|
+
"1": "#4d8ff6",
|
|
190
|
+
"2": "#e67737",
|
|
191
|
+
"3": "#26b583",
|
|
192
|
+
"4": "#eab106",
|
|
193
|
+
"other": "#6a7186"
|
|
194
194
|
},
|
|
195
195
|
"node": {
|
|
196
196
|
"purple": "#8e6ed4",
|
package/package.json
CHANGED
package/test/palette.d.mts
CHANGED
|
@@ -125,6 +125,12 @@ export const RAIL_GROUND: string;
|
|
|
125
125
|
export const RAIL_CURRENT_ROW: readonly [string, string];
|
|
126
126
|
export const RAIL_CURRENT_LIFT: number;
|
|
127
127
|
|
|
128
|
+
/**
|
|
129
|
+
* A chip on the raised rung inside the strong hairline, as [fill, edge]: its
|
|
130
|
+
* boundary clears HAIRLINE_DE on every opaque rung and every overlay on one.
|
|
131
|
+
*/
|
|
132
|
+
export const RAISED_CHIP: readonly [string, string];
|
|
133
|
+
|
|
128
134
|
/**
|
|
129
135
|
* The four chart series, by custom-property name, in the order a figure
|
|
130
136
|
* assigns them. Past the fourth a figure takes `--color-data-other`, which is
|