@astryxdesign/cli 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.
|
@@ -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)',
|
|
@@ -309,8 +309,9 @@ describe('theme build --icons-specifier (spawned processes)', () => {
|
|
|
309
309
|
|
|
310
310
|
// Rebuilds run through a child re-invocation of `theme build`, so the
|
|
311
311
|
// flag reaches them only if the watch loop forwards it. Change a token
|
|
312
|
-
// and wait for the rebuilt
|
|
313
|
-
// load, so re-touch until the rebuild shows up
|
|
312
|
+
// and wait for the rebuilt JavaScript module. fs.watch delivery is
|
|
313
|
+
// best-effort under load, so re-touch until the rebuild shows up
|
|
314
|
+
// (idempotent write).
|
|
314
315
|
const touched =
|
|
315
316
|
`import {testIcons} from './icons';\n` +
|
|
316
317
|
`export default {\n` +
|
|
@@ -321,10 +322,10 @@ describe('theme build --icons-specifier (spawned processes)', () => {
|
|
|
321
322
|
fs.writeFileSync(themeFile, touched);
|
|
322
323
|
const rebuilt = await waitFor(() => {
|
|
323
324
|
try {
|
|
324
|
-
if (fs.readFileSync(
|
|
325
|
+
if (fs.readFileSync(builtFile, 'utf-8').includes('#0a0b0c'))
|
|
325
326
|
return true;
|
|
326
327
|
} catch {
|
|
327
|
-
//
|
|
328
|
+
// JavaScript module mid-write; fall through to re-touch.
|
|
328
329
|
}
|
|
329
330
|
try {
|
|
330
331
|
fs.writeFileSync(themeFile, touched);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/cli",
|
|
3
|
-
"version": "0.4.2-canary.
|
|
3
|
+
"version": "0.4.2-canary.44cde5e",
|
|
4
4
|
"displayName": "CLI",
|
|
5
5
|
"description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -84,10 +84,10 @@
|
|
|
84
84
|
"zod": "^4.4.3"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@astryxdesign/charts": "0.4.2-canary.
|
|
88
|
-
"@astryxdesign/core": "0.4.2-canary.
|
|
89
|
-
"@astryxdesign/lab": "0.4.2-canary.
|
|
90
|
-
"@astryxdesign/theme-neutral": "0.4.2-canary.
|
|
87
|
+
"@astryxdesign/charts": "0.4.2-canary.44cde5e",
|
|
88
|
+
"@astryxdesign/core": "0.4.2-canary.44cde5e",
|
|
89
|
+
"@astryxdesign/lab": "0.4.2-canary.44cde5e",
|
|
90
|
+
"@astryxdesign/theme-neutral": "0.4.2-canary.44cde5e",
|
|
91
91
|
"gpt-tokenizer": "^3.4.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@astryxdesign/charts": "0.4.2-canary.
|
|
109
|
-
"@astryxdesign/core": "0.4.2-canary.
|
|
110
|
-
"@astryxdesign/lab": "0.4.2-canary.
|
|
111
|
-
"@astryxdesign/theme-neutral": "0.4.2-canary.
|
|
108
|
+
"@astryxdesign/charts": "0.4.2-canary.44cde5e",
|
|
109
|
+
"@astryxdesign/core": "0.4.2-canary.44cde5e",
|
|
110
|
+
"@astryxdesign/lab": "0.4.2-canary.44cde5e",
|
|
111
|
+
"@astryxdesign/theme-neutral": "0.4.2-canary.44cde5e",
|
|
112
112
|
"gpt-tokenizer": "^3.4.0"
|
|
113
113
|
},
|
|
114
114
|
"scripts": {
|