@astryxdesign/theme-neutral 0.1.6-canary.fec872b → 0.1.6

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 CHANGED
@@ -2,7 +2,7 @@
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
- * Generated: 2026-07-19T20:44:31.114Z
5
+ * Generated: 2026-07-15T14:58:44.099Z
6
6
  */
7
7
 
8
8
  /// <reference path="./neutral.variants.d.ts" />
package/dist/neutral.js CHANGED
@@ -2,7 +2,7 @@
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
- * Generated: 2026-07-19T20:44:31.114Z
5
+ * Generated: 2026-07-15T14:58:44.098Z
6
6
  */
7
7
 
8
8
  import { neutralIconRegistry } from './icons';
@@ -2,7 +2,7 @@
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
- * Generated: 2026-07-19T20:44:31.114Z
5
+ * Generated: 2026-07-15T14:58:44.098Z
6
6
  */
7
7
 
8
8
  // Generated by astryx theme build
@@ -1 +1 @@
1
- {"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,YAAY,iDA+jBvB,CAAC"}
1
+ {"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,YAAY,iDAgiBvB,CAAC"}
package/dist/source.js CHANGED
@@ -484,36 +484,6 @@ var neutralTheme = (0, import_theme.defineTheme)({
484
484
  }
485
485
  },
486
486
  // =========================================================================
487
- // StatusDot — fill uses the SAME vivid stops as the filled semantic Badge
488
- // (and ProgressBar), so a dot and its badge read as one status language.
489
- //
490
- // The default component maps each variant to a raw semantic token
491
- // (--color-success / --color-error / --color-warning / --color-icon-
492
- // secondary), which in light mode are the dark T30/T40 stops meant to
493
- // sit as TEXT on a pastel surface — as a solid dot they read muddy
494
- // (dark green / maroon / brown). Redirect them to the badge fills.
495
- //
496
- // success → badge success bg (green T45 / dark-ramp T60)
497
- // warning → badge warning bg (yellow T85, same hex both modes)
498
- // error → badge error bg (red T55 / dark-ramp T60)
499
- // accent → badge info bg (blue T50 / dark-ramp T60) — the
500
- // StatusDot "accent" is the info/attention color, so it
501
- // pairs with the info badge rather than --color-accent
502
- // (near-black #262626, the darkest offender).
503
- //
504
- // `neutral` is intentionally NOT overridden: the neutral badge bg is a
505
- // near-invisible light gray (--color-background-gray #e5e5e5 / 10% white
506
- // wash), fine as a large pill but unreadable as an 8px dot. It keeps the
507
- // component default's visible mid-gray (--color-icon-secondary), which is
508
- // not among the "too dark" cases.
509
- // =========================================================================
510
- statusdot: {
511
- "variant:success": { backgroundColor: "light-dark(#198100, #64af4c)" },
512
- "variant:warning": { backgroundColor: "#ffce2f" },
513
- "variant:error": { backgroundColor: "light-dark(#e33f4a, #ff705d)" },
514
- "variant:accent": { backgroundColor: "light-dark(#0074e2, #6d9cfe)" }
515
- },
516
- // =========================================================================
517
487
  // Banner — sits on a hue-tinted surface with colored text/icon:
518
488
  // Light: pastel T90 bg (pulled from --color-{X}-muted / --color-background-blue)
519
489
  // + dark T30 colored text (--color-text-{hue}).
package/dist/source.mjs CHANGED
@@ -423,36 +423,6 @@ var neutralTheme = defineTheme({
423
423
  }
424
424
  },
425
425
  // =========================================================================
