@astryxdesign/theme-neutral 0.5.4-canary.e34ea63 → 0.5.4-canary.e6229f1

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/README.md CHANGED
@@ -40,19 +40,6 @@ theme-local import. Neutral currently uses 21 numbered stops in each light and
40
40
  dark ramp, but that layout is a Neutral decision rather than a requirement for
41
41
  other themes.
42
42
 
43
- Exact solid endpoints use the same stable palette namespace as the tonal
44
- families: `neutralPalettes.black` and `neutralPalettes.white`. Theme definitions
45
- can assign those values directly to semantic tokens without treating a neutral
46
- ramp endpoint as the named color.
47
-
48
- ```ts
49
- import {neutralPalettes} from '@astryxdesign/theme-neutral';
50
-
51
- const tokens = {
52
- '--color-background-inverted': [neutralPalettes.black, neutralPalettes.white],
53
- };
54
- ```
55
-
56
43
  Neutral opts into a muted dark edge for chromatic families. Stops 5 through 25
57
44
  use 50% of their realized chroma, then recover smoothly to the standard dark
58
45
  recipe at stop 60. Yellow uses a gentler 65% edge multiplier. Light ramps,
package/dist/neutral.js CHANGED
@@ -103,29 +103,29 @@ export const neutralTheme = {
103
103
  "--color-background-card": "light-dark(#ffffff, #1b1b1b)",
104
104
  "--color-background-popover": "light-dark(#ffffff, #1b1b1b)",
105
105
  "--color-background-muted": "light-dark(#f1f1f1, #1b1b1b)",
106
- "--color-accent": "light-dark(#1b1b1b, #f1f1f1)",
106
+ "--color-accent": "light-dark(#262626, #f1f1f1)",
107
107
  "--color-accent-muted": "light-dark(#f1f1f1, #262626)",
108
108
  "--color-neutral": "light-dark(#0000000F, #ffffff1A)",
109
109
  "--color-overlay": "light-dark(#00000080, #000000CC)",
110
110
  "--color-overlay-hover": "light-dark(#0000000D, #ffffff0D)",
111
111
  "--color-overlay-pressed": "light-dark(#0000001A, #ffffff1A)",
112
- "--color-text-primary": "light-dark(#000000, #ffffff)",
113
- "--color-text-secondary": "light-dark(#474747, #9e9e9e)",
114
- "--color-text-disabled": "light-dark(#919191, #525252)",
115
- "--color-text-accent": "light-dark(#1b1b1b, #f1f1f1)",
112
+ "--color-text-primary": "light-dark(#111111, #ffffff)",
113
+ "--color-text-secondary": "light-dark(#525252, #9e9e9e)",
114
+ "--color-text-disabled": "light-dark(#9e9e9e, #525252)",
115
+ "--color-text-accent": "light-dark(#262626, #f1f1f1)",
116
116
  "--color-on-dark": "#ffffff",
117
117
  "--color-on-light": "#111111",
118
118
  "--color-on-accent": "light-dark(#ffffff, #111111)",
119
119
  "--color-on-success": "light-dark(#ffffff, #111111)",
120
120
  "--color-on-error": "light-dark(#ffffff, #111111)",
121
121
  "--color-on-warning": "#111111",
122
- "--color-icon-accent": "light-dark(#1b1b1b, #f1f1f1)",
123
- "--color-icon-primary": "light-dark(#000000, #ffffff)",
124
- "--color-icon-secondary": "light-dark(#6a6a6a, #9e9e9e)",
125
- "--color-icon-disabled": "light-dark(#919191, #525252)",
126
- "--color-success": "light-dark(#00490b, #a4d6a3)",
127
- "--color-error": "light-dark(#76000c, #ffc4be)",
128
- "--color-warning": "light-dark(#4b3900, #f8d36a)",
122
+ "--color-icon-accent": "light-dark(#262626, #f1f1f1)",
123
+ "--color-icon-primary": "light-dark(#111111, #ffffff)",
124
+ "--color-icon-secondary": "light-dark(#777777, #9e9e9e)",
125
+ "--color-icon-disabled": "light-dark(#9e9e9e, #525252)",
126
+ "--color-success": "light-dark(#237028, #a4d6a3)",
127
+ "--color-error": "light-dark(#9e0015, #ffc4be)",
128
+ "--color-warning": "light-dark(#745b00, #f8d36a)",
129
129
  "--color-success-muted": "light-dark(#bce0bb, #90ca903D)",
130
130
  "--color-error-muted": "light-dark(#ffc4be, #ff98903D)",
131
131
  "--color-warning-muted": "light-dark(#fae19e, #e2b6233D)",
@@ -136,44 +136,44 @@ export const neutralTheme = {
136
136
  "--color-tint-hover": "light-dark(black, white)",
137
137
  "--color-background-red": "light-dark(#ffc4be, #5b2b28)",
138
138
  "--color-border-red": "light-dark(#ffaea7, #fa6762)",
139
- "--color-icon-red": "light-dark(#76000c, #ff9890)",
140
- "--color-text-red": "light-dark(#76000c, #ffaea7)",
139
+ "--color-icon-red": "light-dark(#8a0011, #ff9890)",
140
+ "--color-text-red": "light-dark(#8a0011, #ffaea7)",
141
141
  "--color-background-orange": "light-dark(#ffc7a1, #503424)",
142
142
  "--color-border-orange": "light-dark(#ffc7a1, #df843f)",
143
- "--color-icon-orange": "light-dark(#622700, #ff9e55)",
144
- "--color-text-orange": "light-dark(#622700, #ffb37e)",
143
+ "--color-icon-orange": "light-dark(#733100, #ff9e55)",
144
+ "--color-text-orange": "light-dark(#733100, #ffb37e)",
145
145
  "--color-background-yellow": "light-dark(#fae19e, #453a1c)",
146
146
  "--color-border-yellow": "light-dark(#e3c36c, #c29900)",
147
- "--color-icon-yellow": "light-dark(#4b3900, #e2b623)",
148
- "--color-text-yellow": "light-dark(#4b3900, #eec448)",
147
+ "--color-icon-yellow": "light-dark(#584400, #e2b623)",
148
+ "--color-text-yellow": "light-dark(#584400, #eec448)",
149
149
  "--color-background-green": "light-dark(#bce0bb, #2b422b)",
150
150
  "--color-border-green": "light-dark(#aad4a9, #6ab26b)",
151
- "--color-icon-green": "light-dark(#00490b, #90ca90)",
152
- "--color-text-green": "light-dark(#00490b, #90ca90)",
151
+ "--color-icon-green": "light-dark(#0b5615, #90ca90)",
152
+ "--color-text-green": "light-dark(#0b5615, #90ca90)",
153
153
  "--color-background-teal": "light-dark(#a9e2d6, #28413c)",
154
154
  "--color-border-teal": "light-dark(#90d7c8, #4fb1a0)",
155
- "--color-icon-teal": "light-dark(#00463d, #81c9bb)",
156
- "--color-text-teal": "light-dark(#00463d, #90d7c8)",
155
+ "--color-icon-teal": "light-dark(#005348, #81c9bb)",
156
+ "--color-text-teal": "light-dark(#005348, #90d7c8)",
157
157
  "--color-background-cyan": "light-dark(#9ae2f4, #274046)",
158
158
  "--color-border-cyan": "light-dark(#85d5e9, #49adc4)",
159
- "--color-icon-cyan": "light-dark(#004351, #71c7dd)",
160
- "--color-text-cyan": "light-dark(#004351, #85d5e9)",
159
+ "--color-icon-cyan": "light-dark(#00505f, #71c7dd)",
160
+ "--color-text-cyan": "light-dark(#00505f, #85d5e9)",
161
161
  "--color-background-blue": "light-dark(#b9d7ff, #253c5a)",
162
162
  "--color-border-blue": "light-dark(#a1caff, #5aa0f8)",
163
- "--color-icon-blue": "light-dark(#003978, #88bcff)",
164
- "--color-text-blue": "light-dark(#003978, #a1caff)",
163
+ "--color-icon-blue": "light-dark(#00458c, #88bcff)",
164
+ "--color-text-blue": "light-dark(#00458c, #a1caff)",
165
165
  "--color-background-purple": "light-dark(#f7d5ff, #4a2f51)",
166
166
  "--color-border-purple": "light-dark(#f3bfff, #d885eb)",
167
- "--color-icon-purple": "light-dark(#5c0e6c, #e496f6)",
168
- "--color-text-purple": "light-dark(#5c0e6c, #eaacf8)",
167
+ "--color-icon-purple": "light-dark(#6b187c, #e496f6)",
168
+ "--color-text-purple": "light-dark(#6b187c, #eaacf8)",
169
169
  "--color-background-pink": "light-dark(#ffc0d7, #572b3d)",
170
170
  "--color-border-pink": "light-dark(#ffc0d7, #fc78b1)",
171
- "--color-icon-pink": "light-dark(#70003f, #fd92bd)",
172
- "--color-text-pink": "light-dark(#70003f, #ffa9ca)",
171
+ "--color-icon-pink": "light-dark(#83004b, #fd92bd)",
172
+ "--color-text-pink": "light-dark(#83004b, #ffa9ca)",
173
173
  "--color-background-gray": "light-dark(#e2e2e2, #303030)",
174
174
  "--color-border-gray": "light-dark(#d4d4d4, #262626)",
175
- "--color-icon-gray": "light-dark(#474747, #9e9e9e)",
176
- "--color-text-gray": "light-dark(#1b1b1b, #d4d4d4)",
175
+ "--color-icon-gray": "light-dark(#525252, #9e9e9e)",
176
+ "--color-text-gray": "light-dark(#262626, #d4d4d4)",
177
177
  "--radius-none": "0px",
178
178
  "--radius-inner": "0.375rem",
179
179
  "--radius-element": "0.625rem",
@@ -1,7 +1,6 @@
1
1
  export declare const neutralPaletteRefs: {
2
2
  readonly purple: {
3
3
  readonly light: {
4
- readonly 25: "#5c0e6c";
5
4
  readonly 30: "#6b187c";
6
5
  readonly 70: "#d885eb";
7
6
  readonly 75: "#e496f6";
@@ -16,7 +15,6 @@ export declare const neutralPaletteRefs: {
16
15
  };
17
16
  readonly green: {
18
17
  readonly light: {
19
- readonly 25: "#00490b";
20
18
  readonly 30: "#0b5615";
21
19
  readonly 40: "#237028";
22
20
  readonly 45: "#2f7d33";
@@ -34,13 +32,10 @@ export declare const neutralPaletteRefs: {
34
32
  readonly light: {
35
33
  readonly 0: "#000000";
36
34
  readonly 5: "#111111";
37
- readonly 10: "#1b1b1b";
38
35
  readonly 15: "#262626";
39
- readonly 30: "#474747";
40
36
  readonly 35: "#525252";
41
37
  readonly 45: "#6a6a6a";
42
38
  readonly 50: "#777777";
43
- readonly 60: "#919191";
44
39
  readonly 65: "#9e9e9e";
45
40
  readonly 85: "#d4d4d4";
46
41
  readonly 90: "#e2e2e2";
@@ -63,7 +58,6 @@ export declare const neutralPaletteRefs: {
63
58
  };
64
59
  readonly orange: {
65
60
  readonly light: {
66
- readonly 25: "#622700";
67
61
  readonly 30: "#733100";
68
62
  readonly 75: "#ff9e55";
69
63
  readonly 85: "#ffc7a1";
@@ -76,7 +70,6 @@ export declare const neutralPaletteRefs: {
76
70
  };
77
71
  readonly blue: {
78
72
  readonly light: {
79
- readonly 25: "#003978";
80
73
  readonly 30: "#00458c";
81
74
  readonly 50: "#0074e2";
82
75
  readonly 80: "#a1caff";
@@ -91,7 +84,6 @@ export declare const neutralPaletteRefs: {
91
84
  };
92
85
  readonly red: {
93
86
  readonly light: {
94
- readonly 25: "#76000c";
95
87
  readonly 30: "#8a0011";
96
88
  readonly 35: "#9e0015";
97
89
  readonly 55: "#de4745";
@@ -110,7 +102,6 @@ export declare const neutralPaletteRefs: {
110
102
  };
111
103
  readonly yellow: {
112
104
  readonly light: {
113
- readonly 25: "#4b3900";
114
105
  readonly 30: "#584400";
115
106
  readonly 40: "#745b00";
116
107
  readonly 65: "#c29900";
@@ -126,7 +117,6 @@ export declare const neutralPaletteRefs: {
126
117
  };
127
118
  readonly teal: {
128
119
  readonly light: {
129
- readonly 25: "#00463d";
130
120
  readonly 30: "#005348";
131
121
  readonly 80: "#90d7c8";
132
122
  readonly 85: "#a9e2d6";
@@ -146,13 +136,11 @@ export declare const neutralPaletteRefs: {
146
136
  readonly 85: "#9ae2f4";
147
137
  };
148
138
  readonly light: {
149
- readonly 25: "#004351";
150
139
  readonly 30: "#00505f";
151
140
  };
152
141
  };
153
142
  readonly pink: {
154
143
  readonly light: {
155
- readonly 25: "#70003f";
156
144
  readonly 30: "#83004b";
157
145
  readonly 70: "#fc78b1";
158
146
  readonly 85: "#ffc0d7";
@@ -1 +1 @@
1
- {"version":3,"file":"neutralPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/neutralPaletteRefs.generated.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCrB,CAAC;AAEX,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"neutralPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/neutralPaletteRefs.generated.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCrB,CAAC;AAEX,eAAe,kBAAkB,CAAC"}