@astryxdesign/theme-neutral 0.4.2-canary.255e810 → 0.4.2-canary.44cde5e
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.js +1 -2
- package/dist/neutralTheme.d.ts.map +1 -1
- package/dist/source.js +6 -4
- package/dist/source.mjs +6 -4
- package/dist/theme.css +1 -2
- package/package.json +3 -3
- package/src/neutralTheme.ts +6 -4
package/dist/neutral.js
CHANGED
|
@@ -369,8 +369,7 @@ export const neutralTheme = {
|
|
|
369
369
|
},
|
|
370
370
|
"banner": {
|
|
371
371
|
"status:info": {
|
|
372
|
-
"
|
|
373
|
-
"--color-accent-muted": "transparent",
|
|
372
|
+
"--color-accent-muted": "var(--color-background-blue)",
|
|
374
373
|
"--color-text-primary": "var(--color-text-blue)",
|
|
375
374
|
"--color-text-secondary": "var(--color-text-blue)",
|
|
376
375
|
"--color-accent": "var(--color-text-blue)"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,YAAY,iDAukBvB,CAAC"}
|
package/dist/source.js
CHANGED
|
@@ -530,15 +530,17 @@ var neutralTheme = (0, import_theme.defineTheme)({
|
|
|
530
530
|
// to a deep tinted bg + light text rather than locking the
|
|
531
531
|
// light-mode pastel.
|
|
532
532
|
//
|
|
533
|
-
// The inner-header *-muted token
|
|
534
|
-
//
|
|
533
|
+
// The inner-header *-muted token carries the tinted background for every
|
|
534
|
+
// status, info included. A theme override that sets a plain CSS property
|
|
535
|
+
// instead lands in @layer astryx-theme, which StyleX's @layer priority4
|
|
536
|
+
// outranks, so `backgroundColor` here would silently do nothing and the
|
|
537
|
+
// info banner would paint no background at all.
|
|
535
538
|
//
|
|
536
539
|
// Status overrides reference --color-text-{hue} so text/icon colors
|
|
537
540
|
// stay in sync with the palette anchors automatically.
|
|
538
541
|
banner: {
|
|
539
542
|
"status:info": {
|
|
540
|
-
|
|
541
|
-
"--color-accent-muted": "transparent",
|
|
543
|
+
"--color-accent-muted": "var(--color-background-blue)",
|
|
542
544
|
"--color-text-primary": "var(--color-text-blue)",
|
|
543
545
|
"--color-text-secondary": "var(--color-text-blue)",
|
|
544
546
|
"--color-accent": "var(--color-text-blue)"
|
package/dist/source.mjs
CHANGED
|
@@ -467,15 +467,17 @@ var neutralTheme = defineTheme({
|
|
|
467
467
|
// to a deep tinted bg + light text rather than locking the
|
|
468
468
|
// light-mode pastel.
|
|
469
469
|
//
|
|
470
|
-
// The inner-header *-muted token
|
|
471
|
-
//
|
|
470
|
+
// The inner-header *-muted token carries the tinted background for every
|
|
471
|
+
// status, info included. A theme override that sets a plain CSS property
|
|
472
|
+
// instead lands in @layer astryx-theme, which StyleX's @layer priority4
|
|
473
|
+
// outranks, so `backgroundColor` here would silently do nothing and the
|
|
474
|
+
// info banner would paint no background at all.
|
|
472
475
|
//
|
|
473
476
|
// Status overrides reference --color-text-{hue} so text/icon colors
|
|
474
477
|
// stay in sync with the palette anchors automatically.
|
|
475
478
|
banner: {
|
|
476
479
|
"status:info": {
|
|
477
|
-
|
|
478
|
-
"--color-accent-muted": "transparent",
|
|
480
|
+
"--color-accent-muted": "var(--color-background-blue)",
|
|
479
481
|
"--color-text-primary": "var(--color-text-blue)",
|
|
480
482
|
"--color-text-secondary": "var(--color-text-blue)",
|
|
481
483
|
"--color-accent": "var(--color-text-blue)"
|
package/dist/theme.css
CHANGED
|
@@ -461,8 +461,7 @@
|
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
.astryx-banner.info {
|
|
464
|
-
|
|
465
|
-
--color-accent-muted: transparent;
|
|
464
|
+
--color-accent-muted: var(--color-background-blue);
|
|
466
465
|
--color-text-primary: var(--color-text-blue);
|
|
467
466
|
--color-text-secondary: var(--color-text-blue);
|
|
468
467
|
--color-accent: var(--color-text-blue);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-neutral",
|
|
3
|
-
"version": "0.4.2-canary.
|
|
3
|
+
"version": "0.4.2-canary.44cde5e",
|
|
4
4
|
"displayName": "Neutral Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Restrained warm grays. Minimal and quiet, so the content stays the focus.",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"lucide-react": "^1.18.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@astryxdesign/core": "0.4.2-canary.
|
|
52
|
+
"@astryxdesign/core": "0.4.2-canary.44cde5e",
|
|
53
53
|
"react": ">=19"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@astryxdesign/cli": "0.4.2-canary.
|
|
56
|
+
"@astryxdesign/cli": "0.4.2-canary.44cde5e"
|
|
57
57
|
},
|
|
58
58
|
"module": "./dist/source.mjs",
|
|
59
59
|
"scripts": {
|
package/src/neutralTheme.ts
CHANGED
|
@@ -528,15 +528,17 @@ export const neutralTheme = defineTheme({
|
|
|
528
528
|
// to a deep tinted bg + light text rather than locking the
|
|
529
529
|
// light-mode pastel.
|
|
530
530
|
//
|
|
531
|
-
// The inner-header *-muted token
|
|
532
|
-
//
|
|
531
|
+
// The inner-header *-muted token carries the tinted background for every
|
|
532
|
+
// status, info included. A theme override that sets a plain CSS property
|
|
533
|
+
// instead lands in @layer astryx-theme, which StyleX's @layer priority4
|
|
534
|
+
// outranks, so `backgroundColor` here would silently do nothing and the
|
|
535
|
+
// info banner would paint no background at all.
|
|
533
536
|
//
|
|
534
537
|
// Status overrides reference --color-text-{hue} so text/icon colors
|
|
535
538
|
// stay in sync with the palette anchors automatically.
|
|
536
539
|
banner: {
|
|
537
540
|
'status:info': {
|
|
538
|
-
|
|
539
|
-
'--color-accent-muted': 'transparent',
|
|
541
|
+
'--color-accent-muted': 'var(--color-background-blue)',
|
|
540
542
|
'--color-text-primary': 'var(--color-text-blue)',
|
|
541
543
|
'--color-text-secondary': 'var(--color-text-blue)',
|
|
542
544
|
'--color-accent': 'var(--color-text-blue)',
|