@astryxdesign/theme-neutral 0.6.0 → 0.6.1-canary.20102ea
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/neutral.d.ts +2 -2
- package/dist/neutral.js +4 -4
- package/dist/neutral.variants.d.ts +2 -2
- package/dist/source.js +2 -2
- package/dist/source.mjs +2 -2
- package/dist/theme.css +11 -11
- package/package.json +3 -3
- package/src/neutralTheme.test.ts +6 -2
- package/src/neutralTheme.ts +2 -2
package/dist/neutral.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/neutralTheme.ts
|
|
4
4
|
* Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.6.
|
|
6
|
-
* Core: @astryxdesign/core@0.6.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.6.1
|
|
6
|
+
* Core: @astryxdesign/core@0.6.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/// <reference path="./neutral.variants.d.ts" />
|
package/dist/neutral.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/neutralTheme.ts
|
|
4
4
|
* Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.6.
|
|
6
|
-
* Core: @astryxdesign/core@0.6.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.6.1
|
|
6
|
+
* Core: @astryxdesign/core@0.6.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { neutralIconRegistry } from "./icons.mjs";
|
|
@@ -380,7 +380,7 @@ export const neutralTheme = {
|
|
|
380
380
|
"color": "var(--color-text-gray)"
|
|
381
381
|
}
|
|
382
382
|
},
|
|
383
|
-
"
|
|
383
|
+
"status-dot": {
|
|
384
384
|
"variant:success": {
|
|
385
385
|
"backgroundColor": "var(--astryx-theme-neutral-color-status-fill-success)"
|
|
386
386
|
},
|
|
@@ -468,7 +468,7 @@ export const neutralTheme = {
|
|
|
468
468
|
"--color-background-gray": "var(--color-border-emphasized)"
|
|
469
469
|
}
|
|
470
470
|
},
|
|
471
|
-
"
|
|
471
|
+
"progress-bar": {
|
|
472
472
|
"base": {
|
|
473
473
|
"--color-background-muted": "var(--color-border-emphasized)"
|
|
474
474
|
},
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/neutralTheme.ts
|
|
4
4
|
* Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.6.
|
|
6
|
-
* Core: @astryxdesign/core@0.6.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.6.1
|
|
6
|
+
* Core: @astryxdesign/core@0.6.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
// Generated by astryx theme build
|
package/dist/source.js
CHANGED
|
@@ -406,7 +406,7 @@ var neutralTheme = (0, import_theme.defineTheme)({
|
|
|
406
406
|
color: "var(--color-text-gray)"
|
|
407
407
|
}
|
|
408
408
|
},
|
|
409
|
-
|
|
409
|
+
"status-dot": {
|
|
410
410
|
"variant:success": { backgroundColor: statusFill.success },
|
|
411
411
|
"variant:warning": { backgroundColor: statusFill.warning },
|
|
412
412
|
"variant:error": { backgroundColor: statusFill.error },
|
|
@@ -476,7 +476,7 @@ var neutralTheme = (0, import_theme.defineTheme)({
|
|
|
476
476
|
"--color-background-gray": "var(--color-border-emphasized)"
|
|
477
477
|
}
|
|
478
478
|
},
|
|
479
|
-
|
|
479
|
+
"progress-bar": {
|
|
480
480
|
base: {
|
|
481
481
|
"--color-background-muted": "var(--color-border-emphasized)"
|
|
482
482
|
},
|
package/dist/source.mjs
CHANGED
|
@@ -410,7 +410,7 @@ var neutralTheme = defineTheme({
|
|
|
410
410
|
color: "var(--color-text-gray)"
|
|
411
411
|
}
|
|
412
412
|
},
|
|
413
|
-
|
|
413
|
+
"status-dot": {
|
|
414
414
|
"variant:success": { backgroundColor: statusFill.success },
|
|
415
415
|
"variant:warning": { backgroundColor: statusFill.warning },
|
|
416
416
|
"variant:error": { backgroundColor: statusFill.error },
|
|
@@ -480,7 +480,7 @@ var neutralTheme = defineTheme({
|
|
|
480
480
|
"--color-background-gray": "var(--color-border-emphasized)"
|
|
481
481
|
}
|
|
482
482
|
},
|
|
483
|
-
|
|
483
|
+
"progress-bar": {
|
|
484
484
|
base: {
|
|
485
485
|
"--color-background-muted": "var(--color-border-emphasized)"
|
|
486
486
|
},
|
package/dist/theme.css
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/neutralTheme.ts
|
|
4
4
|
* Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.6.
|
|
6
|
-
* Core: @astryxdesign/core@0.6.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.6.1
|
|
6
|
+
* Core: @astryxdesign/core@0.6.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
@layer reset {
|
|
@@ -517,19 +517,19 @@
|
|
|
517
517
|
color: var(--color-text-gray);
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
-
.astryx-
|
|
520
|
+
.astryx-status-dot[data-variant="success"] {
|
|
521
521
|
background-color: var(--astryx-theme-neutral-color-status-fill-success);
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
.astryx-
|
|
524
|
+
.astryx-status-dot[data-variant="warning"] {
|
|
525
525
|
background-color: var(--astryx-theme-neutral-color-status-fill-warning);
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
.astryx-
|
|
528
|
+
.astryx-status-dot[data-variant="error"] {
|
|
529
529
|
background-color: var(--astryx-theme-neutral-color-status-fill-error);
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
.astryx-
|
|
532
|
+
.astryx-status-dot[data-variant="accent"] {
|
|
533
533
|
background-color: var(--astryx-theme-neutral-color-status-fill-accent);
|
|
534
534
|
}
|
|
535
535
|
|
|
@@ -613,23 +613,23 @@
|
|
|
613
613
|
--color-background-gray: var(--color-border-emphasized);
|
|
614
614
|
}
|
|
615
615
|
|
|
616
|
-
.astryx-
|
|
616
|
+
.astryx-progress-bar {
|
|
617
617
|
--color-background-muted: var(--color-border-emphasized);
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
.astryx-
|
|
620
|
+
.astryx-progress-bar[data-variant="accent"] {
|
|
621
621
|
--color-accent: var(--astryx-theme-neutral-color-status-fill-accent);
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
.astryx-
|
|
624
|
+
.astryx-progress-bar[data-variant="success"] {
|
|
625
625
|
--color-success: var(--astryx-theme-neutral-color-status-fill-success);
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
.astryx-
|
|
628
|
+
.astryx-progress-bar[data-variant="warning"] {
|
|
629
629
|
--color-warning: var(--astryx-theme-neutral-color-status-fill-warning);
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
-
.astryx-
|
|
632
|
+
.astryx-progress-bar[data-variant="error"] {
|
|
633
633
|
--color-error: var(--astryx-theme-neutral-color-status-fill-error);
|
|
634
634
|
}
|
|
635
635
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-neutral",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1-canary.20102ea",
|
|
4
4
|
"displayName": "Neutral Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Restrained warm grays. Minimal and quiet, so the content stays the focus.",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"lucide-react": "^1.18.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@astryxdesign/core": "0.6.
|
|
53
|
+
"@astryxdesign/core": "0.6.1-canary.20102ea",
|
|
54
54
|
"react": ">=19"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@astryxdesign/cli": "0.6.
|
|
57
|
+
"@astryxdesign/cli": "0.6.1-canary.20102ea"
|
|
58
58
|
},
|
|
59
59
|
"module": "./dist/source.mjs",
|
|
60
60
|
"scripts": {
|
package/src/neutralTheme.test.ts
CHANGED
|
@@ -310,7 +310,9 @@ describe('neutral theme-local status mappings', () => {
|
|
|
310
310
|
expect(neutralTheme.components?.badge?.['variant:info']).toMatchObject({
|
|
311
311
|
backgroundColor: statusFill.accent,
|
|
312
312
|
});
|
|
313
|
-
expect(
|
|
313
|
+
expect(
|
|
314
|
+
neutralTheme.components?.['status-dot']?.['variant:success'],
|
|
315
|
+
).toEqual({
|
|
314
316
|
backgroundColor: statusFill.success,
|
|
315
317
|
});
|
|
316
318
|
expect(
|
|
@@ -319,7 +321,9 @@ describe('neutral theme-local status mappings', () => {
|
|
|
319
321
|
expect(
|
|
320
322
|
neutralTheme.components?.['step-indicator']?.['status:warning'],
|
|
321
323
|
).toEqual({'--color-warning': statusFill.warning});
|
|
322
|
-
expect(
|
|
324
|
+
expect(
|
|
325
|
+
neutralTheme.components?.['progress-bar']?.['variant:accent'],
|
|
326
|
+
).toEqual({
|
|
323
327
|
'--color-accent': statusFill.accent,
|
|
324
328
|
});
|
|
325
329
|
});
|
package/src/neutralTheme.ts
CHANGED
|
@@ -348,7 +348,7 @@ export const neutralTheme = defineTheme({
|
|
|
348
348
|
},
|
|
349
349
|
},
|
|
350
350
|
|
|
351
|
-
|
|
351
|
+
'status-dot': {
|
|
352
352
|
'variant:success': {backgroundColor: statusFill.success},
|
|
353
353
|
'variant:warning': {backgroundColor: statusFill.warning},
|
|
354
354
|
'variant:error': {backgroundColor: statusFill.error},
|
|
@@ -427,7 +427,7 @@ export const neutralTheme = defineTheme({
|
|
|
427
427
|
},
|
|
428
428
|
},
|
|
429
429
|
|
|
430
|
-
|
|
430
|
+
'progress-bar': {
|
|
431
431
|
base: {
|
|
432
432
|
'--color-background-muted': 'var(--color-border-emphasized)',
|
|
433
433
|
},
|