@astryxdesign/theme-stone 0.7.11 → 0.7.12-canary.0840fcc
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/icons.d.cts +2 -0
- package/dist/{source.js → source.cjs} +2 -1
- package/dist/source.d.cts +2 -0
- package/dist/source.d.ts +2 -2
- package/dist/source.mjs +2 -1
- package/dist/stone.d.ts +2 -2
- package/dist/stone.js +3 -3
- package/dist/stoneTheme.d.cts +260 -0
- package/dist/theme.css +51 -27
- package/dist/theme.css.d.ts +2 -2
- package/package.json +15 -8
- package/src/stoneTheme.ts +1 -1
- package/theme.css.d.ts +3 -0
package/dist/icons.d.cts
ADDED
|
@@ -288,7 +288,8 @@ var stoneTheme = (0, import_theme.defineTheme)({
|
|
|
288
288
|
],
|
|
289
289
|
"--color-tint-hover": [neutral.light[0], neutral.dark[100]],
|
|
290
290
|
// Typography override
|
|
291
|
-
"--text-supporting-size": "
|
|
291
|
+
"--text-supporting-size": "0.75rem",
|
|
292
|
+
// 12px at the default root size
|
|
292
293
|
// Categorical
|
|
293
294
|
// Light mode pairs pastel stop 90 surfaces with stop 30 foregrounds.
|
|
294
295
|
// Dark mode pairs stop 35 surfaces with stop 90 foregrounds; borders move
|
package/dist/source.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { stonePalettes, stoneTheme } from './stoneTheme';
|
|
2
|
-
export { stoneIconRegistry } from './icons';
|
|
1
|
+
export { stonePalettes, stoneTheme } from './stoneTheme.js';
|
|
2
|
+
export { stoneIconRegistry } from './icons.js';
|
|
3
3
|
//# sourceMappingURL=source.d.ts.map
|
package/dist/source.mjs
CHANGED
|
@@ -290,7 +290,8 @@ var stoneTheme = defineTheme({
|
|
|
290
290
|
],
|
|
291
291
|
"--color-tint-hover": [neutral.light[0], neutral.dark[100]],
|
|
292
292
|
// Typography override
|
|
293
|
-
"--text-supporting-size": "
|
|
293
|
+
"--text-supporting-size": "0.75rem",
|
|
294
|
+
// 12px at the default root size
|
|
294
295
|
// Categorical
|
|
295
296
|
// Light mode pairs pastel stop 90 surfaces with stop 30 foregrounds.
|
|
296
297
|
// Dark mode pairs stop 35 surfaces with stop 90 foregrounds; borders move
|
package/dist/stone.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/stoneTheme.ts
|
|
4
4
|
* Command: astryx theme build src/stoneTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import type { DefinedTheme } from '@astryxdesign/core/theme';
|
package/dist/stone.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/stoneTheme.ts
|
|
4
4
|
* Command: astryx theme build src/stoneTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { stoneIconRegistry } from "./icons.mjs";
|
|
@@ -60,7 +60,7 @@ export const stoneTheme = {
|
|
|
60
60
|
"--text-code-size": "var(--font-size-base)",
|
|
61
61
|
"--text-code-weight": "var(--font-weight-normal)",
|
|
62
62
|
"--text-code-leading": "1.4286",
|
|
63
|
-
"--text-supporting-size": "
|
|
63
|
+
"--text-supporting-size": "0.75rem",
|
|
64
64
|
"--text-supporting-weight": "var(--font-weight-normal)",
|
|
65
65
|
"--text-supporting-leading": "1.4545",
|
|
66
66
|
"--text-display-1-size": "var(--font-size-5xl)",
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
export declare const stoneTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
|
|
2
|
+
/**
|
|
3
|
+
* Frozen released compatibility palettes. These values preserve the public
|
|
4
|
+
* `stonePalettes` numeric stops, `hue`, and `chroma` for existing consumers;
|
|
5
|
+
* the maintained theme renders selected stops from
|
|
6
|
+
* `stonePalettes.generated.ts` instead. Components should consume semantic
|
|
7
|
+
* theme tokens, and charts should use the data-visualization color API.
|
|
8
|
+
*/
|
|
9
|
+
export declare const stonePalettes: {
|
|
10
|
+
readonly neutral: {
|
|
11
|
+
readonly hue: 291;
|
|
12
|
+
readonly chroma: 3;
|
|
13
|
+
readonly 0: "#000000";
|
|
14
|
+
readonly 5: "#111015";
|
|
15
|
+
readonly 10: "#1b1b1f";
|
|
16
|
+
readonly 15: "#25252a";
|
|
17
|
+
readonly 20: "#303034";
|
|
18
|
+
readonly 25: "#3b3b3f";
|
|
19
|
+
readonly 30: "#46464b";
|
|
20
|
+
readonly 35: "#525257";
|
|
21
|
+
readonly 40: "#5e5e63";
|
|
22
|
+
readonly 45: "#6a6a6f";
|
|
23
|
+
readonly 50: "#77777c";
|
|
24
|
+
readonly 55: "#838388";
|
|
25
|
+
readonly 60: "#909095";
|
|
26
|
+
readonly 65: "#9d9da3";
|
|
27
|
+
readonly 70: "#ababb0";
|
|
28
|
+
readonly 75: "#b8b8be";
|
|
29
|
+
readonly 80: "#c6c6cc";
|
|
30
|
+
readonly 85: "#d4d4da";
|
|
31
|
+
readonly 90: "#e2e2e8";
|
|
32
|
+
readonly 95: "#f0f0f6";
|
|
33
|
+
readonly 100: "#ffffff";
|
|
34
|
+
};
|
|
35
|
+
readonly blue: {
|
|
36
|
+
readonly hue: 265;
|
|
37
|
+
readonly chroma: 10;
|
|
38
|
+
readonly 0: "#000000";
|
|
39
|
+
readonly 5: "#04121e";
|
|
40
|
+
readonly 10: "#111c29";
|
|
41
|
+
readonly 15: "#1b2734";
|
|
42
|
+
readonly 20: "#26313f";
|
|
43
|
+
readonly 25: "#313c4a";
|
|
44
|
+
readonly 30: "#3c4856";
|
|
45
|
+
readonly 35: "#485362";
|
|
46
|
+
readonly 40: "#545f6e";
|
|
47
|
+
readonly 45: "#606c7b";
|
|
48
|
+
readonly 50: "#6c7888";
|
|
49
|
+
readonly 55: "#798595";
|
|
50
|
+
readonly 60: "#8692a2";
|
|
51
|
+
readonly 65: "#939faf";
|
|
52
|
+
readonly 70: "#a0acbd";
|
|
53
|
+
readonly 75: "#adbacb";
|
|
54
|
+
readonly 80: "#bbc8d9";
|
|
55
|
+
readonly 85: "#c9d6e7";
|
|
56
|
+
readonly 90: "#d7e4f5";
|
|
57
|
+
readonly 95: "#e7f2ff";
|
|
58
|
+
readonly 100: "#ffffff";
|
|
59
|
+
};
|
|
60
|
+
readonly cyan: {
|
|
61
|
+
readonly hue: 190;
|
|
62
|
+
readonly chroma: 10;
|
|
63
|
+
readonly 0: "#000000";
|
|
64
|
+
readonly 5: "#001613";
|
|
65
|
+
readonly 10: "#071f1e";
|
|
66
|
+
readonly 15: "#122a28";
|
|
67
|
+
readonly 20: "#1d3433";
|
|
68
|
+
readonly 25: "#28403e";
|
|
69
|
+
readonly 30: "#334b49";
|
|
70
|
+
readonly 35: "#3e5755";
|
|
71
|
+
readonly 40: "#4a6361";
|
|
72
|
+
readonly 45: "#566f6d";
|
|
73
|
+
readonly 50: "#627c7a";
|
|
74
|
+
readonly 55: "#6f8986";
|
|
75
|
+
readonly 60: "#7b9693";
|
|
76
|
+
readonly 65: "#88a3a0";
|
|
77
|
+
readonly 70: "#95b1ae";
|
|
78
|
+
readonly 75: "#a3bebb";
|
|
79
|
+
readonly 80: "#b0ccc9";
|
|
80
|
+
readonly 85: "#bedad7";
|
|
81
|
+
readonly 90: "#cce8e5";
|
|
82
|
+
readonly 95: "#daf7f4";
|
|
83
|
+
readonly 100: "#ffffff";
|
|
84
|
+
};
|
|
85
|
+
readonly green: {
|
|
86
|
+
readonly hue: 142;
|
|
87
|
+
readonly chroma: 17;
|
|
88
|
+
readonly 0: "#000000";
|
|
89
|
+
readonly 5: "#001700";
|
|
90
|
+
readonly 10: "#0c200a";
|
|
91
|
+
readonly 15: "#162a16";
|
|
92
|
+
readonly 20: "#213521";
|
|
93
|
+
readonly 25: "#2b402b";
|
|
94
|
+
readonly 30: "#374c36";
|
|
95
|
+
readonly 35: "#425841";
|
|
96
|
+
readonly 40: "#4e644d";
|
|
97
|
+
readonly 45: "#5a7059";
|
|
98
|
+
readonly 50: "#667d65";
|
|
99
|
+
readonly 55: "#728a71";
|
|
100
|
+
readonly 60: "#7f977e";
|
|
101
|
+
readonly 65: "#8ca48b";
|
|
102
|
+
readonly 70: "#99b298";
|
|
103
|
+
readonly 75: "#a7bfa5";
|
|
104
|
+
readonly 80: "#b4cdb2";
|
|
105
|
+
readonly 85: "#c2dbc0";
|
|
106
|
+
readonly 90: "#d0e9ce";
|
|
107
|
+
readonly 95: "#def8dc";
|
|
108
|
+
readonly 100: "#ffffff";
|
|
109
|
+
};
|
|
110
|
+
readonly teal: {
|
|
111
|
+
readonly hue: 158;
|
|
112
|
+
readonly chroma: 9;
|
|
113
|
+
readonly 0: "#000000";
|
|
114
|
+
readonly 5: "#00150a";
|
|
115
|
+
readonly 10: "#101e17";
|
|
116
|
+
readonly 15: "#1a2921";
|
|
117
|
+
readonly 20: "#25342b";
|
|
118
|
+
readonly 25: "#303f36";
|
|
119
|
+
readonly 30: "#3b4a41";
|
|
120
|
+
readonly 35: "#46564d";
|
|
121
|
+
readonly 40: "#526259";
|
|
122
|
+
readonly 45: "#5e6e65";
|
|
123
|
+
readonly 50: "#6a7b71";
|
|
124
|
+
readonly 55: "#77887e";
|
|
125
|
+
readonly 60: "#83958a";
|
|
126
|
+
readonly 65: "#90a297";
|
|
127
|
+
readonly 70: "#9dafa5";
|
|
128
|
+
readonly 75: "#abbdb2";
|
|
129
|
+
readonly 80: "#b8cbc0";
|
|
130
|
+
readonly 85: "#c6d9ce";
|
|
131
|
+
readonly 90: "#d4e7dc";
|
|
132
|
+
readonly 95: "#e2f5ea";
|
|
133
|
+
readonly 100: "#ffffff";
|
|
134
|
+
};
|
|
135
|
+
readonly yellow: {
|
|
136
|
+
readonly hue: 90;
|
|
137
|
+
readonly chroma: 23;
|
|
138
|
+
readonly 0: "#000000";
|
|
139
|
+
readonly 5: "#1f0f00";
|
|
140
|
+
readonly 10: "#261a00";
|
|
141
|
+
readonly 15: "#2f2500";
|
|
142
|
+
readonly 20: "#3a2f0d";
|
|
143
|
+
readonly 25: "#463a18";
|
|
144
|
+
readonly 30: "#524622";
|
|
145
|
+
readonly 35: "#5e512d";
|
|
146
|
+
readonly 40: "#6b5d39";
|
|
147
|
+
readonly 45: "#786944";
|
|
148
|
+
readonly 50: "#857650";
|
|
149
|
+
readonly 55: "#92825c";
|
|
150
|
+
readonly 60: "#9f8f68";
|
|
151
|
+
readonly 65: "#ad9c75";
|
|
152
|
+
readonly 70: "#bbaa81";
|
|
153
|
+
readonly 75: "#c9b78e";
|
|
154
|
+
readonly 80: "#d7c59c";
|
|
155
|
+
readonly 85: "#e5d3a9";
|
|
156
|
+
readonly 90: "#f4e1b7";
|
|
157
|
+
readonly 95: "#ffefc7";
|
|
158
|
+
readonly 100: "#ffffff";
|
|
159
|
+
};
|
|
160
|
+
readonly orange: {
|
|
161
|
+
readonly hue: 70;
|
|
162
|
+
readonly chroma: 22;
|
|
163
|
+
readonly 0: "#000000";
|
|
164
|
+
readonly 5: "#250a00";
|
|
165
|
+
readonly 10: "#2d1700";
|
|
166
|
+
readonly 15: "#372104";
|
|
167
|
+
readonly 20: "#432c12";
|
|
168
|
+
readonly 25: "#4f361c";
|
|
169
|
+
readonly 30: "#5b4227";
|
|
170
|
+
readonly 35: "#684d32";
|
|
171
|
+
readonly 40: "#75593d";
|
|
172
|
+
readonly 45: "#826548";
|
|
173
|
+
readonly 50: "#8f7154";
|
|
174
|
+
readonly 55: "#9d7e60";
|
|
175
|
+
readonly 60: "#aa8b6d";
|
|
176
|
+
readonly 65: "#b89879";
|
|
177
|
+
readonly 70: "#c6a586";
|
|
178
|
+
readonly 75: "#d4b393";
|
|
179
|
+
readonly 80: "#e3c0a0";
|
|
180
|
+
readonly 85: "#f1ceae";
|
|
181
|
+
readonly 90: "#ffdcbb";
|
|
182
|
+
readonly 95: "#ffeddc";
|
|
183
|
+
readonly 100: "#ffffff";
|
|
184
|
+
};
|
|
185
|
+
readonly red: {
|
|
186
|
+
readonly hue: 33;
|
|
187
|
+
readonly chroma: 11;
|
|
188
|
+
readonly 0: "#000000";
|
|
189
|
+
readonly 5: "#210a04";
|
|
190
|
+
readonly 10: "#2a1714";
|
|
191
|
+
readonly 15: "#35211e";
|
|
192
|
+
readonly 20: "#402b28";
|
|
193
|
+
readonly 25: "#4c3633";
|
|
194
|
+
readonly 30: "#58413e";
|
|
195
|
+
readonly 35: "#644d49";
|
|
196
|
+
readonly 40: "#715955";
|
|
197
|
+
readonly 45: "#7e6561";
|
|
198
|
+
readonly 50: "#8a716d";
|
|
199
|
+
readonly 55: "#987e7a";
|
|
200
|
+
readonly 60: "#a58b86";
|
|
201
|
+
readonly 65: "#b39893";
|
|
202
|
+
readonly 70: "#c0a5a1";
|
|
203
|
+
readonly 75: "#ceb3ae";
|
|
204
|
+
readonly 80: "#dcc0bc";
|
|
205
|
+
readonly 85: "#ebcec9";
|
|
206
|
+
readonly 90: "#f9dcd7";
|
|
207
|
+
readonly 95: "#ffece9";
|
|
208
|
+
readonly 100: "#ffffff";
|
|
209
|
+
};
|
|
210
|
+
readonly pink: {
|
|
211
|
+
readonly hue: 340;
|
|
212
|
+
readonly chroma: 9;
|
|
213
|
+
readonly 0: "#000000";
|
|
214
|
+
readonly 5: "#1b0c16";
|
|
215
|
+
readonly 10: "#251720";
|
|
216
|
+
readonly 15: "#30222a";
|
|
217
|
+
readonly 20: "#3b2c35";
|
|
218
|
+
readonly 25: "#463740";
|
|
219
|
+
readonly 30: "#52424c";
|
|
220
|
+
readonly 35: "#5e4e57";
|
|
221
|
+
readonly 40: "#6a5a63";
|
|
222
|
+
readonly 45: "#776670";
|
|
223
|
+
readonly 50: "#83727c";
|
|
224
|
+
readonly 55: "#907f89";
|
|
225
|
+
readonly 60: "#9d8c96";
|
|
226
|
+
readonly 65: "#ab99a3";
|
|
227
|
+
readonly 70: "#b8a6b1";
|
|
228
|
+
readonly 75: "#c6b4be";
|
|
229
|
+
readonly 80: "#d4c1cc";
|
|
230
|
+
readonly 85: "#e2cfda";
|
|
231
|
+
readonly 90: "#f0dde8";
|
|
232
|
+
readonly 95: "#ffebf7";
|
|
233
|
+
readonly 100: "#ffffff";
|
|
234
|
+
};
|
|
235
|
+
readonly purple: {
|
|
236
|
+
readonly hue: 307;
|
|
237
|
+
readonly chroma: 11;
|
|
238
|
+
readonly 0: "#000000";
|
|
239
|
+
readonly 5: "#150e1d";
|
|
240
|
+
readonly 10: "#1f1927";
|
|
241
|
+
readonly 15: "#292332";
|
|
242
|
+
readonly 20: "#342e3d";
|
|
243
|
+
readonly 25: "#3f3949";
|
|
244
|
+
readonly 30: "#4b4454";
|
|
245
|
+
readonly 35: "#564f60";
|
|
246
|
+
readonly 40: "#635b6d";
|
|
247
|
+
readonly 45: "#6f6779";
|
|
248
|
+
readonly 50: "#7b7486";
|
|
249
|
+
readonly 55: "#888193";
|
|
250
|
+
readonly 60: "#958da0";
|
|
251
|
+
readonly 65: "#a39aad";
|
|
252
|
+
readonly 70: "#b0a8bb";
|
|
253
|
+
readonly 75: "#beb5c9";
|
|
254
|
+
readonly 80: "#cbc3d7";
|
|
255
|
+
readonly 85: "#d9d1e5";
|
|
256
|
+
readonly 90: "#e8dff3";
|
|
257
|
+
readonly 95: "#f6edff";
|
|
258
|
+
readonly 100: "#ffffff";
|
|
259
|
+
};
|
|
260
|
+
};
|
package/dist/theme.css
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/stoneTheme.ts
|
|
4
4
|
* Command: astryx theme build src/stoneTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
@layer reset, astryx-base, astryx-theme;
|
|
@@ -86,18 +86,30 @@
|
|
|
86
86
|
|
|
87
87
|
@scope ([data-astryx-theme="stone"]) to ([data-astryx-theme]) {
|
|
88
88
|
:scope {
|
|
89
|
-
--font-size-4xs: 0.3125rem;
|
|
90
|
-
--font-size-
|
|
91
|
-
--font-size-
|
|
92
|
-
--font-size-
|
|
93
|
-
--font-size-
|
|
94
|
-
--font-size-
|
|
95
|
-
--font-size-
|
|
96
|
-
--font-size-
|
|
97
|
-
--font-size-
|
|
98
|
-
--font-size-
|
|
99
|
-
--font-size-
|
|
100
|
-
--font-size-
|
|
89
|
+
--_scaled-font-size-4xs: min(calc(0.3125rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
|
|
90
|
+
--font-size-4xs: var(--_scaled-font-size-4xs);
|
|
91
|
+
--_scaled-font-size-3xs: min(calc(0.375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
|
|
92
|
+
--font-size-3xs: var(--_scaled-font-size-3xs);
|
|
93
|
+
--_scaled-font-size-2xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
|
|
94
|
+
--font-size-2xs: var(--_scaled-font-size-2xs);
|
|
95
|
+
--_scaled-font-size-xs: min(calc(0.5625rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
|
|
96
|
+
--font-size-xs: var(--_scaled-font-size-xs);
|
|
97
|
+
--_scaled-font-size-sm: min(calc(0.6875rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
|
|
98
|
+
--font-size-sm: var(--_scaled-font-size-sm);
|
|
99
|
+
--_scaled-font-size-base: min(calc(0.875rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
|
|
100
|
+
--font-size-base: var(--_scaled-font-size-base);
|
|
101
|
+
--_scaled-font-size-lg: min(calc(1.125rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
|
|
102
|
+
--font-size-lg: var(--_scaled-font-size-lg);
|
|
103
|
+
--_scaled-font-size-xl: min(calc(1.375rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
|
|
104
|
+
--font-size-xl: var(--_scaled-font-size-xl);
|
|
105
|
+
--_scaled-font-size-2xl: min(calc(1.6875rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
|
|
106
|
+
--font-size-2xl: var(--_scaled-font-size-2xl);
|
|
107
|
+
--_scaled-font-size-3xl: min(calc(2.125rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
|
|
108
|
+
--font-size-3xl: var(--_scaled-font-size-3xl);
|
|
109
|
+
--_scaled-font-size-4xl: min(calc(2.6875rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
|
|
110
|
+
--font-size-4xl: var(--_scaled-font-size-4xl);
|
|
111
|
+
--_scaled-font-size-5xl: calc(3.3125rem * var(--_dynamic-type-large-title, 1));
|
|
112
|
+
--font-size-5xl: var(--_scaled-font-size-5xl);
|
|
101
113
|
--text-heading-1-size: var(--font-size-2xl);
|
|
102
114
|
--text-heading-1-weight: var(--font-weight-semibold);
|
|
103
115
|
--text-heading-1-leading: 1.3333;
|
|
@@ -128,7 +140,7 @@
|
|
|
128
140
|
--text-code-size: var(--font-size-base);
|
|
129
141
|
--text-code-weight: var(--font-weight-normal);
|
|
130
142
|
--text-code-leading: 1.4286;
|
|
131
|
-
--text-supporting-size:
|
|
143
|
+
--text-supporting-size: calc(0.75rem * var(--_dynamic-type-footnote, 1));
|
|
132
144
|
--text-supporting-weight: var(--font-weight-normal);
|
|
133
145
|
--text-supporting-leading: 1.4545;
|
|
134
146
|
--text-display-1-size: var(--font-size-5xl);
|
|
@@ -763,18 +775,30 @@
|
|
|
763
775
|
@media (width < 1024px) and (pointer: coarse) {
|
|
764
776
|
@scope ([data-astryx-theme="stone"]) to ([data-astryx-theme]) {
|
|
765
777
|
:scope {
|
|
766
|
-
--font-size-4xs: 0.375rem;
|
|
767
|
-
--font-size-
|
|
768
|
-
--font-size-
|
|
769
|
-
--font-size-
|
|
770
|
-
--font-size-
|
|
771
|
-
--font-size-
|
|
772
|
-
--font-size-
|
|
773
|
-
--font-size-
|
|
774
|
-
--font-size-
|
|
775
|
-
--font-size-
|
|
776
|
-
--font-size-
|
|
777
|
-
--font-size-
|
|
778
|
+
--_scaled-font-size-4xs: min(calc(0.375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
|
|
779
|
+
--font-size-4xs: var(--_scaled-font-size-4xs);
|
|
780
|
+
--_scaled-font-size-3xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
|
|
781
|
+
--font-size-3xs: var(--_scaled-font-size-3xs);
|
|
782
|
+
--_scaled-font-size-2xs: min(calc(0.5625rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
|
|
783
|
+
--font-size-2xs: var(--_scaled-font-size-2xs);
|
|
784
|
+
--_scaled-font-size-xs: min(calc(0.6875rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
|
|
785
|
+
--font-size-xs: var(--_scaled-font-size-xs);
|
|
786
|
+
--_scaled-font-size-sm: min(calc(0.8125rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
|
|
787
|
+
--font-size-sm: var(--_scaled-font-size-sm);
|
|
788
|
+
--_scaled-font-size-base: min(calc(1rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
|
|
789
|
+
--font-size-base: var(--_scaled-font-size-base);
|
|
790
|
+
--_scaled-font-size-lg: min(calc(1.25rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
|
|
791
|
+
--font-size-lg: var(--_scaled-font-size-lg);
|
|
792
|
+
--_scaled-font-size-xl: min(calc(1.5rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
|
|
793
|
+
--font-size-xl: var(--_scaled-font-size-xl);
|
|
794
|
+
--_scaled-font-size-2xl: min(calc(1.8125rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
|
|
795
|
+
--font-size-2xl: var(--_scaled-font-size-2xl);
|
|
796
|
+
--_scaled-font-size-3xl: min(calc(2.25rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
|
|
797
|
+
--font-size-3xl: var(--_scaled-font-size-3xl);
|
|
798
|
+
--_scaled-font-size-4xl: min(calc(2.75rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
|
|
799
|
+
--font-size-4xl: var(--_scaled-font-size-4xl);
|
|
800
|
+
--_scaled-font-size-5xl: calc(3.3125rem * var(--_dynamic-type-large-title, 1));
|
|
801
|
+
--font-size-5xl: var(--_scaled-font-size-5xl);
|
|
778
802
|
--text-heading-1-size: var(--font-size-2xl);
|
|
779
803
|
--text-heading-1-weight: var(--font-weight-semibold);
|
|
780
804
|
--text-heading-1-leading: 1.3793;
|
package/dist/theme.css.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/stoneTheme.ts
|
|
4
4
|
* Command: astryx theme build src/stoneTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-stone",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.12-canary.0840fcc",
|
|
4
4
|
"displayName": "Stone Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Warm stone and slate, earthy and understated, with just enough character to feel handcrafted.",
|
|
@@ -25,13 +25,19 @@
|
|
|
25
25
|
"sideEffects": [
|
|
26
26
|
"**/*.css"
|
|
27
27
|
],
|
|
28
|
-
"
|
|
28
|
+
"type": "module",
|
|
29
|
+
"main": "./dist/source.cjs",
|
|
29
30
|
"types": "./dist/source.d.ts",
|
|
30
31
|
"exports": {
|
|
31
32
|
".": {
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/source.d.ts",
|
|
35
|
+
"default": "./dist/source.mjs"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/source.d.cts",
|
|
39
|
+
"default": "./dist/source.cjs"
|
|
40
|
+
}
|
|
35
41
|
},
|
|
36
42
|
"./built": {
|
|
37
43
|
"types": "./dist/stone.d.ts",
|
|
@@ -52,6 +58,7 @@
|
|
|
52
58
|
"src",
|
|
53
59
|
"fonts.css",
|
|
54
60
|
"fonts.css.d.ts",
|
|
61
|
+
"theme.css.d.ts",
|
|
55
62
|
"palette.config.json",
|
|
56
63
|
"!**/*.test.*",
|
|
57
64
|
"!**/*.spec.js",
|
|
@@ -71,15 +78,15 @@
|
|
|
71
78
|
"lucide-react": "^1.18.0"
|
|
72
79
|
},
|
|
73
80
|
"peerDependencies": {
|
|
74
|
-
"@astryxdesign/core": "0.7.
|
|
81
|
+
"@astryxdesign/core": "0.7.12-canary.0840fcc",
|
|
75
82
|
"react": ">=19"
|
|
76
83
|
},
|
|
77
84
|
"devDependencies": {
|
|
78
|
-
"@astryxdesign/cli": "0.7.
|
|
85
|
+
"@astryxdesign/cli": "0.7.12-canary.0840fcc"
|
|
79
86
|
},
|
|
80
87
|
"module": "./dist/source.mjs",
|
|
81
88
|
"scripts": {
|
|
82
89
|
"api:report": "node ../../../scripts/api-report/cli.mjs --package .",
|
|
83
|
-
"build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-stone-palette-refs.mjs --check && astryx theme build src/stoneTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"
|
|
90
|
+
"build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-stone-palette-refs.mjs --check && astryx theme build src/stoneTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/add-declaration-extensions.mjs && node ../../../scripts/emit-commonjs-declarations.mjs dist/source.d.ts && node ../../../scripts/check-fully-specified.mjs"
|
|
84
91
|
}
|
|
85
92
|
}
|
package/src/stoneTheme.ts
CHANGED
|
@@ -240,7 +240,7 @@ export const stoneTheme = defineTheme({
|
|
|
240
240
|
'--color-tint-hover': [neutral.light[0], neutral.dark[100]],
|
|
241
241
|
|
|
242
242
|
// Typography override
|
|
243
|
-
'--text-supporting-size': '
|
|
243
|
+
'--text-supporting-size': '0.75rem', // 12px at the default root size
|
|
244
244
|
|
|
245
245
|
// Categorical
|
|
246
246
|
// Light mode pairs pastel stop 90 surfaces with stop 30 foregrounds.
|
package/theme.css.d.ts
ADDED