@astryxdesign/theme-neutral 0.5.0-canary.f4d494c → 0.5.0

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.js CHANGED
@@ -96,7 +96,7 @@ export const neutralTheme = {
96
96
  "--color-syntax-tag": "light-dark(#89001a, #ffaeaa)",
97
97
  "--color-syntax-attribute": "light-dark(#584400, #eec12f)",
98
98
  "--color-syntax-property": "light-dark(#005348, #83dac9)",
99
- "--color-syntax-punctuation": "light-dark(#6e6e6e, #a0a0a0)",
99
+ "--color-syntax-punctuation": "light-dark(#a3a3a3, #525252)",
100
100
  "--color-syntax-background": "light-dark(#fafafa, #0a0a0a)",
101
101
  "--color-background-surface": "light-dark(#ffffff, #262626)",
102
102
  "--color-background-body": "light-dark(#f1f1f1, #1b1b1b)",
@@ -1 +1 @@
1
- {"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA6DA,eAAO,MAAM,YAAY,iDA2kBvB,CAAC"}
1
+ {"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA2DA,eAAO,MAAM,YAAY,iDA2kBvB,CAAC"}
package/dist/source.js CHANGED
@@ -94,10 +94,8 @@ var neutralSyntax = (0, import_theme.defineSyntaxTheme)({
94
94
  // yellow
95
95
  property: ["#005348", "#83dac9"],
96
96
  // teal
97
- // #a3a3a3/#525252 (this pair's own disabled-text tone) failed WCAG AA
98
- // against the syntax background: 2.42:1 light, 2.53:1 dark. #5386.
99
- punctuation: ["#6e6e6e", "#a0a0a0"],
100
- // neutral, 4.89:1 / 7.57:1
97
+ punctuation: ["#a3a3a3", "#525252"],
98
+ // neutral
101
99
  background: ["#fafafa", "#0a0a0a"]
102
100
  }
103
101
  });
package/dist/source.mjs CHANGED
@@ -31,10 +31,8 @@ var neutralSyntax = defineSyntaxTheme({
31
31
  // yellow
32
32
  property: ["#005348", "#83dac9"],
33
33
  // teal
34
- // #a3a3a3/#525252 (this pair's own disabled-text tone) failed WCAG AA
35
- // against the syntax background: 2.42:1 light, 2.53:1 dark. #5386.
36
- punctuation: ["#6e6e6e", "#a0a0a0"],
37
- // neutral, 4.89:1 / 7.57:1
34
+ punctuation: ["#a3a3a3", "#525252"],
35
+ // neutral
38
36
  background: ["#fafafa", "#0a0a0a"]
39
37
  }
40
38
  });
package/dist/theme.css CHANGED
@@ -162,7 +162,7 @@
162
162
  --color-syntax-tag: light-dark(#89001a, #ffaeaa);
163
163
  --color-syntax-attribute: light-dark(#584400, #eec12f);
164
164
  --color-syntax-property: light-dark(#005348, #83dac9);
165
- --color-syntax-punctuation: light-dark(#6e6e6e, #a0a0a0);
165
+ --color-syntax-punctuation: light-dark(#a3a3a3, #525252);
166
166
  --color-syntax-background: light-dark(#fafafa, #0a0a0a);
167
167
  --color-background-surface: light-dark(#ffffff, #262626);
168
168
  --color-background-body: light-dark(#f1f1f1, #1b1b1b);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-neutral",
3
- "version": "0.5.0-canary.f4d494c",
3
+ "version": "0.5.0",
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.5.0-canary.f4d494c",
52
+ "@astryxdesign/core": "0.5.0",
53
53
  "react": ">=19"
54
54
  },
55
55
  "devDependencies": {
56
- "@astryxdesign/cli": "0.5.0-canary.f4d494c",
56
+ "@astryxdesign/cli": "0.5.0",
57
57
  "rimraf": "^6.0.1"
58
58
  },
59
59
  "module": "./dist/source.mjs",
@@ -52,9 +52,7 @@ const neutralSyntax = defineSyntaxTheme({
52
52
  tag: ['#89001a', '#ffaeaa'], // red
53
53
  attribute: ['#584400', '#eec12f'], // yellow
54
54
  property: ['#005348', '#83dac9'], // teal
55
- // #a3a3a3/#525252 (this pair's own disabled-text tone) failed WCAG AA
56
- // against the syntax background: 2.42:1 light, 2.53:1 dark. #5386.
57
- punctuation: ['#6e6e6e', '#a0a0a0'], // neutral, 4.89:1 / 7.57:1
55
+ punctuation: ['#a3a3a3', '#525252'], // neutral
58
56
  background: ['#fafafa', '#0a0a0a'],
59
57
  },
60
58
  });