@astryxdesign/theme-stone 0.7.12-canary.f36bd72 → 0.7.12

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.
@@ -0,0 +1,2 @@
1
+ import type { IconRegistry } from '@astryxdesign/core/Icon';
2
+ export declare const stoneIconRegistry: IconRegistry;
@@ -0,0 +1,2 @@
1
+ export { stonePalettes, stoneTheme } from './stoneTheme.cjs';
2
+ export { stoneIconRegistry } from './icons.cjs';
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
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-stone",
3
- "version": "0.7.12-canary.f36bd72",
3
+ "version": "0.7.12",
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
- "main": "./dist/source.js",
28
+ "type": "module",
29
+ "main": "./dist/source.cjs",
29
30
  "types": "./dist/source.d.ts",
30
31
  "exports": {
31
32
  ".": {
32
- "types": "./dist/source.d.ts",
33
- "import": "./dist/source.mjs",
34
- "require": "./dist/source.js"
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.12-canary.f36bd72",
81
+ "@astryxdesign/core": "0.7.12",
75
82
  "react": ">=19"
76
83
  },
77
84
  "devDependencies": {
78
- "@astryxdesign/cli": "0.7.12-canary.f36bd72"
85
+ "@astryxdesign/cli": "0.7.12"
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/theme.css.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ export {};
File without changes