@astryxdesign/theme-neutral 0.5.0-canary.ea888ef → 0.5.0-canary.f2eec71
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 +1 -1
- package/dist/neutralTheme.d.ts.map +1 -1
- package/dist/source.js +4 -2
- package/dist/source.mjs +4 -2
- package/dist/theme.css +1 -1
- package/package.json +3 -3
- package/src/neutralTheme.ts +3 -1
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(#
|
|
99
|
+
"--color-syntax-punctuation": "light-dark(#6e6e6e, #a0a0a0)",
|
|
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":"
|
|
1
|
+
{"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA6DA,eAAO,MAAM,YAAY,iDA2kBvB,CAAC"}
|
package/dist/source.js
CHANGED
|
@@ -94,8 +94,10 @@ var neutralSyntax = (0, import_theme.defineSyntaxTheme)({
|
|
|
94
94
|
// yellow
|
|
95
95
|
property: ["#005348", "#83dac9"],
|
|
96
96
|
// teal
|
|
97
|
-
|
|
98
|
-
//
|
|
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
|
|
99
101
|
background: ["#fafafa", "#0a0a0a"]
|
|
100
102
|
}
|
|
101
103
|
});
|
package/dist/source.mjs
CHANGED
|
@@ -31,8 +31,10 @@ var neutralSyntax = defineSyntaxTheme({
|
|
|
31
31
|
// yellow
|
|
32
32
|
property: ["#005348", "#83dac9"],
|
|
33
33
|
// teal
|
|
34
|
-
|
|
35
|
-
//
|
|
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
|
|
36
38
|
background: ["#fafafa", "#0a0a0a"]
|
|
37
39
|
}
|
|
38
40
|
});
|
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(#
|
|
165
|
+
--color-syntax-punctuation: light-dark(#6e6e6e, #a0a0a0);
|
|
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.
|
|
3
|
+
"version": "0.5.0-canary.f2eec71",
|
|
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.
|
|
52
|
+
"@astryxdesign/core": "0.5.0-canary.f2eec71",
|
|
53
53
|
"react": ">=19"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@astryxdesign/cli": "0.5.0-canary.
|
|
56
|
+
"@astryxdesign/cli": "0.5.0-canary.f2eec71",
|
|
57
57
|
"rimraf": "^6.0.1"
|
|
58
58
|
},
|
|
59
59
|
"module": "./dist/source.mjs",
|
package/src/neutralTheme.ts
CHANGED
|
@@ -52,7 +52,9 @@ const neutralSyntax = defineSyntaxTheme({
|
|
|
52
52
|
tag: ['#89001a', '#ffaeaa'], // red
|
|
53
53
|
attribute: ['#584400', '#eec12f'], // yellow
|
|
54
54
|
property: ['#005348', '#83dac9'], // teal
|
|
55
|
-
|
|
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
|
|
56
58
|
background: ['#fafafa', '#0a0a0a'],
|
|
57
59
|
},
|
|
58
60
|
});
|