@astryxdesign/cli 0.7.9-canary.df0e60e → 0.7.9-canary.e191eed

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.
@@ -15,8 +15,8 @@ export const neutralPaletteRefs = {
15
15
  dark: {25: '#2b422b', 80: '#aad4a9', 85: '#bce0bb'},
16
16
  },
17
17
  neutral: {
18
- light: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 30: '#474747', 45: '#6a6a6a', 60: '#919191', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
19
- dark: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 15: '#262626', 20: '#303030', 35: '#525252', 65: '#9e9e9e', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
18
+ light: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 30: '#474747', 35: '#525252', 45: '#6a6a6a', 60: '#919191', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
19
+ dark: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 15: '#262626', 20: '#303030', 30: '#474747', 35: '#525252', 65: '#9e9e9e', 75: '#b9b9b9', 80: '#c6c6c6', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
20
20
  },
21
21
  orange: {
22
22
  light: {25: '#622700', 30: '#733100', 75: '#ff9e55', 85: '#ffc7a1'},
@@ -17,17 +17,17 @@ const neutralSyntax = defineSyntaxTheme({
17
17
  tokens: {
18
18
  keyword: [purple.light[30], purple.light[80]],
19
19
  string: [green.light[30], green.light[80]],
20
- comment: [neutral.light[45], neutral.dark[65]],
20
+ comment: [neutral.light[35], neutral.dark[75]],
21
21
  number: [orange.light[30], orange.dark[80]],
22
22
  function: [blue.light[30], blue.dark[80]],
23
23
  type: [purple.light[30], purple.light[80]],
24
24
  variable: [neutral.light[5], neutral.dark[90]],
25
- operator: [neutral.light[45], neutral.dark[65]],
25
+ operator: [neutral.light[35], neutral.dark[75]],
26
26
  constant: [orange.light[30], orange.dark[80]],
27
27
  tag: [red.light[30], red.dark[80]],
28
28
  attribute: [yellow.light[30], yellow.light[80]],
29
29
  property: [teal.light[30], teal.light[80]],
30
- punctuation: [neutral.light[45], neutral.dark[65]],
30
+ punctuation: [neutral.light[35], neutral.dark[75]],
31
31
  background: [neutral.light[100], neutral.dark[5]],
32
32
  },
33
33
  });
@@ -94,7 +94,7 @@ export const neutralTheme = defineTheme({
94
94
  '--color-background-muted': [neutral.light[95], neutral.dark[10]],
95
95
 
96
96
  '--color-accent': [neutral.light[10], neutral.dark[95]],
97
- '--color-accent-muted': [neutral.light[95], neutral.dark[15]],
97
+ '--color-accent-muted': [neutral.light[85], neutral.dark[30]],
98
98
  '--color-neutral': [
99
99
  withAlpha(neutral.light[0], '0F'),
100
100
  withAlpha(neutral.dark[100], '1A'),
@@ -273,6 +273,32 @@ export const neutralTheme = defineTheme({
273
273
  },
274
274
 
275
275
  components: {
276
+ // In dark mode, secondary text falls under 4.5:1 on the selected fill
277
+ // and under its hover. Selected rows use the next stop that clears both.
278
+ item: {
279
+ selected: {
280
+ '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
281
+ },
282
+ },
283
+ 'tree-list-item': {
284
+ selected: {
285
+ '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
286
+ },
287
+ },
288
+ // A dropzone's hint sits on the same fill while a file is dragged over.
289
+ // That state has no target, so the dropzone takes the lift at rest too.
290
+ 'file-input': {
291
+ 'mode:dropzone': {
292
+ '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
293
+ },
294
+ },
295
+ // A numbered citation is a pill on the same fill.
296
+ citation: {
297
+ 'variant:number': {
298
+ '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
299
+ },
300
+ },
301
+
276
302
  button: {
277
303
  'variant:destructive': {
278
304
  backgroundColor: 'var(--color-error-muted)',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/cli",
3
- "version": "0.7.9-canary.df0e60e",
3
+ "version": "0.7.9-canary.e191eed",
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",
@@ -124,10 +124,10 @@
124
124
  "zod": "^4.4.3"
125
125
  },
126
126
  "peerDependencies": {
127
- "@astryxdesign/charts": "0.7.9-canary.df0e60e",
128
- "@astryxdesign/core": "0.7.9-canary.df0e60e",
129
- "@astryxdesign/lab": "0.7.9-canary.df0e60e",
130
- "@astryxdesign/theme-neutral": "0.7.9-canary.df0e60e"
127
+ "@astryxdesign/charts": "0.7.9-canary.e191eed",
128
+ "@astryxdesign/core": "0.7.9-canary.e191eed",
129
+ "@astryxdesign/lab": "0.7.9-canary.e191eed",
130
+ "@astryxdesign/theme-neutral": "0.7.9-canary.e191eed"
131
131
  },
132
132
  "peerDependenciesMeta": {
133
133
  "@astryxdesign/charts": {
@@ -144,10 +144,10 @@
144
144
  }
145
145
  },
146
146
  "devDependencies": {
147
- "@astryxdesign/charts": "0.7.9-canary.df0e60e",
148
- "@astryxdesign/core": "0.7.9-canary.df0e60e",
149
- "@astryxdesign/lab": "0.7.9-canary.df0e60e",
150
- "@astryxdesign/theme-neutral": "0.7.9-canary.df0e60e",
147
+ "@astryxdesign/charts": "0.7.9-canary.e191eed",
148
+ "@astryxdesign/core": "0.7.9-canary.e191eed",
149
+ "@astryxdesign/lab": "0.7.9-canary.e191eed",
150
+ "@astryxdesign/theme-neutral": "0.7.9-canary.e191eed",
151
151
  "@heroicons/react": "^2.2.0",
152
152
  "@stylexjs/stylex": "^0.19.0",
153
153
  "@types/babel__core": "^7.20.5",