@astryxdesign/theme-gothic 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/gothic.d.ts +1 -0
- package/dist/gothic.js +4 -2
- package/dist/gothicTheme.d.cts +6 -0
- package/dist/gothicTheme.d.ts +6 -0
- package/dist/gothicTheme.d.ts.map +1 -1
- package/dist/source.cjs +6 -1
- 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 +5 -1
- package/dist/theme.css +2 -1
- package/package.json +3 -3
- package/src/gothicTheme.ts +14 -2
- package/src/source.ts +1 -1
package/dist/gothic.d.ts
CHANGED
|
@@ -10,3 +10,4 @@ import type { DefinedTheme } from '@astryxdesign/core/theme';
|
|
|
10
10
|
import type { IconRegistry } from '@astryxdesign/core/Icon';
|
|
11
11
|
export declare const gothicIconRegistry: IconRegistry;
|
|
12
12
|
export declare const gothicTheme: DefinedTheme;
|
|
13
|
+
export declare const colorModes: readonly ["dark"];
|
package/dist/gothic.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { gothicIconRegistry } from "./icons.mjs";
|
|
10
10
|
/**
|
|
11
|
-
* gothic theme — built by `
|
|
11
|
+
* gothic theme — built by `astryx theme build`
|
|
12
12
|
* Import the CSS file alongside this module:
|
|
13
13
|
*
|
|
14
14
|
* import { gothicTheme } from './gothic';
|
|
@@ -207,6 +207,7 @@ export const gothicTheme = {
|
|
|
207
207
|
"--radius-element": "0.5rem",
|
|
208
208
|
"--radius-container": "0.75rem",
|
|
209
209
|
"--radius-page": "1.5rem",
|
|
210
|
+
"--radius-chat": "28px",
|
|
210
211
|
"--radius-full": "9999px",
|
|
211
212
|
"--shadow-low": "0 2px 4px #00000033, 0 4px 8px #00000040",
|
|
212
213
|
"--shadow-med": "0 2px 4px #00000033, 0 4px 12px #00000040",
|
|
@@ -601,7 +602,7 @@ export const gothicTheme = {
|
|
|
601
602
|
}
|
|
602
603
|
},
|
|
603
604
|
"table-row": {
|
|
604
|
-
"
|
|
605
|
+
"striped": {
|
|
605
606
|
":nth-child(even of :not([data-expansion-panel]))": {
|
|
606
607
|
"--color-text-primary": "#e8f1f6",
|
|
607
608
|
"--color-text-secondary": "#96a0ab",
|
|
@@ -843,3 +844,4 @@ export const gothicTheme = {
|
|
|
843
844
|
};
|
|
844
845
|
|
|
845
846
|
export { gothicIconRegistry };
|
|
847
|
+
export const colorModes = ["dark"];
|
package/dist/gothicTheme.d.cts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gothic draws one color mode, dark, in light and dark pages alike. Tools
|
|
3
|
+
* read this to judge it in that mode; the build writes it into the built
|
|
4
|
+
* module.
|
|
5
|
+
*/
|
|
6
|
+
export declare const colorModes: readonly ["dark"];
|
|
1
7
|
export declare const gothicTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
|
|
2
8
|
/**
|
|
3
9
|
* Frozen released compatibility palettes. These values preserve the public
|
package/dist/gothicTheme.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gothic draws one color mode, dark, in light and dark pages alike. Tools
|
|
3
|
+
* read this to judge it in that mode; the build writes it into the built
|
|
4
|
+
* module.
|
|
5
|
+
*/
|
|
6
|
+
export declare const colorModes: readonly ["dark"];
|
|
1
7
|
export declare const gothicTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
|
|
2
8
|
/**
|
|
3
9
|
* Frozen released compatibility palettes. These values preserve the public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gothicTheme.d.ts","sourceRoot":"","sources":["../src/gothicTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gothicTheme.d.ts","sourceRoot":"","sources":["../src/gothicTheme.ts"],"names":[],"mappings":"AAmLA;;;;GAIG;AACH,eAAO,MAAM,UAAU,mBAAoB,CAAC;AAE5C,eAAO,MAAM,WAAW,gEAmWtB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsQjB,CAAC"}
|
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
|
gothicIconRegistry: () => gothicIconRegistry,
|
|
24
25
|
gothicPalettes: () => gothicPalettes,
|
|
25
26
|
gothicTheme: () => gothicTheme
|
|
@@ -131,7 +132,7 @@ var OWN_FILL_RULES = [
|
|
|
131
132
|
["avatar-group-overflow", "base"],
|
|
132
133
|
["segmented-control-item", "selected"],
|
|
133
134
|
["step-indicator", "progress:not-started"],
|
|
134
|
-
["table-row", "
|
|
135
|
+
["table-row", "striped", STRIPED_ROW],
|
|
135
136
|
["banner-content", "base"],
|
|
136
137
|
["input-group-text", "base"],
|
|
137
138
|
["text-input", "base"],
|
|
@@ -216,6 +217,7 @@ var SECONDARY_SELECTOR = {
|
|
|
216
217
|
borderWidth: SECONDARY_BUTTON.borderWidth
|
|
217
218
|
}
|
|
218
219
|
};
|
|
220
|
+
var colorModes = ["dark"];
|
|
219
221
|
var gothicTheme = (0, import_theme.defineTheme)({
|
|
220
222
|
name: "gothic",
|
|
221
223
|
typography: {
|
|
@@ -346,6 +348,8 @@ var gothicTheme = (0, import_theme.defineTheme)({
|
|
|
346
348
|
"--radius-element": "0.5rem",
|
|
347
349
|
"--radius-container": "0.75rem",
|
|
348
350
|
"--radius-page": "1.5rem",
|
|
351
|
+
// Chat surfaces stay rounder than cards.
|
|
352
|
+
"--radius-chat": "28px",
|
|
349
353
|
"--radius-full": "9999px",
|
|
350
354
|
// =========================================================================
|
|
351
355
|
// Shadows — restrained, atmospheric
|
|
@@ -797,6 +801,7 @@ var gothicPalettes = {
|
|
|
797
801
|
};
|
|
798
802
|
// Annotate the CommonJS export names for ESM import in node:
|
|
799
803
|
0 && (module.exports = {
|
|
804
|
+
colorModes,
|
|
800
805
|
gothicIconRegistry,
|
|
801
806
|
gothicPalettes,
|
|
802
807
|
gothicTheme
|
package/dist/source.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { gothicPalettes, gothicTheme } from './gothicTheme.cjs';
|
|
1
|
+
export { colorModes, gothicPalettes, gothicTheme } from './gothicTheme.cjs';
|
|
2
2
|
export { gothicIconRegistry } 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,cAAc,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAE,cAAc,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC"}
|
package/dist/source.mjs
CHANGED
|
@@ -133,7 +133,7 @@ var OWN_FILL_RULES = [
|
|
|
133
133
|
["avatar-group-overflow", "base"],
|
|
134
134
|
["segmented-control-item", "selected"],
|
|
135
135
|
["step-indicator", "progress:not-started"],
|
|
136
|
-
["table-row", "
|
|
136
|
+
["table-row", "striped", STRIPED_ROW],
|
|
137
137
|
["banner-content", "base"],
|
|
138
138
|
["input-group-text", "base"],
|
|
139
139
|
["text-input", "base"],
|
|
@@ -218,6 +218,7 @@ var SECONDARY_SELECTOR = {
|
|
|
218
218
|
borderWidth: SECONDARY_BUTTON.borderWidth
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
|
+
var colorModes = ["dark"];
|
|
221
222
|
var gothicTheme = defineTheme({
|
|
222
223
|
name: "gothic",
|
|
223
224
|
typography: {
|
|
@@ -348,6 +349,8 @@ var gothicTheme = defineTheme({
|
|
|
348
349
|
"--radius-element": "0.5rem",
|
|
349
350
|
"--radius-container": "0.75rem",
|
|
350
351
|
"--radius-page": "1.5rem",
|
|
352
|
+
// Chat surfaces stay rounder than cards.
|
|
353
|
+
"--radius-chat": "28px",
|
|
351
354
|
"--radius-full": "9999px",
|
|
352
355
|
// =========================================================================
|
|
353
356
|
// Shadows — restrained, atmospheric
|
|
@@ -798,6 +801,7 @@ var gothicPalettes = {
|
|
|
798
801
|
}
|
|
799
802
|
};
|
|
800
803
|
export {
|
|
804
|
+
colorModes,
|
|
801
805
|
gothicIconRegistry,
|
|
802
806
|
gothicPalettes,
|
|
803
807
|
gothicTheme
|
package/dist/theme.css
CHANGED
|
@@ -283,6 +283,7 @@
|
|
|
283
283
|
--radius-element: 0.5rem;
|
|
284
284
|
--radius-container: 0.75rem;
|
|
285
285
|
--radius-page: 1.5rem;
|
|
286
|
+
--radius-chat: 28px;
|
|
286
287
|
--radius-full: 9999px;
|
|
287
288
|
--shadow-low: 0 2px 4px #00000033, 0 4px 8px #00000040;
|
|
288
289
|
--shadow-med: 0 2px 4px #00000033, 0 4px 12px #00000040;
|
|
@@ -708,7 +709,7 @@
|
|
|
708
709
|
--color-text-accent: #e8f1f6;
|
|
709
710
|
}
|
|
710
711
|
|
|
711
|
-
.astryx-table-row:nth-child(even of :not([data-expansion-panel])) {
|
|
712
|
+
.astryx-table-row[data-striped="striped"]:nth-child(even of :not([data-expansion-panel])) {
|
|
712
713
|
--color-text-primary: #e8f1f6;
|
|
713
714
|
--color-text-secondary: #96a0ab;
|
|
714
715
|
--color-text-accent: #e8f1f6;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-gothic",
|
|
3
|
-
"version": "0.7.17-canary.
|
|
3
|
+
"version": "0.7.17-canary.gdcdd9fa",
|
|
4
4
|
"displayName": "Gothic Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Deep blue-grays and a signature display serif. Dramatic and editorial, for surfaces that want to be remembered.",
|
|
@@ -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/gothicTheme.ts
CHANGED
|
@@ -30,7 +30,10 @@ const SURFACE_TEXT = {
|
|
|
30
30
|
'--color-text-accent': neutral.dark[95],
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Core's selector for a striped table's painted rows, under the row's
|
|
35
|
+
* `striped` state.
|
|
36
|
+
*/
|
|
34
37
|
const STRIPED_ROW = ':nth-child(even of :not([data-expansion-panel]))';
|
|
35
38
|
|
|
36
39
|
/**
|
|
@@ -60,7 +63,7 @@ const OWN_FILL_RULES: ReadonlyArray<readonly [string, string, string?]> = [
|
|
|
60
63
|
['avatar-group-overflow', 'base'],
|
|
61
64
|
['segmented-control-item', 'selected'],
|
|
62
65
|
['step-indicator', 'progress:not-started'],
|
|
63
|
-
['table-row', '
|
|
66
|
+
['table-row', 'striped', STRIPED_ROW],
|
|
64
67
|
['banner-content', 'base'],
|
|
65
68
|
['input-group-text', 'base'],
|
|
66
69
|
['text-input', 'base'],
|
|
@@ -174,6 +177,13 @@ const SECONDARY_SELECTOR = {
|
|
|
174
177
|
},
|
|
175
178
|
} as const;
|
|
176
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Gothic draws one color mode, dark, in light and dark pages alike. Tools
|
|
182
|
+
* read this to judge it in that mode; the build writes it into the built
|
|
183
|
+
* module.
|
|
184
|
+
*/
|
|
185
|
+
export const colorModes = ['dark'] as const;
|
|
186
|
+
|
|
177
187
|
export const gothicTheme = defineTheme({
|
|
178
188
|
name: 'gothic',
|
|
179
189
|
|
|
@@ -329,6 +339,8 @@ export const gothicTheme = defineTheme({
|
|
|
329
339
|
'--radius-element': '0.5rem',
|
|
330
340
|
'--radius-container': '0.75rem',
|
|
331
341
|
'--radius-page': '1.5rem',
|
|
342
|
+
// Chat surfaces stay rounder than cards.
|
|
343
|
+
'--radius-chat': '28px',
|
|
332
344
|
'--radius-full': '9999px',
|
|
333
345
|
|
|
334
346
|
// =========================================================================
|
package/src/source.ts
CHANGED