@astryxdesign/theme-chocolate 0.4.7 → 0.5.0-canary.055e75f

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.4.7
6
- * Core: @astryxdesign/core@0.4.7
5
+ * CLI: @astryxdesign/cli@0.5.0
6
+ * Core: @astryxdesign/core@0.5.0
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.4.7
6
- * Core: @astryxdesign/core@0.4.7
5
+ * CLI: @astryxdesign/cli@0.5.0
6
+ * Core: @astryxdesign/core@0.5.0
7
7
  */
8
8
 
9
9
  import { chocolateIconRegistry } from "./icons.mjs";
@@ -96,7 +96,7 @@ export const chocolateTheme = {
96
96
  "--color-syntax-tag": "light-dark(#8c3a3a, #d47a7a)",
97
97
  "--color-syntax-attribute": "light-dark(#8C5927, #d4a06a)",
98
98
  "--color-syntax-property": "light-dark(#3a7c6b, #70c4b0)",
99
- "--color-syntax-punctuation": "light-dark(#B88859, #6b5540)",
99
+ "--color-syntax-punctuation": "light-dark(#9e622e, #cb884d)",
100
100
  "--color-syntax-background": "light-dark(#FFFCF7, #1c1610)",
101
101
  "--color-accent": "light-dark(#8C5927, #d4a06a)",
102
102
  "--color-accent-muted": "light-dark(#8C592714, #d4a06a20)",
@@ -1 +1 @@
1
- {"version":3,"file":"chocolateTheme.d.ts","sourceRoot":"","sources":["../src/chocolateTheme.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,cAAc,iDAkMzB,CAAC"}
1
+ {"version":3,"file":"chocolateTheme.d.ts","sourceRoot":"","sources":["../src/chocolateTheme.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,cAAc,iDAkMzB,CAAC"}
package/dist/source.js CHANGED
@@ -82,7 +82,10 @@ var chocolateSyntax = (0, import_theme.defineSyntaxTheme)({
82
82
  tag: ["#8c3a3a", "#d47a7a"],
83
83
  attribute: ["#8C5927", "#d4a06a"],
84
84
  property: ["#3a7c6b", "#70c4b0"],
85
- punctuation: ["#B88859", "#6b5540"],
85
+ // #B88859/#6b5540 failed WCAG AA against the syntax background: 3.06:1
86
+ // light, 2.56:1 dark. #5386.
87
+ punctuation: ["#9e622e", "#cb884d"],
88
+ // 4.84:1 / 6.12:1
86
89
  background: ["#FFFCF7", "#1c1610"]
87
90
  }
88
91
  });
package/dist/source.mjs CHANGED
@@ -19,7 +19,10 @@ var chocolateSyntax = defineSyntaxTheme({
19
19
  tag: ["#8c3a3a", "#d47a7a"],
20
20
  attribute: ["#8C5927", "#d4a06a"],
21
21
  property: ["#3a7c6b", "#70c4b0"],
22
- punctuation: ["#B88859", "#6b5540"],
22
+ // #B88859/#6b5540 failed WCAG AA against the syntax background: 3.06:1
23
+ // light, 2.56:1 dark. #5386.
24
+ punctuation: ["#9e622e", "#cb884d"],
25
+ // 4.84:1 / 6.12:1
23
26
  background: ["#FFFCF7", "#1c1610"]
24
27
  }
25
28
  });
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.4.7
6
- * Core: @astryxdesign/core@0.4.7
5
+ * CLI: @astryxdesign/cli@0.5.0
6
+ * Core: @astryxdesign/core@0.5.0
7
7
  */
8
8
 
9
9
  @layer reset {
@@ -162,7 +162,7 @@
162
162
  --color-syntax-tag: light-dark(#8c3a3a, #d47a7a);
163
163
  --color-syntax-attribute: light-dark(#8C5927, #d4a06a);
164
164
  --color-syntax-property: light-dark(#3a7c6b, #70c4b0);
165
- --color-syntax-punctuation: light-dark(#B88859, #6b5540);
165
+ --color-syntax-punctuation: light-dark(#9e622e, #cb884d);
166
166
  --color-syntax-background: light-dark(#FFFCF7, #1c1610);
167
167
  --color-accent: light-dark(#8C5927, #d4a06a);
168
168
  --color-accent-muted: light-dark(#8C592714, #d4a06a20);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-chocolate",
3
- "version": "0.4.7",
3
+ "version": "0.5.0-canary.055e75f",
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",
@@ -49,11 +49,11 @@
49
49
  "lucide-react": "^1.18.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@astryxdesign/core": "0.4.7",
52
+ "@astryxdesign/core": "0.5.0-canary.055e75f",
53
53
  "react": ">=19"
54
54
  },
55
55
  "devDependencies": {
56
- "@astryxdesign/cli": "0.4.7",
56
+ "@astryxdesign/cli": "0.5.0-canary.055e75f",
57
57
  "rimraf": "^6.0.1"
58
58
  },
59
59
  "module": "./dist/source.mjs",
@@ -27,7 +27,9 @@ const chocolateSyntax = defineSyntaxTheme({
27
27
  tag: ['#8c3a3a', '#d47a7a'],
28
28
  attribute: ['#8C5927', '#d4a06a'],
29
29
  property: ['#3a7c6b', '#70c4b0'],
30
- punctuation: ['#B88859', '#6b5540'],
30
+ // #B88859/#6b5540 failed WCAG AA against the syntax background: 3.06:1
31
+ // light, 2.56:1 dark. #5386.
32
+ punctuation: ['#9e622e', '#cb884d'], // 4.84:1 / 6.12:1
31
33
  background: ['#FFFCF7', '#1c1610'],
32
34
  },
33
35
  });