@astryxdesign/theme-stone 0.7.17-canary.gdaeb596 → 0.7.17-canary.gdcdd9fa
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/source.cjs +5 -0
- package/dist/source.d.cts +1 -1
- package/dist/source.d.ts +1 -1
- package/dist/source.d.ts.map +1 -1
- package/dist/source.mjs +4 -0
- package/dist/stone.js +2 -1
- package/dist/stoneTheme.d.cts +2 -0
- package/dist/stoneTheme.d.ts +2 -0
- package/dist/stoneTheme.d.ts.map +1 -1
- package/dist/theme.css +17 -0
- package/package.json +3 -3
- package/src/source.ts +1 -1
- package/src/stoneTheme.ts +5 -0
package/dist/source.cjs
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/source.ts
|
|
21
21
|
var source_exports = {};
|
|
22
22
|
__export(source_exports, {
|
|
23
|
+
colorModes: () => colorModes,
|
|
23
24
|
stoneIconRegistry: () => stoneIconRegistry,
|
|
24
25
|
stonePalettes: () => stonePalettes,
|
|
25
26
|
stoneTheme: () => stoneTheme
|
|
@@ -180,6 +181,7 @@ var SECONDARY_COMPLEX_SELECTOR = {
|
|
|
180
181
|
borderColor: SECONDARY_BUTTON.borderColor,
|
|
181
182
|
':hover:not(:has(> :is(:disabled, [aria-disabled="true"])))': SECONDARY_BUTTON[":hover"]
|
|
182
183
|
};
|
|
184
|
+
var colorModes = ["light", "dark"];
|
|
183
185
|
var stoneTheme = (0, import_theme.defineTheme)({
|
|
184
186
|
name: "stone",
|
|
185
187
|
typography: {
|
|
@@ -340,6 +342,8 @@ var stoneTheme = (0, import_theme.defineTheme)({
|
|
|
340
342
|
"--radius-element": "0.5rem",
|
|
341
343
|
"--radius-container": "0.75rem",
|
|
342
344
|
"--radius-page": "1.5rem",
|
|
345
|
+
// Chat surfaces stay rounder than cards.
|
|
346
|
+
"--radius-chat": "28px",
|
|
343
347
|
"--radius-full": "9999px",
|
|
344
348
|
// Shadows
|
|
345
349
|
"--shadow-low": `0 2px 4px ${withAlpha(neutral.light[15], "0d")}, 0 4px 8px ${withAlpha(neutral.light[15], "1a")}`,
|
|
@@ -812,6 +816,7 @@ var stonePalettes = {
|
|
|
812
816
|
};
|
|
813
817
|
// Annotate the CommonJS export names for ESM import in node:
|
|
814
818
|
0 && (module.exports = {
|
|
819
|
+
colorModes,
|
|
815
820
|
stoneIconRegistry,
|
|
816
821
|
stonePalettes,
|
|
817
822
|
stoneTheme
|
package/dist/source.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { stonePalettes, stoneTheme } from './stoneTheme.cjs';
|
|
1
|
+
export { colorModes, stonePalettes, stoneTheme } from './stoneTheme.cjs';
|
|
2
2
|
export { stoneIconRegistry } from './icons.cjs';
|
package/dist/source.d.ts
CHANGED
package/dist/source.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAE,aAAa,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AACnE,OAAO,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAC"}
|
package/dist/source.mjs
CHANGED
|
@@ -182,6 +182,7 @@ var SECONDARY_COMPLEX_SELECTOR = {
|
|
|
182
182
|
borderColor: SECONDARY_BUTTON.borderColor,
|
|
183
183
|
':hover:not(:has(> :is(:disabled, [aria-disabled="true"])))': SECONDARY_BUTTON[":hover"]
|
|
184
184
|
};
|
|
185
|
+
var colorModes = ["light", "dark"];
|
|
185
186
|
var stoneTheme = defineTheme({
|
|
186
187
|
name: "stone",
|
|
187
188
|
typography: {
|
|
@@ -342,6 +343,8 @@ var stoneTheme = defineTheme({
|
|
|
342
343
|
"--radius-element": "0.5rem",
|
|
343
344
|
"--radius-container": "0.75rem",
|
|
344
345
|
"--radius-page": "1.5rem",
|
|
346
|
+
// Chat surfaces stay rounder than cards.
|
|
347
|
+
"--radius-chat": "28px",
|
|
345
348
|
"--radius-full": "9999px",
|
|
346
349
|
// Shadows
|
|
347
350
|
"--shadow-low": `0 2px 4px ${withAlpha(neutral.light[15], "0d")}, 0 4px 8px ${withAlpha(neutral.light[15], "1a")}`,
|
|
@@ -813,6 +816,7 @@ var stonePalettes = {
|
|
|
813
816
|
}
|
|
814
817
|
};
|
|
815
818
|
export {
|
|
819
|
+
colorModes,
|
|
816
820
|
stoneIconRegistry,
|
|
817
821
|
stonePalettes,
|
|
818
822
|
stoneTheme
|
package/dist/stone.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { stoneIconRegistry } from "./icons.mjs";
|
|
10
10
|
/**
|
|
11
|
-
* stone theme — built by `
|
|
11
|
+
* stone theme — built by `astryx theme build`
|
|
12
12
|
* Import the CSS file alongside this module:
|
|
13
13
|
*
|
|
14
14
|
* import { stoneTheme } from './stone';
|
|
@@ -206,6 +206,7 @@ export const stoneTheme = {
|
|
|
206
206
|
"--radius-element": "0.5rem",
|
|
207
207
|
"--radius-container": "0.75rem",
|
|
208
208
|
"--radius-page": "1.5rem",
|
|
209
|
+
"--radius-chat": "28px",
|
|
209
210
|
"--radius-full": "9999px",
|
|
210
211
|
"--shadow-low": "0 2px 4px #25252a0d, 0 4px 8px #25252a1a",
|
|
211
212
|
"--shadow-med": "0 2px 4px #25252a0d, 0 4px 12px #25252a1a",
|
package/dist/stoneTheme.d.cts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** The color modes stone draws: light and dark. */
|
|
2
|
+
export declare const colorModes: readonly ["light", "dark"];
|
|
1
3
|
export declare const stoneTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
|
|
2
4
|
/**
|
|
3
5
|
* Frozen released compatibility palettes. These values preserve the public
|
package/dist/stoneTheme.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** The color modes stone draws: light and dark. */
|
|
2
|
+
export declare const colorModes: readonly ["light", "dark"];
|
|
1
3
|
export declare const stoneTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
|
|
2
4
|
/**
|
|
3
5
|
* Frozen released compatibility palettes. These values preserve the public
|
package/dist/stoneTheme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stoneTheme.d.ts","sourceRoot":"","sources":["../src/stoneTheme.ts"],"names":[],"mappings":"AAsHA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"stoneTheme.d.ts","sourceRoot":"","sources":["../src/stoneTheme.ts"],"names":[],"mappings":"AAsHA,mDAAmD;AACnD,eAAO,MAAM,UAAU,4BAA6B,CAAC;AAErD,eAAO,MAAM,UAAU,gEAkarB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2PhB,CAAC"}
|
package/dist/theme.css
CHANGED
|
@@ -285,6 +285,7 @@
|
|
|
285
285
|
--radius-element: 0.5rem;
|
|
286
286
|
--radius-container: 0.75rem;
|
|
287
287
|
--radius-page: 1.5rem;
|
|
288
|
+
--radius-chat: 28px;
|
|
288
289
|
--radius-full: 9999px;
|
|
289
290
|
--shadow-low: 0 2px 4px #25252a0d, 0 4px 8px #25252a1a;
|
|
290
291
|
--shadow-med: 0 2px 4px #25252a0d, 0 4px 12px #25252a1a;
|
|
@@ -907,5 +908,21 @@
|
|
|
907
908
|
--color-icon-primary: var(--color-on-light);
|
|
908
909
|
--color-accent: var(--color-on-light);
|
|
909
910
|
}
|
|
911
|
+
|
|
912
|
+
:where(:scope[data-theme="dark"]) [data-astryx-media-dark-page="light"], :where(:scope:not([data-theme="light"], [data-theme="dark"]):not(:is([data-theme="light"], [data-theme="dark"]) *):where(html[data-astryx-scheme="dark"] *)) [data-astryx-media-dark-page="light"] {
|
|
913
|
+
color-scheme: light;
|
|
914
|
+
--color-text-primary: var(--color-on-light);
|
|
915
|
+
--color-icon-primary: var(--color-on-light);
|
|
916
|
+
--color-accent: var(--color-on-light);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
@media (prefers-color-scheme: dark) {
|
|
920
|
+
:where(:scope:not([data-theme="light"], [data-theme="dark"]):not(:is([data-theme="light"], [data-theme="dark"]) *):where(html:not([data-astryx-scheme]) *)) [data-astryx-media-dark-page="light"], :where(:is([data-theme="light"], [data-theme="dark"]) :scope:not([data-theme="light"], [data-theme="dark"])) [data-astryx-media-dark-page="light"] {
|
|
921
|
+
color-scheme: light;
|
|
922
|
+
--color-text-primary: var(--color-on-light);
|
|
923
|
+
--color-icon-primary: var(--color-on-light);
|
|
924
|
+
--color-accent: var(--color-on-light);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
910
927
|
}
|
|
911
928
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-stone",
|
|
3
|
-
"version": "0.7.17-canary.
|
|
3
|
+
"version": "0.7.17-canary.gdcdd9fa",
|
|
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.",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"lucide-react": "^1.66.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@astryxdesign/core": "0.7.17-canary.
|
|
81
|
+
"@astryxdesign/core": "0.7.17-canary.gdcdd9fa",
|
|
82
82
|
"react": ">=19"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@astryxdesign/cli": "0.7.17-canary.
|
|
85
|
+
"@astryxdesign/cli": "0.7.17-canary.gdcdd9fa"
|
|
86
86
|
},
|
|
87
87
|
"module": "./dist/source.mjs",
|
|
88
88
|
"scripts": {
|
package/src/source.ts
CHANGED
package/src/stoneTheme.ts
CHANGED
|
@@ -116,6 +116,9 @@ const SECONDARY_COMPLEX_SELECTOR = {
|
|
|
116
116
|
SECONDARY_BUTTON[':hover'],
|
|
117
117
|
} as const;
|
|
118
118
|
|
|
119
|
+
/** The color modes stone draws: light and dark. */
|
|
120
|
+
export const colorModes = ['light', 'dark'] as const;
|
|
121
|
+
|
|
119
122
|
export const stoneTheme = defineTheme({
|
|
120
123
|
name: 'stone',
|
|
121
124
|
|
|
@@ -302,6 +305,8 @@ export const stoneTheme = defineTheme({
|
|
|
302
305
|
'--radius-element': '0.5rem',
|
|
303
306
|
'--radius-container': '0.75rem',
|
|
304
307
|
'--radius-page': '1.5rem',
|
|
308
|
+
// Chat surfaces stay rounder than cards.
|
|
309
|
+
'--radius-chat': '28px',
|
|
305
310
|
'--radius-full': '9999px',
|
|
306
311
|
|
|
307
312
|
// Shadows
|