426
- // StatusDot — fill uses the SAME vivid stops as the filled semantic Badge
427
- // (and ProgressBar), so a dot and its badge read as one status language.
428
- //
429
- // The default component maps each variant to a raw semantic token
430
- // (--color-success / --color-error / --color-warning / --color-icon-
431
- // secondary), which in light mode are the dark T30/T40 stops meant to
432
- // sit as TEXT on a pastel surface — as a solid dot they read muddy
433
- // (dark green / maroon / brown). Redirect them to the badge fills.
434
- //
435
- // success → badge success bg (green T45 / dark-ramp T60)
436
- // warning → badge warning bg (yellow T85, same hex both modes)
437
- // error → badge error bg (red T55 / dark-ramp T60)
438
- // accent → badge info bg (blue T50 / dark-ramp T60) — the
439
- // StatusDot "accent" is the info/attention color, so it
440
- // pairs with the info badge rather than --color-accent
441
- // (near-black #262626, the darkest offender).
442
- //
443
- // `neutral` is intentionally NOT overridden: the neutral badge bg is a
444
- // near-invisible light gray (--color-background-gray #e5e5e5 / 10% white
445
- // wash), fine as a large pill but unreadable as an 8px dot. It keeps the
446
- // component default's visible mid-gray (--color-icon-secondary), which is
447
- // not among the "too dark" cases.
448
- // =========================================================================
449
- statusdot: {
450
- "variant:success": { backgroundColor: "light-dark(#198100, #64af4c)" },
451
- "variant:warning": { backgroundColor: "#ffce2f" },
452
- "variant:error": { backgroundColor: "light-dark(#e33f4a, #ff705d)" },
453
- "variant:accent": { backgroundColor: "light-dark(#0074e2, #6d9cfe)" }
454
- },
455
- // =========================================================================
456
426
  // Banner — sits on a hue-tinted surface with colored text/icon:
457
427
  // Light: pastel T90 bg (pulled from --color-{X}-muted / --color-background-blue)
458
428
  // + dark T30 colored text (--color-text-{hue}).
package/dist/theme.css CHANGED
@@ -2,7 +2,7 @@
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
- * Generated: 2026-07-19T20:44:31.114Z
5
+ * Generated: 2026-07-15T14:58:44.098Z
6
6
  */
7
7
 
8
8
  @layer reset {
@@ -425,22 +425,6 @@
425
425
  color: var(--color-text-gray);
426
426
  }
427
427
 
