@astryxdesign/theme-neutral 0.2.0-canary.ea693ac → 0.2.0-canary.ebed74f
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.d.ts +2 -1
- package/dist/neutral.js +3 -2
- package/dist/neutral.variants.d.ts +2 -1
- package/dist/neutralTheme.d.ts.map +1 -1
- package/dist/source.js +4 -1
- package/dist/source.mjs +4 -1
- package/dist/theme.css +3 -2
- package/package.json +3 -3
- package/src/neutralTheme.ts +4 -1
package/dist/neutral.d.ts
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/neutralTheme.ts
|
|
4
4
|
* Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
|
|
5
|
-
*
|
|
5
|
+
* CLI: @astryxdesign/cli@0.2.0
|
|
6
|
+
* Core: @astryxdesign/core@0.2.0
|
|
6
7
|
*/
|
|
7
8
|
|
|
8
9
|
/// <reference path="./neutral.variants.d.ts" />
|
package/dist/neutral.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/neutralTheme.ts
|
|
4
4
|
* Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
|
|
5
|
-
*
|
|
5
|
+
* CLI: @astryxdesign/cli@0.2.0
|
|
6
|
+
* Core: @astryxdesign/core@0.2.0
|
|
6
7
|
*/
|
|
7
8
|
|
|
8
9
|
import { neutralIconRegistry } from './icons';
|
|
@@ -109,7 +110,7 @@ export const neutralTheme = {
|
|
|
109
110
|
"--color-overlay-hover": "light-dark(#0000000D, #FFFFFF0D)",
|
|
110
111
|
"--color-overlay-pressed": "light-dark(#0000001A, #FFFFFF1A)",
|
|
111
112
|
"--color-text-primary": "light-dark(#171717, #fafafa)",
|
|
112
|
-
"--color-text-secondary": "light-dark(#
|
|
113
|
+
"--color-text-secondary": "light-dark(#525252, #a3a3a3)",
|
|
113
114
|
"--color-text-disabled": "light-dark(#a3a3a3, #525252)",
|
|
114
115
|
"--color-text-accent": "light-dark(#262626, #ebebeb)",
|
|
115
116
|
"--color-on-dark": "#ffffff",
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/neutralTheme.ts
|
|
4
4
|
* Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
|
|
5
|
-
*
|
|
5
|
+
* CLI: @astryxdesign/cli@0.2.0
|
|
6
|
+
* Core: @astryxdesign/core@0.2.0
|
|
6
7
|
*/
|
|
7
8
|
|
|
8
9
|
// Generated by astryx theme build
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AA0DA,eAAO,MAAM,YAAY,iDAkkBvB,CAAC"}
|
package/dist/source.js
CHANGED
|
@@ -174,7 +174,10 @@ var neutralTheme = (0, import_theme.defineTheme)({
|
|
|
174
174
|
"--color-overlay-pressed": ["#0000001A", "#FFFFFF1A"],
|
|
175
175
|
// Text
|
|
176
176
|
"--color-text-primary": ["#171717", "#fafafa"],
|
|
177
|
-
|
|
177
|
+
// Light secondary is neutral-600 (#525252), not 500 (#737373): 500 only
|
|
178
|
+
// reaches 4.19:1 on the T95 body (#f1f1f1), just under WCAG AA 4.5:1.
|
|
179
|
+
// 600 clears it (6.9:1 on body, 7.8:1 on card). Dark stays neutral-400.
|
|
180
|
+
"--color-text-secondary": ["#525252", "#a3a3a3"],
|
|
178
181
|
"--color-text-disabled": ["#a3a3a3", "#525252"],
|
|
179
182
|
"--color-text-accent": ["#262626", "#ebebeb"],
|
|
180
183
|
"--color-on-dark": "#ffffff",
|
package/dist/source.mjs
CHANGED
|
@@ -113,7 +113,10 @@ var neutralTheme = defineTheme({
|
|
|
113
113
|
"--color-overlay-pressed": ["#0000001A", "#FFFFFF1A"],
|
|
114
114
|
// Text
|
|
115
115
|
"--color-text-primary": ["#171717", "#fafafa"],
|
|
116
|
-
|
|
116
|
+
// Light secondary is neutral-600 (#525252), not 500 (#737373): 500 only
|
|
117
|
+
// reaches 4.19:1 on the T95 body (#f1f1f1), just under WCAG AA 4.5:1.
|
|
118
|
+
// 600 clears it (6.9:1 on body, 7.8:1 on card). Dark stays neutral-400.
|
|
119
|
+
"--color-text-secondary": ["#525252", "#a3a3a3"],
|
|
117
120
|
"--color-text-disabled": ["#a3a3a3", "#525252"],
|
|
118
121
|
"--color-text-accent": ["#262626", "#ebebeb"],
|
|
119
122
|
"--color-on-dark": "#ffffff",
|
package/dist/theme.css
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/neutralTheme.ts
|
|
4
4
|
* Command: astryx theme build src/neutralTheme.ts --out dist/theme.css
|
|
5
|
-
*
|
|
5
|
+
* CLI: @astryxdesign/cli@0.2.0
|
|
6
|
+
* Core: @astryxdesign/core@0.2.0
|
|
6
7
|
*/
|
|
7
8
|
|
|
8
9
|
@layer reset {
|
|
@@ -175,7 +176,7 @@
|
|
|
175
176
|
--color-overlay-hover: light-dark(#0000000D, #FFFFFF0D);
|
|
176
177
|
--color-overlay-pressed: light-dark(#0000001A, #FFFFFF1A);
|
|
177
178
|
--color-text-primary: light-dark(#171717, #fafafa);
|
|
178
|
-
--color-text-secondary: light-dark(#
|
|
179
|
+
--color-text-secondary: light-dark(#525252, #a3a3a3);
|
|
179
180
|
--color-text-disabled: light-dark(#a3a3a3, #525252);
|
|
180
181
|
--color-text-accent: light-dark(#262626, #ebebeb);
|
|
181
182
|
--color-on-dark: #ffffff;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-neutral",
|
|
3
|
-
"version": "0.2.0-canary.
|
|
3
|
+
"version": "0.2.0-canary.ebed74f",
|
|
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.2.0-canary.
|
|
52
|
+
"@astryxdesign/core": "0.2.0-canary.ebed74f",
|
|
53
53
|
"react": ">=19"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@astryxdesign/cli": "0.2.0-canary.
|
|
56
|
+
"@astryxdesign/cli": "0.2.0-canary.ebed74f"
|
|
57
57
|
},
|
|
58
58
|
"module": "./dist/source.mjs",
|
|
59
59
|
"scripts": {
|
package/src/neutralTheme.ts
CHANGED
|
@@ -144,7 +144,10 @@ export const neutralTheme = defineTheme({
|
|
|
144
144
|
|
|
145
145
|
// Text
|
|
146
146
|
'--color-text-primary': ['#171717', '#fafafa'],
|
|
147
|
-
|
|
147
|
+
// Light secondary is neutral-600 (#525252), not 500 (#737373): 500 only
|
|
148
|
+
// reaches 4.19:1 on the T95 body (#f1f1f1), just under WCAG AA 4.5:1.
|
|
149
|
+
// 600 clears it (6.9:1 on body, 7.8:1 on card). Dark stays neutral-400.
|
|
150
|
+
'--color-text-secondary': ['#525252', '#a3a3a3'],
|
|
148
151
|
'--color-text-disabled': ['#a3a3a3', '#525252'],
|
|
149
152
|
'--color-text-accent': ['#262626', '#ebebeb'],
|
|
150
153
|
'--color-on-dark': '#ffffff',
|