@astryxdesign/theme-gothic 0.7.17-canary.g4ea41ce → 0.7.17-canary.g5a3fd39

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.js CHANGED
@@ -153,6 +153,7 @@ export const gothicTheme = {
153
153
  "--color-success": "#b3c79a",
154
154
  "--color-success-muted": "#b3c79a",
155
155
  "--color-error": "#c6a6a2",
156
+ "--color-background-error-inverted": "#825e59",
156
157
  "--color-error-muted": "#c6a6a2",
157
158
  "--color-warning": "#d3c490",
158
159
  "--color-warning-muted": "#d3c490",
@@ -76,6 +76,7 @@ export declare const gothicPaletteRefs: {
76
76
  readonly 5: "#220806";
77
77
  readonly 20: "#4a2520";
78
78
  readonly 30: "#5e3a35";
79
+ readonly 45: "#825e59";
79
80
  readonly 60: "#a48581";
80
81
  readonly 75: "#c6a6a2";
81
82
  };
@@ -1 +1 @@
1
- {"version":3,"file":"gothicPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/gothicPaletteRefs.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BpB,CAAC;AAEX,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"gothicPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/gothicPaletteRefs.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BpB,CAAC;AAEX,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"gothicTheme.d.ts","sourceRoot":"","sources":["../src/gothicTheme.ts"],"names":[],"mappings":"AAoFA,eAAO,MAAM,WAAW,gEA0UtB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsQjB,CAAC"}
1
+ {"version":3,"file":"gothicTheme.d.ts","sourceRoot":"","sources":["../src/gothicTheme.ts"],"names":[],"mappings":"AAoFA,eAAO,MAAM,WAAW,gEA+UtB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsQjB,CAAC"}
package/dist/source.cjs CHANGED
@@ -92,7 +92,7 @@ var gothicPaletteRefs = {
92
92
  dark: { 20: "#174a40", 30: "#1f5e52", 60: "#86a499", 70: "#7cc5b3", 75: "#a3c2b6" }
93
93
  },
94
94
  red: {
95
- dark: { 5: "#220806", 20: "#4a2520", 30: "#5e3a35", 60: "#a48581", 75: "#c6a6a2" }
95
+ dark: { 5: "#220806", 20: "#4a2520", 30: "#5e3a35", 45: "#825e59", 60: "#a48581", 75: "#c6a6a2" }
96
96
  },
97
97
  cyan: {
98
98
  dark: { 20: "#204858", 30: "#2a5e75", 60: "#86a4b1", 75: "#a3c2cf" }
@@ -208,6 +208,11 @@ var gothicTheme = (0, import_theme.defineTheme)({
208
208
  "--color-success": green.dark[75],
209
209
  "--color-success-muted": green.dark[75],
210
210
  "--color-error": red.dark[75],
211
+ // The error toast's surface, the same in both modes as every gothic
212
+ // surface. Core's dark-mode red is too bright for gothic's pale text.
213
+ // This step keeps that text at 4.97:1, and the card at 3.28:1 against
214
+ // the page.
215
+ "--color-background-error-inverted": red.dark[45],
211
216
  "--color-error-muted": red.dark[75],
212
217
  "--color-warning": yellow.dark[75],
213
218
  "--color-warning-muted": yellow.dark[75],
package/dist/source.mjs CHANGED
@@ -94,7 +94,7 @@ var gothicPaletteRefs = {
94
94
  dark: { 20: "#174a40", 30: "#1f5e52", 60: "#86a499", 70: "#7cc5b3", 75: "#a3c2b6" }
95
95
  },
96
96
  red: {
97
- dark: { 5: "#220806", 20: "#4a2520", 30: "#5e3a35", 60: "#a48581", 75: "#c6a6a2" }
97
+ dark: { 5: "#220806", 20: "#4a2520", 30: "#5e3a35", 45: "#825e59", 60: "#a48581", 75: "#c6a6a2" }
98
98
  },
99
99
  cyan: {
100
100
  dark: { 20: "#204858", 30: "#2a5e75", 60: "#86a4b1", 75: "#a3c2cf" }
@@ -210,6 +210,11 @@ var gothicTheme = defineTheme({
210
210
  "--color-success": green.dark[75],
211
211
  "--color-success-muted": green.dark[75],
212
212
  "--color-error": red.dark[75],
213
+ // The error toast's surface, the same in both modes as every gothic
214
+ // surface. Core's dark-mode red is too bright for gothic's pale text.
215
+ // This step keeps that text at 4.97:1, and the card at 3.28:1 against
216
+ // the page.
217
+ "--color-background-error-inverted": red.dark[45],
213
218
  "--color-error-muted": red.dark[75],
214
219
  "--color-warning": yellow.dark[75],
215
220
  "--color-warning-muted": yellow.dark[75],
package/dist/theme.css CHANGED
@@ -229,6 +229,7 @@
229
229
  --color-success: #b3c79a;
230
230
  --color-success-muted: #b3c79a;
231
231
  --color-error: #c6a6a2;
232
+ --color-background-error-inverted: #825e59;
232
233
  --color-error-muted: #c6a6a2;
233
234
  --color-warning: #d3c490;
234
235
  --color-warning-muted: #d3c490;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-gothic",
3
- "version": "0.7.17-canary.g4ea41ce",
3
+ "version": "0.7.17-canary.g5a3fd39",
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.g4ea41ce",
81
+ "@astryxdesign/core": "0.7.17-canary.g5a3fd39",
82
82
  "react": ">=19"
83
83
  },
84
84
  "devDependencies": {
85
- "@astryxdesign/cli": "0.7.17-canary.g4ea41ce"
85
+ "@astryxdesign/cli": "0.7.17-canary.g5a3fd39"
86
86
  },
87
87
  "module": "./dist/source.mjs",
88
88
  "scripts": {
@@ -28,7 +28,7 @@ export const gothicPaletteRefs = {
28
28
  dark: {20: '#174a40', 30: '#1f5e52', 60: '#86a499', 70: '#7cc5b3', 75: '#a3c2b6'},
29
29
  },
30
30
  red: {
31
- dark: {5: '#220806', 20: '#4a2520', 30: '#5e3a35', 60: '#a48581', 75: '#c6a6a2'},
31
+ dark: {5: '#220806', 20: '#4a2520', 30: '#5e3a35', 45: '#825e59', 60: '#a48581', 75: '#c6a6a2'},
32
32
  },
33
33
  cyan: {
34
34
  dark: {20: '#204858', 30: '#2a5e75', 60: '#86a4b1', 75: '#a3c2cf'},
@@ -160,6 +160,11 @@ export const gothicTheme = defineTheme({
160
160
  '--color-success': green.dark[75],
161
161
  '--color-success-muted': green.dark[75],
162
162
  '--color-error': red.dark[75],
163
+ // The error toast's surface, the same in both modes as every gothic
164
+ // surface. Core's dark-mode red is too bright for gothic's pale text.
165
+ // This step keeps that text at 4.97:1, and the card at 3.28:1 against
166
+ // the page.
167
+ '--color-background-error-inverted': red.dark[45],
163
168
  '--color-error-muted': red.dark[75],
164
169
  '--color-warning': yellow.dark[75],
165
170
  '--color-warning-muted': yellow.dark[75],