@astryxdesign/theme-y2k 0.7.12-canary.f36bd72 → 0.7.12
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/dist/icons.d.cts +2 -0
- package/dist/{source.js → source.cjs} +2 -2
- package/dist/source.d.cts +3 -0
- package/dist/source.d.ts +3 -3
- package/dist/source.mjs +2 -2
- package/dist/theme.css +1 -1
- package/dist/y2k.js +1 -1
- package/dist/y2kPaletteRefs.generated.d.ts +1 -0
- package/dist/y2kPaletteRefs.generated.d.ts.map +1 -1
- package/dist/y2kPalettes.d.cts +254 -0
- package/dist/y2kTheme.d.cts +1 -0
- package/package.json +15 -8
- package/src/y2kPaletteRefs.generated.ts +1 -1
- package/src/y2kTheme.ts +1 -1
- package/theme.css.d.ts +3 -0
package/dist/icons.d.cts
ADDED
|
@@ -79,7 +79,7 @@ var y2kPaletteRefs = {
|
|
|
79
79
|
dark: { 20: "#2a3600", 65: "#95b041", 75: "#b5d263", 80: "#c5e17a" }
|
|
80
80
|
},
|
|
81
81
|
neutral: {
|
|
82
|
-
light: { 15: "#2d241b", 20: "#382e24", 30: "#4f453b", 40: "#675d52", 80: "#d1c5b8", 85: "#dfd5c9", 90: "#f1e6db", 95: "#fff6ed", 100: "#ffffff" },
|
|
82
|
+
light: { 15: "#2d241b", 20: "#382e24", 30: "#4f453b", 35: "#5a5146", 40: "#675d52", 80: "#d1c5b8", 85: "#dfd5c9", 90: "#f1e6db", 95: "#fff6ed", 100: "#ffffff" },
|
|
83
83
|
dark: { 0: "#000000", 5: "#0e0f1a", 10: "#16182b", 20: "#1f2238", 25: "#2c3048", 35: "#4a4f6b", 45: "#636889", 70: "#a6acd6", 85: "#d0d4eb", 90: "#dfe2f3", 95: "#edeffc" }
|
|
84
84
|
},
|
|
85
85
|
orange: {
|
|
@@ -251,7 +251,7 @@ var y2kTheme = (0, import_theme.defineTheme)({
|
|
|
251
251
|
"--color-background-muted": [neutral.light[90], neutral.dark[20]],
|
|
252
252
|
// Text
|
|
253
253
|
"--color-text-primary": [neutral.light[15], neutral.dark[95]],
|
|
254
|
-
"--color-text-secondary": [neutral.light[
|
|
254
|
+
"--color-text-secondary": [neutral.light[35], neutral.dark[70]],
|
|
255
255
|
"--color-text-disabled": [neutral.light[80], neutral.dark[35]],
|
|
256
256
|
"--color-text-accent": [neutral.light[15], neutral.dark[95]],
|
|
257
257
|
"--color-on-dark": neutral.light[100],
|
package/dist/source.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { y2kTheme } from './y2kTheme';
|
|
2
|
-
export { y2kPalettes } from './y2kPalettes';
|
|
3
|
-
export { y2kIconRegistry } from './icons';
|
|
1
|
+
export { y2kTheme } from './y2kTheme.js';
|
|
2
|
+
export { y2kPalettes } from './y2kPalettes.js';
|
|
3
|
+
export { y2kIconRegistry } from './icons.js';
|
|
4
4
|
//# sourceMappingURL=source.d.ts.map
|
package/dist/source.mjs
CHANGED
|
@@ -81,7 +81,7 @@ var y2kPaletteRefs = {
|
|
|
81
81
|
dark: { 20: "#2a3600", 65: "#95b041", 75: "#b5d263", 80: "#c5e17a" }
|
|
82
82
|
},
|
|
83
83
|
neutral: {
|
|
84
|
-
light: { 15: "#2d241b", 20: "#382e24", 30: "#4f453b", 40: "#675d52", 80: "#d1c5b8", 85: "#dfd5c9", 90: "#f1e6db", 95: "#fff6ed", 100: "#ffffff" },
|
|
84
|
+
light: { 15: "#2d241b", 20: "#382e24", 30: "#4f453b", 35: "#5a5146", 40: "#675d52", 80: "#d1c5b8", 85: "#dfd5c9", 90: "#f1e6db", 95: "#fff6ed", 100: "#ffffff" },
|
|
85
85
|
dark: { 0: "#000000", 5: "#0e0f1a", 10: "#16182b", 20: "#1f2238", 25: "#2c3048", 35: "#4a4f6b", 45: "#636889", 70: "#a6acd6", 85: "#d0d4eb", 90: "#dfe2f3", 95: "#edeffc" }
|
|
86
86
|
},
|
|
87
87
|
orange: {
|
|
@@ -253,7 +253,7 @@ var y2kTheme = defineTheme({
|
|
|
253
253
|
"--color-background-muted": [neutral.light[90], neutral.dark[20]],
|
|
254
254
|
// Text
|
|
255
255
|
"--color-text-primary": [neutral.light[15], neutral.dark[95]],
|
|
256
|
-
"--color-text-secondary": [neutral.light[
|
|
256
|
+
"--color-text-secondary": [neutral.light[35], neutral.dark[70]],
|
|
257
257
|
"--color-text-disabled": [neutral.light[80], neutral.dark[35]],
|
|
258
258
|
"--color-text-accent": [neutral.light[15], neutral.dark[95]],
|
|
259
259
|
"--color-on-dark": neutral.light[100],
|
package/dist/theme.css
CHANGED
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
--color-overlay-pressed: light-dark(#2d241b1A, #edeffc1A);
|
|
224
224
|
--color-background-muted: light-dark(#f1e6db, #1f2238);
|
|
225
225
|
--color-text-primary: light-dark(#2d241b, #edeffc);
|
|
226
|
-
--color-text-secondary: light-dark(#
|
|
226
|
+
--color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
227
227
|
--color-text-disabled: light-dark(#d1c5b8, #4a4f6b);
|
|
228
228
|
--color-text-accent: light-dark(#2d241b, #edeffc);
|
|
229
229
|
--color-on-dark: #ffffff;
|
package/dist/y2k.js
CHANGED
|
@@ -143,7 +143,7 @@ export const y2kTheme = {
|
|
|
143
143
|
"--color-overlay-pressed": "light-dark(#2d241b1A, #edeffc1A)",
|
|
144
144
|
"--color-background-muted": "light-dark(#f1e6db, #1f2238)",
|
|
145
145
|
"--color-text-primary": "light-dark(#2d241b, #edeffc)",
|
|
146
|
-
"--color-text-secondary": "light-dark(#
|
|
146
|
+
"--color-text-secondary": "light-dark(#5a5146, #a6acd6)",
|
|
147
147
|
"--color-text-disabled": "light-dark(#d1c5b8, #4a4f6b)",
|
|
148
148
|
"--color-text-accent": "light-dark(#2d241b, #edeffc)",
|
|
149
149
|
"--color-on-dark": "#ffffff",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"y2kPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/y2kPaletteRefs.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"y2kPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/y2kPaletteRefs.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CjB,CAAC;AAEX,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
/** Y2K's original mode-independent palette API. */
|
|
2
|
+
export declare const y2kPalettes: {
|
|
3
|
+
readonly neutral: {
|
|
4
|
+
readonly hue: 75;
|
|
5
|
+
readonly chroma: 8;
|
|
6
|
+
readonly 0: "#000000";
|
|
7
|
+
readonly 5: "#190f00";
|
|
8
|
+
readonly 10: "#221a10";
|
|
9
|
+
readonly 15: "#2d241b";
|
|
10
|
+
readonly 20: "#382f25";
|
|
11
|
+
readonly 25: "#433a30";
|
|
12
|
+
readonly 30: "#4f453b";
|
|
13
|
+
readonly 35: "#5b5146";
|
|
14
|
+
readonly 40: "#675d52";
|
|
15
|
+
readonly 45: "#73695e";
|
|
16
|
+
readonly 50: "#80756a";
|
|
17
|
+
readonly 55: "#8d8276";
|
|
18
|
+
readonly 60: "#9a8f83";
|
|
19
|
+
readonly 65: "#a79c90";
|
|
20
|
+
readonly 70: "#b5a99d";
|
|
21
|
+
readonly 75: "#c3b7ab";
|
|
22
|
+
readonly 80: "#d1c5b8";
|
|
23
|
+
readonly 85: "#dfd2c6";
|
|
24
|
+
readonly 90: "#ede0d4";
|
|
25
|
+
readonly 95: "#fbefe2";
|
|
26
|
+
readonly 100: "#ffffff";
|
|
27
|
+
};
|
|
28
|
+
readonly green: {
|
|
29
|
+
readonly hue: 120;
|
|
30
|
+
readonly chroma: 60;
|
|
31
|
+
readonly 0: "#000000";
|
|
32
|
+
readonly 5: "#061800";
|
|
33
|
+
readonly 10: "#132200";
|
|
34
|
+
readonly 15: "#152d00";
|
|
35
|
+
readonly 20: "#173900";
|
|
36
|
+
readonly 25: "#1e4500";
|
|
37
|
+
readonly 30: "#285100";
|
|
38
|
+
readonly 35: "#355d00";
|
|
39
|
+
readonly 40: "#426900";
|
|
40
|
+
readonly 45: "#4f7600";
|
|
41
|
+
readonly 50: "#5c830b";
|
|
42
|
+
readonly 55: "#69901d";
|
|
43
|
+
readonly 60: "#779d2c";
|
|
44
|
+
readonly 65: "#84aa39";
|
|
45
|
+
readonly 70: "#92b847";
|
|
46
|
+
readonly 75: "#a0c654";
|
|
47
|
+
readonly 80: "#aed461";
|
|
48
|
+
readonly 85: "#bce26e";
|
|
49
|
+
readonly 90: "#caf07b";
|
|
50
|
+
readonly 95: "#d9fe89";
|
|
51
|
+
readonly 100: "#ffffff";
|
|
52
|
+
};
|
|
53
|
+
readonly red: {
|
|
54
|
+
readonly hue: 25;
|
|
55
|
+
readonly chroma: 55;
|
|
56
|
+
readonly 0: "#000000";
|
|
57
|
+
readonly 5: "#480000";
|
|
58
|
+
readonly 10: "#540000";
|
|
59
|
+
readonly 15: "#620002";
|
|
60
|
+
readonly 20: "#700012";
|
|
61
|
+
readonly 25: "#7f001b";
|
|
62
|
+
readonly 30: "#8e1126";
|
|
63
|
+
readonly 35: "#9c2330";
|
|
64
|
+
readonly 40: "#ab313b";
|
|
65
|
+
readonly 45: "#ba3f47";
|
|
66
|
+
readonly 50: "#c94d52";
|
|
67
|
+
readonly 55: "#d95b5e";
|
|
68
|
+
readonly 60: "#e8686b";
|
|
69
|
+
readonly 65: "#f87677";
|
|
70
|
+
readonly 70: "#ff8787";
|
|
71
|
+
readonly 75: "#ff9d9b";
|
|
72
|
+
readonly 80: "#ffb2af";
|
|
73
|
+
readonly 85: "#ffc6c3";
|
|
74
|
+
readonly 90: "#ffd9d7";
|
|
75
|
+
readonly 95: "#ffeceb";
|
|
76
|
+
readonly 100: "#ffffff";
|
|
77
|
+
};
|
|
78
|
+
readonly yellow: {
|
|
79
|
+
readonly hue: 85;
|
|
80
|
+
readonly chroma: 65;
|
|
81
|
+
readonly 0: "#000000";
|
|
82
|
+
readonly 5: "#270c00";
|
|
83
|
+
readonly 10: "#301800";
|
|
84
|
+
readonly 15: "#3b2200";
|
|
85
|
+
readonly 20: "#472c00";
|
|
86
|
+
readonly 25: "#533700";
|
|
87
|
+
readonly 30: "#604200";
|
|
88
|
+
readonly 35: "#6d4d00";
|
|
89
|
+
readonly 40: "#7b5900";
|
|
90
|
+
readonly 45: "#896500";
|
|
91
|
+
readonly 50: "#977100";
|
|
92
|
+
readonly 55: "#a67e00";
|
|
93
|
+
readonly 60: "#b58b01";
|
|
94
|
+
readonly 65: "#c39819";
|
|
95
|
+
readonly 70: "#d2a52a";
|
|
96
|
+
readonly 75: "#e2b239";
|
|
97
|
+
readonly 80: "#f1c047";
|
|
98
|
+
readonly 85: "#ffcd55";
|
|
99
|
+
readonly 90: "#ffde9b";
|
|
100
|
+
readonly 95: "#ffeecf";
|
|
101
|
+
readonly 100: "#ffffff";
|
|
102
|
+
};
|
|
103
|
+
readonly blue: {
|
|
104
|
+
readonly hue: 250;
|
|
105
|
+
readonly chroma: 40;
|
|
106
|
+
readonly 0: "#000000";
|
|
107
|
+
readonly 5: "#001939";
|
|
108
|
+
readonly 10: "#002244";
|
|
109
|
+
readonly 15: "#002c4d";
|
|
110
|
+
readonly 20: "#003759";
|
|
111
|
+
readonly 25: "#004266";
|
|
112
|
+
readonly 30: "#004e74";
|
|
113
|
+
readonly 35: "#005a83";
|
|
114
|
+
readonly 40: "#006693";
|
|
115
|
+
readonly 45: "#0073a3";
|
|
116
|
+
readonly 50: "#0080b4";
|
|
117
|
+
readonly 55: "#008ec4";
|
|
118
|
+
readonly 60: "#0e9bd2";
|
|
119
|
+
readonly 65: "#2fa8e0";
|
|
120
|
+
readonly 70: "#45b6ef";
|
|
121
|
+
readonly 75: "#57c3fd";
|
|
122
|
+
readonly 80: "#7ed0ff";
|
|
123
|
+
readonly 85: "#a3dbff";
|
|
124
|
+
readonly 90: "#c4e7ff";
|
|
125
|
+
readonly 95: "#e1f3ff";
|
|
126
|
+
readonly 100: "#ffffff";
|
|
127
|
+
};
|
|
128
|
+
readonly pink: {
|
|
129
|
+
readonly hue: 350;
|
|
130
|
+
readonly chroma: 45;
|
|
131
|
+
readonly 0: "#000000";
|
|
132
|
+
readonly 5: "#3d001d";
|
|
133
|
+
readonly 10: "#490027";
|
|
134
|
+
readonly 15: "#560032";
|
|
135
|
+
readonly 20: "#64003d";
|
|
136
|
+
readonly 25: "#711248";
|
|
137
|
+
readonly 30: "#7f2154";
|
|
138
|
+
readonly 35: "#8c2f60";
|
|
139
|
+
readonly 40: "#9a3c6c";
|
|
140
|
+
readonly 45: "#a84979";
|
|
141
|
+
readonly 50: "#b75685";
|
|
142
|
+
readonly 55: "#c56392";
|
|
143
|
+
readonly 60: "#d371a0";
|
|
144
|
+
readonly 65: "#e27ead";
|
|
145
|
+
readonly 70: "#f18bbb";
|
|
146
|
+
readonly 75: "#ff99c8";
|
|
147
|
+
readonly 80: "#ffaed3";
|
|
148
|
+
readonly 85: "#ffc3de";
|
|
149
|
+
readonly 90: "#ffd7e9";
|
|
150
|
+
readonly 95: "#ffebf4";
|
|
151
|
+
readonly 100: "#ffffff";
|
|
152
|
+
};
|
|
153
|
+
readonly purple: {
|
|
154
|
+
readonly hue: 300;
|
|
155
|
+
readonly chroma: 40;
|
|
156
|
+
readonly 0: "#000000";
|
|
157
|
+
readonly 5: "#020840";
|
|
158
|
+
readonly 10: "#11144b";
|
|
159
|
+
readonly 15: "#1f1e57";
|
|
160
|
+
readonly 20: "#2c2864";
|
|
161
|
+
readonly 25: "#393370";
|
|
162
|
+
readonly 30: "#453e7d";
|
|
163
|
+
readonly 35: "#524a8a";
|
|
164
|
+
readonly 40: "#5f5697";
|
|
165
|
+
readonly 45: "#6c62a4";
|
|
166
|
+
readonly 50: "#796eb2";
|
|
167
|
+
readonly 55: "#867bc0";
|
|
168
|
+
readonly 60: "#9387ce";
|
|
169
|
+
readonly 65: "#a194dc";
|
|
170
|
+
readonly 70: "#afa2ea";
|
|
171
|
+
readonly 75: "#bdaff8";
|
|
172
|
+
readonly 80: "#cbbeff";
|
|
173
|
+
readonly 85: "#d9ceff";
|
|
174
|
+
readonly 90: "#e6deff";
|
|
175
|
+
readonly 95: "#f3eeff";
|
|
176
|
+
readonly 100: "#ffffff";
|
|
177
|
+
};
|
|
178
|
+
readonly cyan: {
|
|
179
|
+
readonly hue: 185;
|
|
180
|
+
readonly chroma: 35;
|
|
181
|
+
readonly 0: "#000000";
|
|
182
|
+
readonly 5: "#001e14";
|
|
183
|
+
readonly 10: "#00261f";
|
|
184
|
+
readonly 15: "#003029";
|
|
185
|
+
readonly 20: "#003b34";
|
|
186
|
+
readonly 25: "#00473f";
|
|
187
|
+
readonly 30: "#00534a";
|
|
188
|
+
readonly 35: "#005f56";
|
|
189
|
+
readonly 40: "#006c62";
|
|
190
|
+
readonly 45: "#00796f";
|
|
191
|
+
readonly 50: "#00867b";
|
|
192
|
+
readonly 55: "#0f9488";
|
|
193
|
+
readonly 60: "#29a195";
|
|
194
|
+
readonly 65: "#3bafa2";
|
|
195
|
+
readonly 70: "#4cbcb0";
|
|
196
|
+
readonly 75: "#5bcabd";
|
|
197
|
+
readonly 80: "#6ad8cb";
|
|
198
|
+
readonly 85: "#79e7d9";
|
|
199
|
+
readonly 90: "#87f5e7";
|
|
200
|
+
readonly 95: "#a6fff5";
|
|
201
|
+
readonly 100: "#ffffff";
|
|
202
|
+
};
|
|
203
|
+
readonly orange: {
|
|
204
|
+
readonly hue: 60;
|
|
205
|
+
readonly chroma: 60;
|
|
206
|
+
readonly 0: "#000000";
|
|
207
|
+
readonly 5: "#340000";
|
|
208
|
+
readonly 10: "#420500";
|
|
209
|
+
readonly 15: "#520b00";
|
|
210
|
+
readonly 20: "#601700";
|
|
211
|
+
readonly 25: "#6d2400";
|
|
212
|
+
readonly 30: "#7b3000";
|
|
213
|
+
readonly 35: "#893c00";
|
|
214
|
+
readonly 40: "#984800";
|
|
215
|
+
readonly 45: "#a75409";
|
|
216
|
+
readonly 50: "#b66019";
|
|
217
|
+
readonly 55: "#c56d26";
|
|
218
|
+
readonly 60: "#d47a33";
|
|
219
|
+
readonly 65: "#e48740";
|
|
220
|
+
readonly 70: "#f3944c";
|
|
221
|
+
readonly 75: "#ffa25c";
|
|
222
|
+
readonly 80: "#ffb682";
|
|
223
|
+
readonly 85: "#ffc9a3";
|
|
224
|
+
readonly 90: "#ffdbc3";
|
|
225
|
+
readonly 95: "#ffede1";
|
|
226
|
+
readonly 100: "#ffffff";
|
|
227
|
+
};
|
|
228
|
+
readonly teal: {
|
|
229
|
+
readonly hue: 165;
|
|
230
|
+
readonly chroma: 30;
|
|
231
|
+
readonly 0: "#000000";
|
|
232
|
+
readonly 5: "#001d00";
|
|
233
|
+
readonly 10: "#00240f";
|
|
234
|
+
readonly 15: "#002f1a";
|
|
235
|
+
readonly 20: "#003a24";
|
|
236
|
+
readonly 25: "#00462f";
|
|
237
|
+
readonly 30: "#00513a";
|
|
238
|
+
readonly 35: "#115e45";
|
|
239
|
+
readonly 40: "#226a51";
|
|
240
|
+
readonly 45: "#30775d";
|
|
241
|
+
readonly 50: "#3d8469";
|
|
242
|
+
readonly 55: "#4a9175";
|
|
243
|
+
readonly 60: "#589e82";
|
|
244
|
+
readonly 65: "#65ab8f";
|
|
245
|
+
readonly 70: "#72b99c";
|
|
246
|
+
readonly 75: "#7fc7a9";
|
|
247
|
+
readonly 80: "#8dd5b7";
|
|
248
|
+
readonly 85: "#9be3c5";
|
|
249
|
+
readonly 90: "#a9f2d3";
|
|
250
|
+
readonly 95: "#b6ffe1";
|
|
251
|
+
readonly 100: "#ffffff";
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
export default y2kPalettes;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const y2kTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-y2k",
|
|
3
|
-
"version": "0.7.12
|
|
3
|
+
"version": "0.7.12",
|
|
4
4
|
"displayName": "Y2K Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Hot pinks, lime greens, and Poppins. Bubbly, playful, and unmistakably retro.",
|
|
@@ -25,13 +25,19 @@
|
|
|
25
25
|
"sideEffects": [
|
|
26
26
|
"**/*.css"
|
|
27
27
|
],
|
|
28
|
-
"
|
|
28
|
+
"type": "module",
|
|
29
|
+
"main": "./dist/source.cjs",
|
|
29
30
|
"types": "./dist/source.d.ts",
|
|
30
31
|
"exports": {
|
|
31
32
|
".": {
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/source.d.ts",
|
|
35
|
+
"default": "./dist/source.mjs"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/source.d.cts",
|
|
39
|
+
"default": "./dist/source.cjs"
|
|
40
|
+
}
|
|
35
41
|
},
|
|
36
42
|
"./built": {
|
|
37
43
|
"types": "./dist/y2k.d.ts",
|
|
@@ -53,6 +59,7 @@
|
|
|
53
59
|
"palette.config.json",
|
|
54
60
|
"fonts.css",
|
|
55
61
|
"fonts.css.d.ts",
|
|
62
|
+
"theme.css.d.ts",
|
|
56
63
|
"!**/*.test.*",
|
|
57
64
|
"!**/*.spec.js",
|
|
58
65
|
"!**/*.spec.jsx",
|
|
@@ -71,15 +78,15 @@
|
|
|
71
78
|
"lucide-react": "^1.18.0"
|
|
72
79
|
},
|
|
73
80
|
"peerDependencies": {
|
|
74
|
-
"@astryxdesign/core": "0.7.12
|
|
81
|
+
"@astryxdesign/core": "0.7.12",
|
|
75
82
|
"react": ">=19"
|
|
76
83
|
},
|
|
77
84
|
"devDependencies": {
|
|
78
|
-
"@astryxdesign/cli": "0.7.12
|
|
85
|
+
"@astryxdesign/cli": "0.7.12"
|
|
79
86
|
},
|
|
80
87
|
"module": "./dist/source.mjs",
|
|
81
88
|
"scripts": {
|
|
82
89
|
"api:report": "node ../../../scripts/api-report/cli.mjs --package .",
|
|
83
|
-
"build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-y2k-palette-refs.mjs --check && astryx theme build src/y2kTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"
|
|
90
|
+
"build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-y2k-palette-refs.mjs --check && astryx theme build src/y2kTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/add-declaration-extensions.mjs && node ../../../scripts/emit-commonjs-declarations.mjs dist/source.d.ts && node ../../../scripts/check-fully-specified.mjs"
|
|
84
91
|
}
|
|
85
92
|
}
|
|
@@ -15,7 +15,7 @@ export const y2kPaletteRefs = {
|
|
|
15
15
|
dark: {20: '#2a3600', 65: '#95b041', 75: '#b5d263', 80: '#c5e17a'},
|
|
16
16
|
},
|
|
17
17
|
neutral: {
|
|
18
|
-
light: {15: '#2d241b', 20: '#382e24', 30: '#4f453b', 40: '#675d52', 80: '#d1c5b8', 85: '#dfd5c9', 90: '#f1e6db', 95: '#fff6ed', 100: '#ffffff'},
|
|
18
|
+
light: {15: '#2d241b', 20: '#382e24', 30: '#4f453b', 35: '#5a5146', 40: '#675d52', 80: '#d1c5b8', 85: '#dfd5c9', 90: '#f1e6db', 95: '#fff6ed', 100: '#ffffff'},
|
|
19
19
|
dark: {0: '#000000', 5: '#0e0f1a', 10: '#16182b', 20: '#1f2238', 25: '#2c3048', 35: '#4a4f6b', 45: '#636889', 70: '#a6acd6', 85: '#d0d4eb', 90: '#dfe2f3', 95: '#edeffc'},
|
|
20
20
|
},
|
|
21
21
|
orange: {
|
package/src/y2kTheme.ts
CHANGED
|
@@ -182,7 +182,7 @@ export const y2kTheme = defineTheme({
|
|
|
182
182
|
|
|
183
183
|
// Text
|
|
184
184
|
'--color-text-primary': [neutral.light[15], neutral.dark[95]],
|
|
185
|
-
'--color-text-secondary': [neutral.light[
|
|
185
|
+
'--color-text-secondary': [neutral.light[35], neutral.dark[70]],
|
|
186
186
|
'--color-text-disabled': [neutral.light[80], neutral.dark[35]],
|
|
187
187
|
'--color-text-accent': [neutral.light[15], neutral.dark[95]],
|
|
188
188
|
'--color-on-dark': neutral.light[100],
|
package/theme.css.d.ts
ADDED