428
- .astryx-statusdot.success {
429
- background-color: light-dark(#198100, #64af4c);
430
- }
431
-
432
- .astryx-statusdot.warning {
433
- background-color: #ffce2f;
434
- }
435
-
436
- .astryx-statusdot.error {
437
- background-color: light-dark(#e33f4a, #ff705d);
438
- }
439
-
440
- .astryx-statusdot.accent {
441
- background-color: light-dark(#0074e2, #6d9cfe);
442
- }
443
-
444
428
  .astryx-banner.info {
445
429
  background-color: var(--color-background-blue);
446
430
  --color-accent-muted: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-neutral",
3
- "version": "0.1.6-canary.fec872b",
3
+ "version": "0.1.6",
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.1.6-canary.fec872b",
52
+ "@astryxdesign/core": "0.1.6",
53
53
  "react": ">=19"
54
54
  },
55
55
  "devDependencies": {
56
- "@astryxdesign/cli": "0.1.6-canary.fec872b"
56
+ "@astryxdesign/cli": "0.1.6"
57
57
  },
58
58
  "module": "./dist/source.mjs",
59
59
  "scripts": {
@@ -39,19 +39,19 @@ import {neutralIconRegistry} from './icons';
39
39
  const neutralSyntax = defineSyntaxTheme({
40
40
  name: 'xds-neutral',
41
41
  tokens: {
42
- keyword: ['#700084', '#efa8ff'], // purple T30/T80
43
- string: ['#005600', '#a6d2a2'], // green (sat T30 / pastel T80)
44
- comment: ['#737373', '#a3a3a3'], // neutral
45
- number: ['#6e3500', '#ffb37f'], // orange
46
- function: ['#00458c', '#a0caff'], // blue T30/T80 H=255
47
- type: ['#700084', '#efa8ff'], // purple
48
- variable: ['#171717', '#e5e5e5'], // near-black / near-white
49
- operator: ['#737373', '#a3a3a3'], // neutral
50
- constant: ['#6e3500', '#ffb37f'], // orange
51
- tag: ['#89001a', '#ffaeaa'], // red
52
- attribute: ['#584400', '#eec12f'], // yellow
53
- property: ['#005348', '#83dac9'], // teal
54
- punctuation: ['#a3a3a3', '#525252'], // neutral
42
+ keyword: ['#700084', '#efa8ff'], // purple T30/T80
43
+ string: ['#005600', '#a6d2a2'], // green (sat T30 / pastel T80)
44
+ comment: ['#737373', '#a3a3a3'], // neutral
45
+ number: ['#6e3500', '#ffb37f'], // orange
46
+ function: ['#00458c', '#a0caff'], // blue T30/T80 H=255
47
+ type: ['#700084', '#efa8ff'], // purple
48
+ variable: ['#171717', '#e5e5e5'], // near-black / near-white
49
+ operator: ['#737373', '#a3a3a3'], // neutral
50
+ constant: ['#6e3500', '#ffb37f'], // orange
51
+ tag: ['#89001a', '#ffaeaa'], // red
52
+ attribute: ['#584400', '#eec12f'], // yellow
53
+ property: ['#005348', '#83dac9'], // teal
54
+ punctuation: ['#a3a3a3', '#525252'],// neutral
55
55
  background: ['#fafafa', '#0a0a0a'],
56
56
  },
57
57
  });
@@ -127,39 +127,39 @@ export const neutralTheme = defineTheme({
127
127
  // All values use the OKLCH Neutral tonal palette (chroma=0).
128
128
  // =========================================================================
129
129
  '--color-background-surface': ['#ffffff', '#262626'],
130
- '--color-background-body': ['#f1f1f1', '#1b1b1b'],
131
- '--color-background-card': ['#ffffff', '#1b1b1b'],
130
+ '--color-background-body': ['#f1f1f1', '#1b1b1b'],
131
+ '--color-background-card': ['#ffffff', '#1b1b1b'],
132
132
  '--color-background-popover': ['#ffffff', '#1b1b1b'],
133
- '--color-background-muted': ['#f1f1f1', '#1b1b1b'],
133
+ '--color-background-muted': ['#f1f1f1', '#1b1b1b'],
134
134
 
135
135
  // Accent + neutral surface tints (sit alongside backgrounds)
136
- '--color-accent': ['#262626', '#ebebeb'],
136
+ '--color-accent': ['#262626', '#ebebeb'],
137
137
  '--color-accent-muted': ['#f1f1f1', '#262626'],
138
- '--color-neutral': ['#0000000F', '#FFFFFF1A'],
138
+ '--color-neutral': ['#0000000F', '#FFFFFF1A'],
139
139
 
140
140
  // Overlays (modal scrims, hover/pressed tints)
141
- '--color-overlay': ['#00000080', '#000000CC'],
142
- '--color-overlay-hover': ['#0000000D', '#FFFFFF0D'],
141
+ '--color-overlay': ['#00000080', '#000000CC'],
142
+ '--color-overlay-hover': ['#0000000D', '#FFFFFF0D'],
143
143
  '--color-overlay-pressed': ['#0000001A', '#FFFFFF1A'],
144
144
 
145
145
  // Text
146
- '--color-text-primary': ['#171717', '#fafafa'],
146
+ '--color-text-primary': ['#171717', '#fafafa'],
147
147
  '--color-text-secondary': ['#737373', '#a3a3a3'],
148
- '--color-text-disabled': ['#a3a3a3', '#525252'],
149
- '--color-text-accent': ['#262626', '#ebebeb'],
150
- '--color-on-dark': '#ffffff',
151
- '--color-on-light': '#171717',
148
+ '--color-text-disabled': ['#a3a3a3', '#525252'],
149
+ '--color-text-accent': ['#262626', '#ebebeb'],
150
+ '--color-on-dark': '#ffffff',
151
+ '--color-on-light': '#171717',
152
152
  // Contrast: neutral accent is near-black (L) / near-white (D)
153
- '--color-on-accent': ['#ffffff', '#171717'],
153
+ '--color-on-accent': ['#ffffff', '#171717'],
154
154
  '--color-on-success': ['#ffffff', '#171717'],
155
- '--color-on-error': ['#ffffff', '#171717'],
155
+ '--color-on-error': ['#ffffff', '#171717'],
156
156
  '--color-on-warning': '#171717',
157
157
 
158
158
  // Icon
159
- '--color-icon-accent': ['#262626', '#ebebeb'],
160
- '--color-icon-primary': ['#171717', '#fafafa'],
159
+ '--color-icon-accent': ['#262626', '#ebebeb'],
160
+ '--color-icon-primary': ['#171717', '#fafafa'],
161
161
  '--color-icon-secondary': ['#737373', '#a3a3a3'],
162
- '--color-icon-disabled': ['#a3a3a3', '#525252'],
162
+ '--color-icon-disabled': ['#a3a3a3', '#525252'],
163
163
 
164
164
  // Status / Sentiment — dark mode follows the issue #2150 rubric:
165
165
  //
@@ -372,8 +372,8 @@ export const neutralTheme = defineTheme({
372
372
  // =========================================================================
373
373
  button: {
374
374
  'variant:destructive': {
375
- backgroundColor: 'var(--color-error-muted)', // locked pastel red bg
376
- color: 'var(--color-error)', // locked T30 red — matches banner/input error text
375
+ backgroundColor: 'var(--color-error-muted)', // locked pastel red bg
376
+ color: 'var(--color-error)', // locked T30 red — matches banner/input error text
377
377
  },
378
378
  },
379
379
 
@@ -482,37 +482,6 @@ export const neutralTheme = defineTheme({
482
482
  },
483
483
  },
484
484
 
485
- // =========================================================================
486
- // StatusDot — fill uses the SAME vivid stops as the filled semantic Badge
487
- // (and ProgressBar), so a dot and its badge read as one status language.
488
- //
489
- // The default component maps each variant to a raw semantic token
490
- // (--color-success / --color-error / --color-warning / --color-icon-
491
- // secondary), which in light mode are the dark T30/T40 stops meant to
492
- // sit as TEXT on a pastel surface — as a solid dot they read muddy
493
- // (dark green / maroon / brown). Redirect them to the badge fills.
494
- //
495
- // success → badge success bg (green T45 / dark-ramp T60)
496
- // warning → badge warning bg (yellow T85, same hex both modes)
497
- // error → badge error bg (red T55 / dark-ramp T60)
498
- // accent → badge info bg (blue T50 / dark-ramp T60) — the
499
- // StatusDot "accent" is the info/attention color, so it
500
- // pairs with the info badge rather than --color-accent
501
- // (near-black #262626, the darkest offender).
502
- //
503
- // `neutral` is intentionally NOT overridden: the neutral badge bg is a
504
- // near-invisible light gray (--color-background-gray #e5e5e5 / 10% white
505
- // wash), fine as a large pill but unreadable as an 8px dot. It keeps the
506
- // component default's visible mid-gray (--color-icon-secondary), which is
507
- // not among the "too dark" cases.
508
- // =========================================================================
509
- statusdot: {
510
- 'variant:success': {backgroundColor: 'light-dark(#198100, #64af4c)'},
511
- 'variant:warning': {backgroundColor: '#ffce2f'},
512
- 'variant:error': {backgroundColor: 'light-dark(#e33f4a, #ff705d)'},
513
- 'variant:accent': {backgroundColor: 'light-dark(#0074e2, #6d9cfe)'},
514
- },
515
-
516
485
  // =========================================================================
517
486
  // Banner — sits on a hue-tinted surface with colored text/icon:
518
487
  // Light: pastel T90 bg (pulled from --color-{X}-muted / --color-background-blue)