@astryxdesign/theme-matcha 0.7.17-canary.gffd1fc0 → 0.7.17
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 +6 -10
- package/dist/matcha.js +50 -15
- package/dist/matchaPaletteRefs.generated.d.ts +7 -4
- package/dist/matchaPaletteRefs.generated.d.ts.map +1 -1
- package/dist/matchaTheme.d.cts +2 -0
- package/dist/matchaTheme.d.ts +2 -0
- package/dist/matchaTheme.d.ts.map +1 -1
- package/dist/source.cjs +66 -22
- package/dist/source.d.cts +1 -1
- package/dist/source.d.ts +1 -1
- package/dist/source.d.ts.map +1 -1
- package/dist/source.mjs +65 -22
- package/dist/theme.css +84 -15
- package/fonts/dm-sans-latin-400-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-500-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-600-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-700-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-ext-400-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-ext-500-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-ext-600-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-ext-700-normal.woff2 +0 -0
- package/fonts/dm-sans.LICENSE.txt +93 -0
- package/fonts/jetbrains-mono-cyrillic-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono.LICENSE.txt +93 -0
- package/fonts/playwrite-us-trad-latin-400-normal.woff2 +0 -0
- package/fonts/playwrite-us-trad.LICENSE.txt +93 -0
- package/fonts.css +382 -1
- package/package.json +4 -3
- package/src/matchaPaletteRefs.generated.ts +8 -8
- package/src/matchaTheme.ts +58 -14
- package/src/source.ts +1 -1
- package/LICENSE +0 -21
package/dist/source.mjs
CHANGED
|
@@ -73,15 +73,15 @@ var matchaIconRegistry = {
|
|
|
73
73
|
// src/matchaPaletteRefs.generated.ts
|
|
74
74
|
var matchaPaletteRefs = {
|
|
75
75
|
neutral: {
|
|
76
|
-
light: { 0: "#000000", 20: "#3e481d", 30: "#5a6b2a", 40: "#707e46", 70: "#b7c29e", 75: "#c0cba9", 85: "#dce3ce", 95: "#f0f0e0", 100: "#ffffff" },
|
|
77
|
-
dark: { 0: "#000000", 5: "#12140e", 10: "#1a1c14", 15: "#1e2016", 20: "#3e481d", 30: "#5a6440", 40: "#707e46", 60: "#94a468", 65: "#92af6a", 70: "#a8bf6a", 75: "#c0cba9", 100: "#ffffff" }
|
|
76
|
+
light: { 0: "#000000", 20: "#3e481d", 25: "#4c5924", 30: "#5a6b2a", 40: "#707e46", 70: "#b7c29e", 75: "#c0cba9", 85: "#dce3ce", 95: "#f0f0e0", 100: "#ffffff" },
|
|
77
|
+
dark: { 0: "#000000", 5: "#12140e", 10: "#1a1c14", 15: "#1e2016", 20: "#3e481d", 30: "#5a6440", 40: "#707e46", 45: "#7a894f", 60: "#94a468", 65: "#92af6a", 70: "#a8bf6a", 75: "#c0cba9", 80: "#cdd8b9", 100: "#ffffff" }
|
|
78
78
|
},
|
|
79
79
|
teal: {
|
|
80
|
-
light: { 35: "#245546", 50: "#2e6b5a"
|
|
80
|
+
light: { 35: "#245546", 50: "#2e6b5a" },
|
|
81
81
|
dark: { 70: "#5ab898", 75: "#6ccaaa" }
|
|
82
82
|
},
|
|
83
83
|
yellow: {
|
|
84
|
-
light: {
|
|
84
|
+
light: { 40: "#755b00", 45: "#836700", 80: "#f2c000" },
|
|
85
85
|
dark: { 70: "#d1a500", 75: "#e0b318", 85: "#f6d066", 90: "#ffe08b" }
|
|
86
86
|
},
|
|
87
87
|
blue: {
|
|
@@ -93,19 +93,19 @@ var matchaPaletteRefs = {
|
|
|
93
93
|
dark: { 70: "#b08ed4", 75: "#c0a0e0" }
|
|
94
94
|
},
|
|
95
95
|
pink: {
|
|
96
|
-
light: { 30: "#8c3a3a",
|
|
96
|
+
light: { 30: "#8c3a3a", 50: "#c44a70" },
|
|
97
97
|
dark: { 65: "#d47a7a", 70: "#e07a9a", 75: "#f08aaa" }
|
|
98
98
|
},
|
|
99
99
|
orange: {
|
|
100
|
-
light: {
|
|
100
|
+
light: { 25: "#6a5031", 30: "#7c5e3a", 50: "#c47620" },
|
|
101
101
|
dark: { 70: "#d4903a", 75: "#e0a04a" }
|
|
102
102
|
},
|
|
103
103
|
green: {
|
|
104
|
-
light: { 35: "#3d7a00", 50: "#4d9900" },
|
|
104
|
+
light: { 30: "#346a00", 35: "#3d7a00", 50: "#4d9900" },
|
|
105
105
|
dark: { 70: "#6dbf2a", 75: "#80d43a" }
|
|
106
106
|
},
|
|
107
107
|
red: {
|
|
108
|
-
light: { 35: "#cc0000", 50: "#fd0000" },
|
|
108
|
+
light: { 30: "#b10000", 35: "#cc0000", 50: "#fd0000" },
|
|
109
109
|
dark: { 70: "#ff5c5c", 75: "#ff7a7a" }
|
|
110
110
|
},
|
|
111
111
|
cyan: {
|
|
@@ -122,22 +122,23 @@ var matchaSyntax = defineSyntaxTheme({
|
|
|
122
122
|
tokens: {
|
|
123
123
|
keyword: [neutral.light[30], neutral.dark[70]],
|
|
124
124
|
string: [teal.light[50], teal.dark[75]],
|
|
125
|
-
comment: [neutral.light[
|
|
125
|
+
comment: [neutral.light[30], neutral.dark[45]],
|
|
126
126
|
number: [yellow.light[45], yellow.dark[75]],
|
|
127
127
|
function: [blue.light[50], blue.dark[70]],
|
|
128
128
|
type: [purple.light[50], purple.dark[70]],
|
|
129
129
|
variable: [neutral.light[20], neutral.dark[75]],
|
|
130
|
-
operator: [neutral.light[
|
|
130
|
+
operator: [neutral.light[30], neutral.dark[60]],
|
|
131
131
|
constant: [yellow.light[45], yellow.dark[75]],
|
|
132
132
|
tag: [pink.light[30], pink.dark[65]],
|
|
133
133
|
attribute: [orange.light[30], yellow.dark[70]],
|
|
134
|
-
property: [teal.light[
|
|
134
|
+
property: [teal.light[50], teal.dark[75]],
|
|
135
135
|
// Punctuation uses dedicated neutral stops that maintain WCAG AA against
|
|
136
136
|
// the syntax background in both modes (issue 5386).
|
|
137
137
|
punctuation: [neutral.light[30], neutral.dark[65]],
|
|
138
138
|
background: [neutral.light[95], neutral.dark[10]]
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
|
+
var colorModes = ["light", "dark"];
|
|
141
142
|
var matchaTheme = defineTheme({
|
|
142
143
|
name: "matcha",
|
|
143
144
|
typography: {
|
|
@@ -186,10 +187,13 @@ var matchaTheme = defineTheme({
|
|
|
186
187
|
withAlpha(neutral.light[20], "1a"),
|
|
187
188
|
withAlpha(neutral.dark[75], "1a")
|
|
188
189
|
],
|
|
189
|
-
|
|
190
|
+
// Matcha's dark ramp is a deep gray neutral up to stop 15 and olive from
|
|
191
|
+
// stop 20, so dark surfaces stay at or under 15: the muted fill sits with
|
|
192
|
+
// the page, as it does in light mode.
|
|
193
|
+
"--color-background-muted": [neutral.light[95], neutral.dark[5]],
|
|
190
194
|
// Text
|
|
191
195
|
"--color-text-primary": [neutral.light[20], neutral.dark[75]],
|
|
192
|
-
"--color-text-secondary": [neutral.light[30], neutral.dark[
|
|
196
|
+
"--color-text-secondary": [neutral.light[30], neutral.dark[70]],
|
|
193
197
|
"--color-text-disabled": [neutral.light[75], neutral.dark[30]],
|
|
194
198
|
"--color-text-accent": [neutral.light[20], neutral.dark[75]],
|
|
195
199
|
"--color-on-dark": neutral.light[100],
|
|
@@ -206,9 +210,9 @@ var matchaTheme = defineTheme({
|
|
|
206
210
|
"--color-text-warning": [yellow.light[45], yellow.dark[90]],
|
|
207
211
|
"--color-text-error": [red.light[35], red.dark[75]],
|
|
208
212
|
"--color-on-info-muted": [blue.light[35], blue.dark[75]],
|
|
209
|
-
"--color-on-success-muted": [green.light[
|
|
210
|
-
"--color-on-warning-muted": [yellow.light[
|
|
211
|
-
"--color-on-error-muted": [red.light[
|
|
213
|
+
"--color-on-success-muted": [green.light[30], green.dark[75]],
|
|
214
|
+
"--color-on-warning-muted": [yellow.light[40], yellow.dark[90]],
|
|
215
|
+
"--color-on-error-muted": [red.light[30], red.dark[75]],
|
|
212
216
|
// Icon
|
|
213
217
|
"--color-icon-accent": [neutral.light[20], neutral.dark[75]],
|
|
214
218
|
"--color-icon-primary": [neutral.light[20], neutral.dark[75]],
|
|
@@ -216,7 +220,7 @@ var matchaTheme = defineTheme({
|
|
|
216
220
|
"--color-icon-disabled": [neutral.light[75], neutral.dark[30]],
|
|
217
221
|
// Surface variants
|
|
218
222
|
"--color-background-card": [neutral.light[100], neutral.dark[15]],
|
|
219
|
-
"--color-background-popover": [neutral.light[100], neutral.dark[
|
|
223
|
+
"--color-background-popover": [neutral.light[100], neutral.dark[15]],
|
|
220
224
|
"--color-background-inverted": [neutral.light[20], neutral.dark[75]],
|
|
221
225
|
// Status / Sentiment
|
|
222
226
|
"--color-success": [green.light[50], green.dark[70]],
|
|
@@ -276,7 +280,7 @@ var matchaTheme = defineTheme({
|
|
|
276
280
|
],
|
|
277
281
|
"--color-border-green": [green.light[50], green.dark[70]],
|
|
278
282
|
"--color-icon-green": [green.light[50], green.dark[70]],
|
|
279
|
-
"--color-text-green": [green.light[
|
|
283
|
+
"--color-text-green": [green.light[30], green.dark[75]],
|
|
280
284
|
// Categorical — Orange
|
|
281
285
|
"--color-background-orange": [
|
|
282
286
|
withAlpha(orange.light[50], "33"),
|
|
@@ -284,7 +288,7 @@ var matchaTheme = defineTheme({
|
|
|
284
288
|
],
|
|
285
289
|
"--color-border-orange": [orange.light[50], orange.dark[70]],
|
|
286
290
|
"--color-icon-orange": [orange.light[50], orange.dark[70]],
|
|
287
|
-
"--color-text-orange": [orange.light[
|
|
291
|
+
"--color-text-orange": [orange.light[25], orange.dark[75]],
|
|
288
292
|
// Categorical — Pink
|
|
289
293
|
"--color-background-pink": [
|
|
290
294
|
withAlpha(pink.light[50], "33"),
|
|
@@ -292,7 +296,7 @@ var matchaTheme = defineTheme({
|
|
|
292
296
|
],
|
|
293
297
|
"--color-border-pink": [pink.light[50], pink.dark[70]],
|
|
294
298
|
"--color-icon-pink": [pink.light[50], pink.dark[70]],
|
|
295
|
-
"--color-text-pink": [pink.light[
|
|
299
|
+
"--color-text-pink": [pink.light[30], pink.dark[75]],
|
|
296
300
|
// Categorical — Purple
|
|
297
301
|
"--color-background-purple": [
|
|
298
302
|
withAlpha(purple.light[50], "33"),
|
|
@@ -308,7 +312,7 @@ var matchaTheme = defineTheme({
|
|
|
308
312
|
],
|
|
309
313
|
"--color-border-red": [red.light[50], red.dark[70]],
|
|
310
314
|
"--color-icon-red": [red.light[50], red.dark[70]],
|
|
311
|
-
"--color-text-red": [red.light[
|
|
315
|
+
"--color-text-red": [red.light[30], red.dark[75]],
|
|
312
316
|
// Categorical — Teal
|
|
313
317
|
"--color-background-teal": [
|
|
314
318
|
withAlpha(teal.light[50], "33"),
|
|
@@ -324,7 +328,7 @@ var matchaTheme = defineTheme({
|
|
|
324
328
|
],
|
|
325
329
|
"--color-border-yellow": [yellow.light[80], yellow.dark[85]],
|
|
326
330
|
"--color-icon-yellow": [yellow.light[80], yellow.dark[85]],
|
|
327
|
-
"--color-text-yellow": [yellow.light[
|
|
331
|
+
"--color-text-yellow": [yellow.light[40], yellow.dark[90]],
|
|
328
332
|
// =========================================================================
|
|
329
333
|
// Spacing
|
|
330
334
|
// =========================================================================
|
|
@@ -349,6 +353,8 @@ var matchaTheme = defineTheme({
|
|
|
349
353
|
"--radius-element": "12px",
|
|
350
354
|
"--radius-container": "18px",
|
|
351
355
|
"--radius-page": "42px",
|
|
356
|
+
// Chat surfaces stay rounder than cards.
|
|
357
|
+
"--radius-chat": "28px",
|
|
352
358
|
// No explicit --font-size-* overrides — font sizes come from
|
|
353
359
|
// typography.scale above, keeping the scale the single source of truth.
|
|
354
360
|
// =========================================================================
|
|
@@ -375,10 +381,46 @@ var matchaTheme = defineTheme({
|
|
|
375
381
|
borderRadius: "var(--radius-full)"
|
|
376
382
|
}
|
|
377
383
|
},
|
|
384
|
+
// Secondary text on a coloured or muted card steps to the nearest neutral
|
|
385
|
+
// stop that reads at 4.5:1 on that fill.
|
|
378
386
|
card: {
|
|
379
387
|
base: {
|
|
380
388
|
borderRadius: "var(--radius-page)",
|
|
381
389
|
padding: "var(--spacing-3)"
|
|
390
|
+
},
|
|
391
|
+
"variant:blue": {
|
|
392
|
+
"--color-text-secondary": `light-dark(${neutral.light[20]}, ${neutral.dark[70]})`
|
|
393
|
+
},
|
|
394
|
+
"variant:cyan": {
|
|
395
|
+
"--color-text-secondary": `light-dark(${neutral.light[25]}, ${neutral.dark[70]})`
|
|
396
|
+
},
|
|
397
|
+
"variant:gray": {
|
|
398
|
+
"--color-text-secondary": `light-dark(${neutral.light[25]}, ${neutral.dark[70]})`
|
|
399
|
+
},
|
|
400
|
+
"variant:green": {
|
|
401
|
+
"--color-text-secondary": `light-dark(${neutral.light[25]}, ${neutral.dark[75]})`
|
|
402
|
+
},
|
|
403
|
+
"variant:orange": {
|
|
404
|
+
"--color-text-secondary": `light-dark(${neutral.light[25]}, ${neutral.dark[70]})`
|
|
405
|
+
},
|
|
406
|
+
"variant:pink": {
|
|
407
|
+
"--color-text-secondary": `light-dark(${neutral.light[25]}, ${neutral.dark[70]})`
|
|
408
|
+
},
|
|
409
|
+
"variant:purple": {
|
|
410
|
+
"--color-text-secondary": `light-dark(${neutral.light[20]}, ${neutral.dark[70]})`
|
|
411
|
+
},
|
|
412
|
+
"variant:red": {
|
|
413
|
+
"--color-text-secondary": `light-dark(${neutral.light[20]}, ${neutral.dark[70]})`
|
|
414
|
+
},
|
|
415
|
+
"variant:teal": {
|
|
416
|
+
"--color-text-secondary": `light-dark(${neutral.light[20]}, ${neutral.dark[75]})`
|
|
417
|
+
},
|
|
418
|
+
"variant:yellow": {
|
|
419
|
+
"--color-text-secondary": `light-dark(${neutral.light[25]}, ${neutral.dark[75]})`
|
|
420
|
+
},
|
|
421
|
+
"variant:muted": {
|
|
422
|
+
"--color-text-primary": `light-dark(${neutral.light[20]}, ${neutral.dark[80]})`,
|
|
423
|
+
"--color-text-secondary": `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`
|
|
382
424
|
}
|
|
383
425
|
},
|
|
384
426
|
section: {
|
|
@@ -390,6 +432,7 @@ var matchaTheme = defineTheme({
|
|
|
390
432
|
icons: matchaIconRegistry
|
|
391
433
|
});
|
|
392
434
|
export {
|
|
435
|
+
colorModes,
|
|
393
436
|
matchaIconRegistry,
|
|
394
437
|
matchaTheme
|
|
395
438
|
};
|
package/dist/theme.css
CHANGED
|
@@ -80,7 +80,6 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
@layer astryx-theme {
|
|
83
|
-
:root { color-scheme: light dark; }
|
|
84
83
|
html[data-theme="light"] { color-scheme: light; }
|
|
85
84
|
html[data-theme="dark"] { color-scheme: dark; }
|
|
86
85
|
|
|
@@ -176,16 +175,16 @@
|
|
|
176
175
|
--font-family-code: "JetBrains Mono", "SF Mono", Monaco, Consolas, monospace;
|
|
177
176
|
--color-syntax-keyword: light-dark(#5a6b2a, #a8bf6a);
|
|
178
177
|
--color-syntax-string: light-dark(#2e6b5a, #6ccaaa);
|
|
179
|
-
--color-syntax-comment: light-dark(#
|
|
178
|
+
--color-syntax-comment: light-dark(#5a6b2a, #7a894f);
|
|
180
179
|
--color-syntax-number: light-dark(#836700, #e0b318);
|
|
181
180
|
--color-syntax-function: light-dark(#3a5e8c, #7ba8d4);
|
|
182
181
|
--color-syntax-type: light-dark(#6b4a8c, #b08ed4);
|
|
183
182
|
--color-syntax-variable: light-dark(#3e481d, #c0cba9);
|
|
184
|
-
--color-syntax-operator: light-dark(#
|
|
183
|
+
--color-syntax-operator: light-dark(#5a6b2a, #94a468);
|
|
185
184
|
--color-syntax-constant: light-dark(#836700, #e0b318);
|
|
186
185
|
--color-syntax-tag: light-dark(#8c3a3a, #d47a7a);
|
|
187
186
|
--color-syntax-attribute: light-dark(#7c5e3a, #d1a500);
|
|
188
|
-
--color-syntax-property: light-dark(#
|
|
187
|
+
--color-syntax-property: light-dark(#2e6b5a, #6ccaaa);
|
|
189
188
|
--color-syntax-punctuation: light-dark(#5a6b2a, #92af6a);
|
|
190
189
|
--color-syntax-background: light-dark(#f0f0e0, #1a1c14);
|
|
191
190
|
--color-syntax-added: color-mix(in srgb, var(--color-success-muted) 25%, transparent);
|
|
@@ -201,9 +200,9 @@
|
|
|
201
200
|
--color-overlay: light-dark(#3e481d80, #3e481dcc);
|
|
202
201
|
--color-overlay-hover: light-dark(#3e481d0d, #c0cba90d);
|
|
203
202
|
--color-overlay-pressed: light-dark(#3e481d1a, #c0cba91a);
|
|
204
|
-
--color-background-muted: light-dark(#f0f0e0, #
|
|
203
|
+
--color-background-muted: light-dark(#f0f0e0, #12140e);
|
|
205
204
|
--color-text-primary: light-dark(#3e481d, #c0cba9);
|
|
206
|
-
--color-text-secondary: light-dark(#5a6b2a, #
|
|
205
|
+
--color-text-secondary: light-dark(#5a6b2a, #a8bf6a);
|
|
207
206
|
--color-text-disabled: light-dark(#c0cba9, #5a6440);
|
|
208
207
|
--color-text-accent: light-dark(#3e481d, #c0cba9);
|
|
209
208
|
--color-on-dark: #ffffff;
|
|
@@ -219,15 +218,15 @@
|
|
|
219
218
|
--color-text-warning: light-dark(#836700, #ffe08b);
|
|
220
219
|
--color-text-error: light-dark(#cc0000, #ff7a7a);
|
|
221
220
|
--color-on-info-muted: light-dark(#2e4a6e, #8dbce0);
|
|
222
|
-
--color-on-success-muted: light-dark(#
|
|
223
|
-
--color-on-warning-muted: light-dark(#
|
|
224
|
-
--color-on-error-muted: light-dark(#
|
|
221
|
+
--color-on-success-muted: light-dark(#346a00, #80d43a);
|
|
222
|
+
--color-on-warning-muted: light-dark(#755b00, #ffe08b);
|
|
223
|
+
--color-on-error-muted: light-dark(#b10000, #ff7a7a);
|
|
225
224
|
--color-icon-accent: light-dark(#3e481d, #c0cba9);
|
|
226
225
|
--color-icon-primary: light-dark(#3e481d, #c0cba9);
|
|
227
226
|
--color-icon-secondary: light-dark(#707e46, #94a468);
|
|
228
227
|
--color-icon-disabled: light-dark(#c0cba9, #5a6440);
|
|
229
228
|
--color-background-card: light-dark(#ffffff, #1e2016);
|
|
230
|
-
--color-background-popover: light-dark(#ffffff, #
|
|
229
|
+
--color-background-popover: light-dark(#ffffff, #1e2016);
|
|
231
230
|
--color-background-inverted: light-dark(#3e481d, #c0cba9);
|
|
232
231
|
--color-success: light-dark(#4d9900, #6dbf2a);
|
|
233
232
|
--color-success-muted: light-dark(#4d990020, #6dbf2a20);
|
|
@@ -255,15 +254,15 @@
|
|
|
255
254
|
--color-background-green: light-dark(#4d990033, #6dbf2a33);
|
|
256
255
|
--color-border-green: light-dark(#4d9900, #6dbf2a);
|
|
257
256
|
--color-icon-green: light-dark(#4d9900, #6dbf2a);
|
|
258
|
-
--color-text-green: light-dark(#
|
|
257
|
+
--color-text-green: light-dark(#346a00, #80d43a);
|
|
259
258
|
--color-background-orange: light-dark(#c4762033, #d4903a33);
|
|
260
259
|
--color-border-orange: light-dark(#c47620, #d4903a);
|
|
261
260
|
--color-icon-orange: light-dark(#c47620, #d4903a);
|
|
262
|
-
--color-text-orange: light-dark(#
|
|
261
|
+
--color-text-orange: light-dark(#6a5031, #e0a04a);
|
|
263
262
|
--color-background-pink: light-dark(#c44a7033, #e07a9a33);
|
|
264
263
|
--color-border-pink: light-dark(#c44a70, #e07a9a);
|
|
265
264
|
--color-icon-pink: light-dark(#c44a70, #e07a9a);
|
|
266
|
-
--color-text-pink: light-dark(#
|
|
265
|
+
--color-text-pink: light-dark(#8c3a3a, #f08aaa);
|
|
267
266
|
--color-background-purple: light-dark(#6b4a8c33, #b08ed433);
|
|
268
267
|
--color-border-purple: light-dark(#6b4a8c, #b08ed4);
|
|
269
268
|
--color-icon-purple: light-dark(#6b4a8c, #b08ed4);
|
|
@@ -271,7 +270,7 @@
|
|
|
271
270
|
--color-background-red: light-dark(#fd000033, #ff5c5c33);
|
|
272
271
|
--color-border-red: light-dark(#fd0000, #ff5c5c);
|
|
273
272
|
--color-icon-red: light-dark(#fd0000, #ff5c5c);
|
|
274
|
-
--color-text-red: light-dark(#
|
|
273
|
+
--color-text-red: light-dark(#b10000, #ff7a7a);
|
|
275
274
|
--color-background-teal: light-dark(#2e6b5a33, #5ab89833);
|
|
276
275
|
--color-border-teal: light-dark(#2e6b5a, #5ab898);
|
|
277
276
|
--color-icon-teal: light-dark(#2e6b5a, #5ab898);
|
|
@@ -279,7 +278,7 @@
|
|
|
279
278
|
--color-background-yellow: light-dark(#f2c00033, #f6d06633);
|
|
280
279
|
--color-border-yellow: light-dark(#f2c000, #f6d066);
|
|
281
280
|
--color-icon-yellow: light-dark(#f2c000, #f6d066);
|
|
282
|
-
--color-text-yellow: light-dark(#
|
|
281
|
+
--color-text-yellow: light-dark(#755b00, #ffe08b);
|
|
283
282
|
--spacing-0-5: 0.1875rem;
|
|
284
283
|
--spacing-1: 0.375rem;
|
|
285
284
|
--spacing-1-5: 0.5625rem;
|
|
@@ -298,6 +297,7 @@
|
|
|
298
297
|
--radius-element: 12px;
|
|
299
298
|
--radius-container: 18px;
|
|
300
299
|
--radius-page: 42px;
|
|
300
|
+
--radius-chat: 28px;
|
|
301
301
|
--size-element-sm: 36px;
|
|
302
302
|
--size-element-md: 40px;
|
|
303
303
|
--size-element-lg: 44px;
|
|
@@ -442,6 +442,59 @@
|
|
|
442
442
|
border-radius: var(--radius-page);
|
|
443
443
|
--astryx-card-padding: var(--spacing-3);
|
|
444
444
|
--_card-radius: var(--radius-page);
|
|
445
|
+
--_card-radius-top-left: var(--radius-page);
|
|
446
|
+
--_card-radius-top-right: var(--radius-page);
|
|
447
|
+
--_card-radius-bottom-right: var(--radius-page);
|
|
448
|
+
--_card-radius-bottom-left: var(--radius-page);
|
|
449
|
+
--_card-radius-start-start: initial;
|
|
450
|
+
--_card-radius-start-end: initial;
|
|
451
|
+
--_card-radius-end-start: initial;
|
|
452
|
+
--_card-radius-end-end: initial;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.astryx-card[data-variant="blue"] {
|
|
456
|
+
--color-text-secondary: light-dark(#3e481d, #a8bf6a);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.astryx-card[data-variant="cyan"] {
|
|
460
|
+
--color-text-secondary: light-dark(#4c5924, #a8bf6a);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.astryx-card[data-variant="gray"] {
|
|
464
|
+
--color-text-secondary: light-dark(#4c5924, #a8bf6a);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.astryx-card[data-variant="green"] {
|
|
468
|
+
--color-text-secondary: light-dark(#4c5924, #c0cba9);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.astryx-card[data-variant="orange"] {
|
|
472
|
+
--color-text-secondary: light-dark(#4c5924, #a8bf6a);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.astryx-card[data-variant="pink"] {
|
|
476
|
+
--color-text-secondary: light-dark(#4c5924, #a8bf6a);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.astryx-card[data-variant="purple"] {
|
|
480
|
+
--color-text-secondary: light-dark(#3e481d, #a8bf6a);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.astryx-card[data-variant="red"] {
|
|
484
|
+
--color-text-secondary: light-dark(#3e481d, #a8bf6a);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.astryx-card[data-variant="teal"] {
|
|
488
|
+
--color-text-secondary: light-dark(#3e481d, #c0cba9);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.astryx-card[data-variant="yellow"] {
|
|
492
|
+
--color-text-secondary: light-dark(#4c5924, #c0cba9);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.astryx-card[data-variant="muted"] {
|
|
496
|
+
--color-text-primary: light-dark(#3e481d, #cdd8b9);
|
|
497
|
+
--color-text-secondary: light-dark(#5a6b2a, #cdd8b9);
|
|
445
498
|
}
|
|
446
499
|
|
|
447
500
|
.astryx-section {
|
|
@@ -519,5 +572,21 @@
|
|
|
519
572
|
--color-icon-primary: var(--color-on-light);
|
|
520
573
|
--color-accent: var(--color-on-light);
|
|
521
574
|
}
|
|
575
|
+
|
|
576
|
+
:where(:scope[data-theme="dark"]) [data-astryx-media-dark-page="light"], :where(:scope:not([data-theme="light"], [data-theme="dark"]):not(:is([data-theme="light"], [data-theme="dark"]) *):where(html[data-astryx-scheme="dark"] *)) [data-astryx-media-dark-page="light"] {
|
|
577
|
+
color-scheme: light;
|
|
578
|
+
--color-text-primary: var(--color-on-light);
|
|
579
|
+
--color-icon-primary: var(--color-on-light);
|
|
580
|
+
--color-accent: var(--color-on-light);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
@media (prefers-color-scheme: dark) {
|
|
584
|
+
:where(:scope:not([data-theme="light"], [data-theme="dark"]):not(:is([data-theme="light"], [data-theme="dark"]) *):where(html:not([data-astryx-scheme]) *)) [data-astryx-media-dark-page="light"], :where(:is([data-theme="light"], [data-theme="dark"]) :scope:not([data-theme="light"], [data-theme="dark"])) [data-astryx-media-dark-page="light"] {
|
|
585
|
+
color-scheme: light;
|
|
586
|
+
--color-text-primary: var(--color-on-light);
|
|
587
|
+
--color-icon-primary: var(--color-on-light);
|
|
588
|
+
--color-accent: var(--color-on-light);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
522
591
|
}
|
|
523
592
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts) DMSans-Italic[opsz,wght].ttf: Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|