@astryxdesign/theme-chocolate 0.7.4 → 0.7.5-canary.031a639

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.
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/chocolateTheme.ts
4
4
  * Command: astryx theme build src/chocolateTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.4
6
- * Core: @astryxdesign/core@0.7.4
5
+ * CLI: @astryxdesign/cli@0.7.5
6
+ * Core: @astryxdesign/core@0.7.5
7
7
  */
8
8
 
9
9
  import type { DefinedTheme } from '@astryxdesign/core/theme';
package/dist/chocolate.js CHANGED
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/chocolateTheme.ts
4
4
  * Command: astryx theme build src/chocolateTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.4
6
- * Core: @astryxdesign/core@0.7.4
5
+ * CLI: @astryxdesign/cli@0.7.5
6
+ * Core: @astryxdesign/core@0.7.5
7
7
  */
8
8
 
9
9
  import { chocolateIconRegistry } from "./icons.mjs";
@@ -119,9 +119,19 @@ export const chocolateTheme = {
119
119
  "--color-on-dark": "#FFFCF7",
120
120
  "--color-on-light": "#4a3520",
121
121
  "--color-on-accent": "light-dark(#FFFFFF, #4a3520)",
122
- "--color-on-success": "light-dark(#FFFFFF, #4a3520)",
123
- "--color-on-error": "light-dark(#FFFFFF, #4a3520)",
122
+ "--color-on-success": "#141010",
123
+ "--color-on-error": "#141010",
124
124
  "--color-on-warning": "light-dark(#4a3520, #4a3520)",
125
+ "--color-info": "light-dark(#3a5e8c, #7ba8d4)",
126
+ "--color-info-muted": "var(--color-background-blue)",
127
+ "--color-text-info": "light-dark(#2e4a6e, #8dbce0)",
128
+ "--color-text-success": "light-dark(#526f00, #a8d43a)",
129
+ "--color-text-warning": "light-dark(#7a5500, #ffd960)",
130
+ "--color-text-error": "light-dark(#cc0000, #ff7a7a)",
131
+ "--color-on-info-muted": "light-dark(#2e4a6e, #8dbce0)",
132
+ "--color-on-success-muted": "light-dark(#4d6800, #a8d43a)",
133
+ "--color-on-warning-muted": "light-dark(#7a5500, #ffd960)",
134
+ "--color-on-error-muted": "light-dark(#b40000, #ff7a7a)",
125
135
  "--color-icon-accent": "light-dark(#8C5927, #d4a06a)",
126
136
  "--color-icon-primary": "light-dark(#4a3520, #EDE4D4)",
127
137
  "--color-icon-secondary": "light-dark(#B88859, #c4a882)",
@@ -1,2 +1,2 @@
1
- export declare const chocolateTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme;
1
+ export declare const chocolateTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
2
2
  //# sourceMappingURL=chocolateTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chocolateTheme.d.ts","sourceRoot":"","sources":["../src/chocolateTheme.ts"],"names":[],"mappings":"AA4DA,eAAO,MAAM,cAAc,yDA8MzB,CAAC"}
1
+ {"version":3,"file":"chocolateTheme.d.ts","sourceRoot":"","sources":["../src/chocolateTheme.ts"],"names":[],"mappings":"AA4DA,eAAO,MAAM,cAAc,gEA2NzB,CAAC"}
package/dist/source.js CHANGED
@@ -156,9 +156,20 @@ var chocolateTheme = (0, import_theme.defineTheme)({
156
156
  "--color-on-dark": "#FFFCF7",
157
157
  "--color-on-light": "#4a3520",
158
158
  "--color-on-accent": ["#FFFFFF", "#4a3520"],
159
- "--color-on-success": ["#FFFFFF", "#4a3520"],
160
- "--color-on-error": ["#FFFFFF", "#4a3520"],
159
+ "--color-on-success": "#141010",
160
+ "--color-on-error": "#141010",
161
161
  "--color-on-warning": ["#4a3520", "#4a3520"],
162
+ // Info is its own blue status, independent of the accent.
163
+ "--color-info": ["#3a5e8c", "#7ba8d4"],
164
+ "--color-info-muted": "var(--color-background-blue)",
165
+ "--color-text-info": ["#2e4a6e", "#8dbce0"],
166
+ "--color-text-success": ["#526f00", "#a8d43a"],
167
+ "--color-text-warning": ["#7a5500", "#ffd960"],
168
+ "--color-text-error": ["#cc0000", "#ff7a7a"],
169
+ "--color-on-info-muted": ["#2e4a6e", "#8dbce0"],
170
+ "--color-on-success-muted": ["#4d6800", "#a8d43a"],
171
+ "--color-on-warning-muted": ["#7a5500", "#ffd960"],
172
+ "--color-on-error-muted": ["#b40000", "#ff7a7a"],
162
173
  // Icon
163
174
  "--color-icon-accent": ["#8C5927", "#d4a06a"],
164
175
  "--color-icon-primary": ["#4a3520", "#EDE4D4"],
package/dist/source.mjs CHANGED
@@ -159,9 +159,20 @@ var chocolateTheme = defineTheme({
159
159
  "--color-on-dark": "#FFFCF7",
160
160
  "--color-on-light": "#4a3520",
161
161
  "--color-on-accent": ["#FFFFFF", "#4a3520"],
162
- "--color-on-success": ["#FFFFFF", "#4a3520"],
163
- "--color-on-error": ["#FFFFFF", "#4a3520"],
162
+ "--color-on-success": "#141010",
163
+ "--color-on-error": "#141010",
164
164
  "--color-on-warning": ["#4a3520", "#4a3520"],
165
+ // Info is its own blue status, independent of the accent.
166
+ "--color-info": ["#3a5e8c", "#7ba8d4"],
167
+ "--color-info-muted": "var(--color-background-blue)",
168
+ "--color-text-info": ["#2e4a6e", "#8dbce0"],
169
+ "--color-text-success": ["#526f00", "#a8d43a"],
170
+ "--color-text-warning": ["#7a5500", "#ffd960"],
171
+ "--color-text-error": ["#cc0000", "#ff7a7a"],
172
+ "--color-on-info-muted": ["#2e4a6e", "#8dbce0"],
173
+ "--color-on-success-muted": ["#4d6800", "#a8d43a"],
174
+ "--color-on-warning-muted": ["#7a5500", "#ffd960"],
175
+ "--color-on-error-muted": ["#b40000", "#ff7a7a"],
165
176
  // Icon
166
177
  "--color-icon-accent": ["#8C5927", "#d4a06a"],
167
178
  "--color-icon-primary": ["#4a3520", "#EDE4D4"],
package/dist/theme.css CHANGED
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/chocolateTheme.ts
4
4
  * Command: astryx theme build src/chocolateTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.4
6
- * Core: @astryxdesign/core@0.7.4
5
+ * CLI: @astryxdesign/cli@0.7.5
6
+ * Core: @astryxdesign/core@0.7.5
7
7
  */
8
8
 
9
9
  @layer reset, astryx-base, astryx-theme;
@@ -187,9 +187,19 @@
187
187
  --color-on-dark: #FFFCF7;
188
188
  --color-on-light: #4a3520;
189
189
  --color-on-accent: light-dark(#FFFFFF, #4a3520);
190
- --color-on-success: light-dark(#FFFFFF, #4a3520);
191
- --color-on-error: light-dark(#FFFFFF, #4a3520);
190
+ --color-on-success: #141010;
191
+ --color-on-error: #141010;
192
192
  --color-on-warning: light-dark(#4a3520, #4a3520);
193
+ --color-info: light-dark(#3a5e8c, #7ba8d4);
194
+ --color-info-muted: var(--color-background-blue);
195
+ --color-text-info: light-dark(#2e4a6e, #8dbce0);
196
+ --color-text-success: light-dark(#526f00, #a8d43a);
197
+ --color-text-warning: light-dark(#7a5500, #ffd960);
198
+ --color-text-error: light-dark(#cc0000, #ff7a7a);
199
+ --color-on-info-muted: light-dark(#2e4a6e, #8dbce0);
200
+ --color-on-success-muted: light-dark(#4d6800, #a8d43a);
201
+ --color-on-warning-muted: light-dark(#7a5500, #ffd960);
202
+ --color-on-error-muted: light-dark(#b40000, #ff7a7a);
193
203
  --color-icon-accent: light-dark(#8C5927, #d4a06a);
194
204
  --color-icon-primary: light-dark(#4a3520, #EDE4D4);
195
205
  --color-icon-secondary: light-dark(#B88859, #c4a882);
@@ -262,6 +272,15 @@
262
272
  --shadow-inset-success: inset 0px 0px 0px 2px #70990050;
263
273
  --shadow-inset-warning: inset 0px 0px 0px 2px #FFB60050;
264
274
  --shadow-inset-error: inset 0px 0px 0px 2px #FD000050;
275
+ --color-on-info: light-dark(#FFFCF7, #4A3520);
276
+ --color-icon-info: var(--color-text-info);
277
+ --color-icon-success: var(--color-text-success);
278
+ --color-icon-warning: var(--color-text-warning);
279
+ --color-icon-error: var(--color-text-error);
280
+ --color-border-info: var(--color-text-info);
281
+ --color-border-success: var(--color-text-success);
282
+ --color-border-warning: var(--color-text-warning);
283
+ --color-border-error: var(--color-text-error);
265
284
  }
266
285
 
267
286
  :scope {
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/chocolateTheme.ts
4
4
  * Command: astryx theme build src/chocolateTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.4
6
- * Core: @astryxdesign/core@0.7.4
5
+ * CLI: @astryxdesign/cli@0.7.5
6
+ * Core: @astryxdesign/core@0.7.5
7
7
  */
8
8
 
9
9
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-chocolate",
3
- "version": "0.7.4",
3
+ "version": "0.7.5-canary.031a639",
4
4
  "displayName": "Chocolate Theme",
5
5
  "private": false,
6
6
  "description": "Warm chocolate theme for Astryx — rich brown palette with Fraunces headings, Albert Sans body, and Lucide icons",
@@ -57,11 +57,11 @@
57
57
  "lucide-react": "^1.18.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@astryxdesign/core": "0.7.4",
60
+ "@astryxdesign/core": "0.7.5-canary.031a639",
61
61
  "react": ">=19"
62
62
  },
63
63
  "devDependencies": {
64
- "@astryxdesign/cli": "0.7.4"
64
+ "@astryxdesign/cli": "0.7.5-canary.031a639"
65
65
  },
66
66
  "module": "./dist/source.mjs",
67
67
  "scripts": {
@@ -120,10 +120,23 @@ export const chocolateTheme = defineTheme({
120
120
  '--color-on-dark': '#FFFCF7',
121
121
  '--color-on-light': '#4a3520',
122
122
  '--color-on-accent': ['#FFFFFF', '#4a3520'],
123
- '--color-on-success': ['#FFFFFF', '#4a3520'],
124
- '--color-on-error': ['#FFFFFF', '#4a3520'],
123
+ '--color-on-success': '#141010',
124
+ '--color-on-error': '#141010',
125
125
  '--color-on-warning': ['#4a3520', '#4a3520'],
126
126
 
127
+ // Info is its own blue status, independent of the accent.
128
+ '--color-info': ['#3a5e8c', '#7ba8d4'],
129
+ '--color-info-muted': 'var(--color-background-blue)',
130
+
131
+ '--color-text-info': ['#2e4a6e', '#8dbce0'],
132
+ '--color-text-success': ['#526f00', '#a8d43a'],
133
+ '--color-text-warning': ['#7a5500', '#ffd960'],
134
+ '--color-text-error': ['#cc0000', '#ff7a7a'],
135
+ '--color-on-info-muted': ['#2e4a6e', '#8dbce0'],
136
+ '--color-on-success-muted': ['#4d6800', '#a8d43a'],
137
+ '--color-on-warning-muted': ['#7a5500', '#ffd960'],
138
+ '--color-on-error-muted': ['#b40000', '#ff7a7a'],
139
+
127
140
  // Icon
128
141
  '--color-icon-accent': ['#8C5927', '#d4a06a'],
129
142
  '--color-icon-primary': ['#4a3520', '#EDE4D4'],