@astryxdesign/theme-chocolate 0.7.17-canary.gffd1c8e → 0.7.17
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/README.md +6 -10
- package/dist/chocolate.js +8 -7
- package/dist/chocolateTheme.d.cts +2 -0
- package/dist/chocolateTheme.d.ts +2 -0
- package/dist/chocolateTheme.d.ts.map +1 -1
- package/dist/source.cjs +15 -8
- 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 +13 -7
- package/dist/theme.css +23 -7
- package/fonts/albert-sans-latin-400-normal.woff2 +0 -0
- package/fonts/albert-sans-latin-500-normal.woff2 +0 -0
- package/fonts/albert-sans-latin-600-normal.woff2 +0 -0
- package/fonts/albert-sans-latin-700-normal.woff2 +0 -0
- package/fonts/albert-sans-latin-ext-400-normal.woff2 +0 -0
- package/fonts/albert-sans-latin-ext-500-normal.woff2 +0 -0
- package/fonts/albert-sans-latin-ext-600-normal.woff2 +0 -0
- package/fonts/albert-sans-latin-ext-700-normal.woff2 +0 -0
- package/fonts/albert-sans.LICENSE.txt +93 -0
- package/fonts/fraunces-latin-ext-opsz-normal.woff2 +0 -0
- package/fonts/fraunces-latin-opsz-normal.woff2 +0 -0
- package/fonts/fraunces-vietnamese-opsz-normal.woff2 +0 -0
- package/fonts/fraunces.LICENSE.txt +93 -0
- package/fonts/jetbrains-mono-cyrillic-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-cyrillic-ext-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-greek-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-latin-ext-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-400-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-500-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-600-normal.woff2 +0 -0
- package/fonts/jetbrains-mono-vietnamese-700-normal.woff2 +0 -0
- package/fonts/jetbrains-mono.LICENSE.txt +93 -0
- package/fonts.css +406 -1
- package/package.json +4 -3
- package/src/chocolateTheme.ts +13 -6
- package/src/source.ts +1 -1
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -49,16 +49,12 @@ This theme uses custom typefaces:
|
|
|
49
49
|
| Heading | Fraunces |
|
|
50
50
|
| Code | JetBrains Mono |
|
|
51
51
|
|
|
52
|
-
**
|
|
52
|
+
**Load them with the theme's font stylesheet.** It loads each font from font files shipped in this package (in `fonts/`, with their licenses), each with `font-display: fallback`, so a page never waits on a network; served from the same machine or a fast connection, the text first draws in the theme's fonts (a face that takes more than about 3 s leaves that page in the fallback font) (an offline machine, a sandbox, CI):
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
```html
|
|
57
|
-
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
58
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
59
|
-
<link
|
|
60
|
-
rel="stylesheet"
|
|
61
|
-
href="https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" />
|
|
54
|
+
```css
|
|
55
|
+
@import '@astryxdesign/theme-chocolate/fonts.css';
|
|
62
56
|
```
|
|
63
57
|
|
|
64
|
-
|
|
58
|
+
To use Google Fonts' CDN instead, add its stylesheet to your page in place of the import: `<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" />`.
|
|
59
|
+
|
|
60
|
+
Without it, the theme falls back to system fonts.
|
package/dist/chocolate.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { chocolateIconRegistry } from "./icons.mjs";
|
|
10
10
|
/**
|
|
11
|
-
* chocolate theme — built by `
|
|
11
|
+
* chocolate theme — built by `astryx theme build`
|
|
12
12
|
* Import the CSS file alongside this module:
|
|
13
13
|
*
|
|
14
14
|
* import { chocolateTheme } from './chocolate';
|
|
@@ -167,7 +167,7 @@ export const chocolateTheme = {
|
|
|
167
167
|
"--color-background-cyan": "light-dark(#3a7c7c33, #3a7c7c33)",
|
|
168
168
|
"--color-border-cyan": "light-dark(#3a7c7c, #70c4c4)",
|
|
169
169
|
"--color-icon-cyan": "light-dark(#3a7c7c, #70c4c4)",
|
|
170
|
-
"--color-text-cyan": "light-dark(#
|
|
170
|
+
"--color-text-cyan": "light-dark(#2d5f5f, #82d4d4)",
|
|
171
171
|
"--color-background-gray": "light-dark(#B8885933, #6b554033)",
|
|
172
172
|
"--color-border-gray": "light-dark(#B88859, #B88859)",
|
|
173
173
|
"--color-icon-gray": "light-dark(#B88859, #c4a882)",
|
|
@@ -175,15 +175,15 @@ export const chocolateTheme = {
|
|
|
175
175
|
"--color-background-green": "light-dark(#70990033, #96bf2a33)",
|
|
176
176
|
"--color-border-green": "light-dark(#709900, #96bf2a)",
|
|
177
177
|
"--color-icon-green": "light-dark(#709900, #96bf2a)",
|
|
178
|
-
"--color-text-green": "light-dark(#
|
|
178
|
+
"--color-text-green": "light-dark(#476300, #a8d43a)",
|
|
179
179
|
"--color-background-orange": "light-dark(#c4762033, #d4903a33)",
|
|
180
180
|
"--color-border-orange": "light-dark(#c47620, #d4903a)",
|
|
181
181
|
"--color-icon-orange": "light-dark(#c47620, #d4903a)",
|
|
182
|
-
"--color-text-orange": "light-dark(#
|
|
182
|
+
"--color-text-orange": "light-dark(#894a04, #e0a04a)",
|
|
183
183
|
"--color-background-pink": "light-dark(#c44a7033, #e07a9a33)",
|
|
184
184
|
"--color-border-pink": "light-dark(#c44a70, #e07a9a)",
|
|
185
185
|
"--color-icon-pink": "light-dark(#c44a70, #e07a9a)",
|
|
186
|
-
"--color-text-pink": "light-dark(#
|
|
186
|
+
"--color-text-pink": "light-dark(#963152, #f08aaa)",
|
|
187
187
|
"--color-background-purple": "light-dark(#6b4a8c33, #b08ed433)",
|
|
188
188
|
"--color-border-purple": "light-dark(#6b4a8c, #b08ed4)",
|
|
189
189
|
"--color-icon-purple": "light-dark(#6b4a8c, #b08ed4)",
|
|
@@ -191,7 +191,7 @@ export const chocolateTheme = {
|
|
|
191
191
|
"--color-background-red": "light-dark(#FD000033, #ff5c5c33)",
|
|
192
192
|
"--color-border-red": "light-dark(#FD0000, #ff5c5c)",
|
|
193
193
|
"--color-icon-red": "light-dark(#FD0000, #ff5c5c)",
|
|
194
|
-
"--color-text-red": "light-dark(#
|
|
194
|
+
"--color-text-red": "light-dark(#a80000, #ff7a7a)",
|
|
195
195
|
"--color-background-teal": "light-dark(#2e6b5a33, #5ab89833)",
|
|
196
196
|
"--color-border-teal": "light-dark(#2e6b5a, #5ab898)",
|
|
197
197
|
"--color-icon-teal": "light-dark(#2e6b5a, #5ab898)",
|
|
@@ -199,12 +199,13 @@ export const chocolateTheme = {
|
|
|
199
199
|
"--color-background-yellow": "light-dark(#FFB60033, #ffc94033)",
|
|
200
200
|
"--color-border-yellow": "light-dark(#FFB600, #ffc940)",
|
|
201
201
|
"--color-icon-yellow": "light-dark(#FFB600, #ffc940)",
|
|
202
|
-
"--color-text-yellow": "light-dark(#
|
|
202
|
+
"--color-text-yellow": "light-dark(#805a00, #ffd960)",
|
|
203
203
|
"--radius-none": "0px",
|
|
204
204
|
"--radius-inner": "0.375rem",
|
|
205
205
|
"--radius-element": "0.625rem",
|
|
206
206
|
"--radius-container": "0.75rem",
|
|
207
207
|
"--radius-page": "1.5rem",
|
|
208
|
+
"--radius-chat": "28px",
|
|
208
209
|
"--radius-full": "9999px",
|
|
209
210
|
"--shadow-low": "0 2px 4px #4a35200D, 0 4px 8px #4a35201A",
|
|
210
211
|
"--shadow-med": "0 2px 4px #4a35200D, 0 4px 12px #4a35201A",
|
package/dist/chocolateTheme.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chocolateTheme.d.ts","sourceRoot":"","sources":["../src/chocolateTheme.ts"],"names":[],"mappings":"AAuFA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"chocolateTheme.d.ts","sourceRoot":"","sources":["../src/chocolateTheme.ts"],"names":[],"mappings":"AAuFA,uDAAuD;AACvD,eAAO,MAAM,UAAU,4BAA6B,CAAC;AAErD,eAAO,MAAM,cAAc,gEAoQzB,CAAC"}
|
package/dist/source.cjs
CHANGED
|
@@ -21,7 +21,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var source_exports = {};
|
|
22
22
|
__export(source_exports, {
|
|
23
23
|
chocolateIconRegistry: () => chocolateIconRegistry,
|
|
24
|
-
chocolateTheme: () => chocolateTheme
|
|
24
|
+
chocolateTheme: () => chocolateTheme,
|
|
25
|
+
colorModes: () => colorModes
|
|
25
26
|
});
|
|
26
27
|
module.exports = __toCommonJS(source_exports);
|
|
27
28
|
|
|
@@ -108,6 +109,7 @@ var SECONDARY_ON_YELLOW = "light-dark(#894d0e, #f4ba82)";
|
|
|
108
109
|
var SECONDARY_ON_GREEN = "light-dark(#894d0e, #e4ad77)";
|
|
109
110
|
var SECONDARY_ON_TEAL = "light-dark(#7b4200, #e4ad77)";
|
|
110
111
|
var LINK_ON_TINT = "light-dark(#7d4e21, #d4a06a)";
|
|
112
|
+
var colorModes = ["light", "dark"];
|
|
111
113
|
var chocolateTheme = (0, import_theme.defineTheme)({
|
|
112
114
|
name: "chocolate",
|
|
113
115
|
typography: {
|
|
@@ -211,7 +213,9 @@ var chocolateTheme = (0, import_theme.defineTheme)({
|
|
|
211
213
|
"--color-background-cyan": ["#3a7c7c33", "#3a7c7c33"],
|
|
212
214
|
"--color-border-cyan": ["#3a7c7c", "#70c4c4"],
|
|
213
215
|
"--color-icon-cyan": ["#3a7c7c", "#70c4c4"],
|
|
214
|
-
|
|
216
|
+
// Light category text reads at 4.5:1 on its tinted fill over the tan
|
|
217
|
+
// card as well as the page.
|
|
218
|
+
"--color-text-cyan": ["#2d5f5f", "#82d4d4"],
|
|
215
219
|
// Categorical — Gray
|
|
216
220
|
"--color-background-gray": ["#B8885933", "#6b554033"],
|
|
217
221
|
"--color-border-gray": ["#B88859", "#B88859"],
|
|
@@ -225,17 +229,17 @@ var chocolateTheme = (0, import_theme.defineTheme)({
|
|
|
225
229
|
// the astryx-oklch-v1 ramp grown from the earlier value (anchored at its
|
|
226
230
|
// own stop) nearest it that reads at 4.5:1 on its own category fill:
|
|
227
231
|
// #5a7a00 stop 40, #a06018 stop 45, #cc0000 stop 40, #cc9200 stop 45.
|
|
228
|
-
"--color-text-green": ["#
|
|
232
|
+
"--color-text-green": ["#476300", "#a8d43a"],
|
|
229
233
|
// Categorical — Orange
|
|
230
234
|
"--color-background-orange": ["#c4762033", "#d4903a33"],
|
|
231
235
|
"--color-border-orange": ["#c47620", "#d4903a"],
|
|
232
236
|
"--color-icon-orange": ["#c47620", "#d4903a"],
|
|
233
|
-
"--color-text-orange": ["#
|
|
237
|
+
"--color-text-orange": ["#894a04", "#e0a04a"],
|
|
234
238
|
// Categorical — Pink
|
|
235
239
|
"--color-background-pink": ["#c44a7033", "#e07a9a33"],
|
|
236
240
|
"--color-border-pink": ["#c44a70", "#e07a9a"],
|
|
237
241
|
"--color-icon-pink": ["#c44a70", "#e07a9a"],
|
|
238
|
-
"--color-text-pink": ["#
|
|
242
|
+
"--color-text-pink": ["#963152", "#f08aaa"],
|
|
239
243
|
// Categorical — Purple
|
|
240
244
|
"--color-background-purple": ["#6b4a8c33", "#b08ed433"],
|
|
241
245
|
"--color-border-purple": ["#6b4a8c", "#b08ed4"],
|
|
@@ -245,7 +249,7 @@ var chocolateTheme = (0, import_theme.defineTheme)({
|
|
|
245
249
|
"--color-background-red": ["#FD000033", "#ff5c5c33"],
|
|
246
250
|
"--color-border-red": ["#FD0000", "#ff5c5c"],
|
|
247
251
|
"--color-icon-red": ["#FD0000", "#ff5c5c"],
|
|
248
|
-
"--color-text-red": ["#
|
|
252
|
+
"--color-text-red": ["#a80000", "#ff7a7a"],
|
|
249
253
|
// Categorical — Teal
|
|
250
254
|
"--color-background-teal": ["#2e6b5a33", "#5ab89833"],
|
|
251
255
|
"--color-border-teal": ["#2e6b5a", "#5ab898"],
|
|
@@ -255,7 +259,7 @@ var chocolateTheme = (0, import_theme.defineTheme)({
|
|
|
255
259
|
"--color-background-yellow": ["#FFB60033", "#ffc94033"],
|
|
256
260
|
"--color-border-yellow": ["#FFB600", "#ffc940"],
|
|
257
261
|
"--color-icon-yellow": ["#FFB600", "#ffc940"],
|
|
258
|
-
"--color-text-yellow": ["#
|
|
262
|
+
"--color-text-yellow": ["#805a00", "#ffd960"],
|
|
259
263
|
// =========================================================================
|
|
260
264
|
// Radius — soft and rounded
|
|
261
265
|
// --radius-none and --radius-full are always fixed and must never be
|
|
@@ -267,6 +271,8 @@ var chocolateTheme = (0, import_theme.defineTheme)({
|
|
|
267
271
|
"--radius-element": "0.625rem",
|
|
268
272
|
"--radius-container": "0.75rem",
|
|
269
273
|
"--radius-page": "1.5rem",
|
|
274
|
+
// Chat surfaces stay rounder than cards.
|
|
275
|
+
"--radius-chat": "28px",
|
|
270
276
|
"--radius-full": "9999px",
|
|
271
277
|
// =========================================================================
|
|
272
278
|
// Shadows — warm-toned
|
|
@@ -337,5 +343,6 @@ var chocolateTheme = (0, import_theme.defineTheme)({
|
|
|
337
343
|
// Annotate the CommonJS export names for ESM import in node:
|
|
338
344
|
0 && (module.exports = {
|
|
339
345
|
chocolateIconRegistry,
|
|
340
|
-
chocolateTheme
|
|
346
|
+
chocolateTheme,
|
|
347
|
+
colorModes
|
|
341
348
|
});
|
package/dist/source.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { chocolateTheme } from './chocolateTheme.cjs';
|
|
1
|
+
export { colorModes, chocolateTheme } from './chocolateTheme.cjs';
|
|
2
2
|
export { chocolateIconRegistry } 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,EAAC,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAC,qBAAqB,EAAC,MAAM,SAAS,CAAC"}
|
package/dist/source.mjs
CHANGED
|
@@ -111,6 +111,7 @@ var SECONDARY_ON_YELLOW = "light-dark(#894d0e, #f4ba82)";
|
|
|
111
111
|
var SECONDARY_ON_GREEN = "light-dark(#894d0e, #e4ad77)";
|
|
112
112
|
var SECONDARY_ON_TEAL = "light-dark(#7b4200, #e4ad77)";
|
|
113
113
|
var LINK_ON_TINT = "light-dark(#7d4e21, #d4a06a)";
|
|
114
|
+
var colorModes = ["light", "dark"];
|
|
114
115
|
var chocolateTheme = defineTheme({
|
|
115
116
|
name: "chocolate",
|
|
116
117
|
typography: {
|
|
@@ -214,7 +215,9 @@ var chocolateTheme = defineTheme({
|
|
|
214
215
|
"--color-background-cyan": ["#3a7c7c33", "#3a7c7c33"],
|
|
215
216
|
"--color-border-cyan": ["#3a7c7c", "#70c4c4"],
|
|
216
217
|
"--color-icon-cyan": ["#3a7c7c", "#70c4c4"],
|
|
217
|
-
|
|
218
|
+
// Light category text reads at 4.5:1 on its tinted fill over the tan
|
|
219
|
+
// card as well as the page.
|
|
220
|
+
"--color-text-cyan": ["#2d5f5f", "#82d4d4"],
|
|
218
221
|
// Categorical — Gray
|
|
219
222
|
"--color-background-gray": ["#B8885933", "#6b554033"],
|
|
220
223
|
"--color-border-gray": ["#B88859", "#B88859"],
|
|
@@ -228,17 +231,17 @@ var chocolateTheme = defineTheme({
|
|
|
228
231
|
// the astryx-oklch-v1 ramp grown from the earlier value (anchored at its
|
|
229
232
|
// own stop) nearest it that reads at 4.5:1 on its own category fill:
|
|
230
233
|
// #5a7a00 stop 40, #a06018 stop 45, #cc0000 stop 40, #cc9200 stop 45.
|
|
231
|
-
"--color-text-green": ["#
|
|
234
|
+
"--color-text-green": ["#476300", "#a8d43a"],
|
|
232
235
|
// Categorical — Orange
|
|
233
236
|
"--color-background-orange": ["#c4762033", "#d4903a33"],
|
|
234
237
|
"--color-border-orange": ["#c47620", "#d4903a"],
|
|
235
238
|
"--color-icon-orange": ["#c47620", "#d4903a"],
|
|
236
|
-
"--color-text-orange": ["#
|
|
239
|
+
"--color-text-orange": ["#894a04", "#e0a04a"],
|
|
237
240
|
// Categorical — Pink
|
|
238
241
|
"--color-background-pink": ["#c44a7033", "#e07a9a33"],
|
|
239
242
|
"--color-border-pink": ["#c44a70", "#e07a9a"],
|
|
240
243
|
"--color-icon-pink": ["#c44a70", "#e07a9a"],
|
|
241
|
-
"--color-text-pink": ["#
|
|
244
|
+
"--color-text-pink": ["#963152", "#f08aaa"],
|
|
242
245
|
// Categorical — Purple
|
|
243
246
|
"--color-background-purple": ["#6b4a8c33", "#b08ed433"],
|
|
244
247
|
"--color-border-purple": ["#6b4a8c", "#b08ed4"],
|
|
@@ -248,7 +251,7 @@ var chocolateTheme = defineTheme({
|
|
|
248
251
|
"--color-background-red": ["#FD000033", "#ff5c5c33"],
|
|
249
252
|
"--color-border-red": ["#FD0000", "#ff5c5c"],
|
|
250
253
|
"--color-icon-red": ["#FD0000", "#ff5c5c"],
|
|
251
|
-
"--color-text-red": ["#
|
|
254
|
+
"--color-text-red": ["#a80000", "#ff7a7a"],
|
|
252
255
|
// Categorical — Teal
|
|
253
256
|
"--color-background-teal": ["#2e6b5a33", "#5ab89833"],
|
|
254
257
|
"--color-border-teal": ["#2e6b5a", "#5ab898"],
|
|
@@ -258,7 +261,7 @@ var chocolateTheme = defineTheme({
|
|
|
258
261
|
"--color-background-yellow": ["#FFB60033", "#ffc94033"],
|
|
259
262
|
"--color-border-yellow": ["#FFB600", "#ffc940"],
|
|
260
263
|
"--color-icon-yellow": ["#FFB600", "#ffc940"],
|
|
261
|
-
"--color-text-yellow": ["#
|
|
264
|
+
"--color-text-yellow": ["#805a00", "#ffd960"],
|
|
262
265
|
// =========================================================================
|
|
263
266
|
// Radius — soft and rounded
|
|
264
267
|
// --radius-none and --radius-full are always fixed and must never be
|
|
@@ -270,6 +273,8 @@ var chocolateTheme = defineTheme({
|
|
|
270
273
|
"--radius-element": "0.625rem",
|
|
271
274
|
"--radius-container": "0.75rem",
|
|
272
275
|
"--radius-page": "1.5rem",
|
|
276
|
+
// Chat surfaces stay rounder than cards.
|
|
277
|
+
"--radius-chat": "28px",
|
|
273
278
|
"--radius-full": "9999px",
|
|
274
279
|
// =========================================================================
|
|
275
280
|
// Shadows — warm-toned
|
|
@@ -339,5 +344,6 @@ var chocolateTheme = defineTheme({
|
|
|
339
344
|
});
|
|
340
345
|
export {
|
|
341
346
|
chocolateIconRegistry,
|
|
342
|
-
chocolateTheme
|
|
347
|
+
chocolateTheme,
|
|
348
|
+
colorModes
|
|
343
349
|
};
|
package/dist/theme.css
CHANGED
|
@@ -80,7 +80,6 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
@layer astryx-theme {
|
|
83
|
-
:root { color-scheme: light dark; }
|
|
84
83
|
html[data-theme="light"] { color-scheme: light; }
|
|
85
84
|
html[data-theme="dark"] { color-scheme: dark; }
|
|
86
85
|
|
|
@@ -247,7 +246,7 @@
|
|
|
247
246
|
--color-background-cyan: light-dark(#3a7c7c33, #3a7c7c33);
|
|
248
247
|
--color-border-cyan: light-dark(#3a7c7c, #70c4c4);
|
|
249
248
|
--color-icon-cyan: light-dark(#3a7c7c, #70c4c4);
|
|
250
|
-
--color-text-cyan: light-dark(#
|
|
249
|
+
--color-text-cyan: light-dark(#2d5f5f, #82d4d4);
|
|
251
250
|
--color-background-gray: light-dark(#B8885933, #6b554033);
|
|
252
251
|
--color-border-gray: light-dark(#B88859, #B88859);
|
|
253
252
|
--color-icon-gray: light-dark(#B88859, #c4a882);
|
|
@@ -255,15 +254,15 @@
|
|
|
255
254
|
--color-background-green: light-dark(#70990033, #96bf2a33);
|
|
256
255
|
--color-border-green: light-dark(#709900, #96bf2a);
|
|
257
256
|
--color-icon-green: light-dark(#709900, #96bf2a);
|
|
258
|
-
--color-text-green: light-dark(#
|
|
257
|
+
--color-text-green: light-dark(#476300, #a8d43a);
|
|
259
258
|
--color-background-orange: light-dark(#c4762033, #d4903a33);
|
|
260
259
|
--color-border-orange: light-dark(#c47620, #d4903a);
|
|
261
260
|
--color-icon-orange: light-dark(#c47620, #d4903a);
|
|
262
|
-
--color-text-orange: light-dark(#
|
|
261
|
+
--color-text-orange: light-dark(#894a04, #e0a04a);
|
|
263
262
|
--color-background-pink: light-dark(#c44a7033, #e07a9a33);
|
|
264
263
|
--color-border-pink: light-dark(#c44a70, #e07a9a);
|
|
265
264
|
--color-icon-pink: light-dark(#c44a70, #e07a9a);
|
|
266
|
-
--color-text-pink: light-dark(#
|
|
265
|
+
--color-text-pink: light-dark(#963152, #f08aaa);
|
|
267
266
|
--color-background-purple: light-dark(#6b4a8c33, #b08ed433);
|
|
268
267
|
--color-border-purple: light-dark(#6b4a8c, #b08ed4);
|
|
269
268
|
--color-icon-purple: light-dark(#6b4a8c, #b08ed4);
|
|
@@ -271,7 +270,7 @@
|
|
|
271
270
|
--color-background-red: light-dark(#FD000033, #ff5c5c33);
|
|
272
271
|
--color-border-red: light-dark(#FD0000, #ff5c5c);
|
|
273
272
|
--color-icon-red: light-dark(#FD0000, #ff5c5c);
|
|
274
|
-
--color-text-red: light-dark(#
|
|
273
|
+
--color-text-red: light-dark(#a80000, #ff7a7a);
|
|
275
274
|
--color-background-teal: light-dark(#2e6b5a33, #5ab89833);
|
|
276
275
|
--color-border-teal: light-dark(#2e6b5a, #5ab898);
|
|
277
276
|
--color-icon-teal: light-dark(#2e6b5a, #5ab898);
|
|
@@ -279,12 +278,13 @@
|
|
|
279
278
|
--color-background-yellow: light-dark(#FFB60033, #ffc94033);
|
|
280
279
|
--color-border-yellow: light-dark(#FFB600, #ffc940);
|
|
281
280
|
--color-icon-yellow: light-dark(#FFB600, #ffc940);
|
|
282
|
-
--color-text-yellow: light-dark(#
|
|
281
|
+
--color-text-yellow: light-dark(#805a00, #ffd960);
|
|
283
282
|
--radius-none: 0px;
|
|
284
283
|
--radius-inner: 0.375rem;
|
|
285
284
|
--radius-element: 0.625rem;
|
|
286
285
|
--radius-container: 0.75rem;
|
|
287
286
|
--radius-page: 1.5rem;
|
|
287
|
+
--radius-chat: 28px;
|
|
288
288
|
--radius-full: 9999px;
|
|
289
289
|
--shadow-low: 0 2px 4px #4a35200D, 0 4px 8px #4a35201A;
|
|
290
290
|
--shadow-med: 0 2px 4px #4a35200D, 0 4px 12px #4a35201A;
|
|
@@ -640,5 +640,21 @@
|
|
|
640
640
|
--color-icon-primary: var(--color-on-light);
|
|
641
641
|
--color-accent: var(--color-on-light);
|
|
642
642
|
}
|
|
643
|
+
|
|
644
|
+
: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"] {
|
|
645
|
+
color-scheme: light;
|
|
646
|
+
--color-text-primary: var(--color-on-light);
|
|
647
|
+
--color-icon-primary: var(--color-on-light);
|
|
648
|
+
--color-accent: var(--color-on-light);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
@media (prefers-color-scheme: dark) {
|
|
652
|
+
: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"] {
|
|
653
|
+
color-scheme: light;
|
|
654
|
+
--color-text-primary: var(--color-on-light);
|
|
655
|
+
--color-icon-primary: var(--color-on-light);
|
|
656
|
+
--color-accent: var(--color-on-light);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
643
659
|
}
|
|
644
660
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2021 The Albert Sans Project Authors (https://github.com/usted/Albert-Sans) AlbertSans-Italic[wght].ttf: Copyright 2021 The Albert Sans Project Authors (https://github.com/usted/Albert-Sans)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Fraunces Project Authors (github.com/undercasetype/Fraunces) Fraunces-Italic[SOFT,WONK,opsz,wght].ttf: Copyright 2020 The Fraunces Project Authors (github.com/undercasetype/Fraunces)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|