@astryxdesign/theme-matcha 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/matcha.js +4 -3
- package/dist/matchaTheme.d.cts +2 -0
- package/dist/matchaTheme.d.ts +2 -0
- package/dist/matchaTheme.d.ts.map +1 -1
- package/dist/source.cjs +10 -2
- 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 +9 -2
- package/dist/theme.css +27 -3
- package/fonts/dm-sans-latin-400-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-500-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-600-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-700-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-ext-400-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-ext-500-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-ext-600-normal.woff2 +0 -0
- package/fonts/dm-sans-latin-ext-700-normal.woff2 +0 -0
- package/fonts/dm-sans.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/playwrite-us-trad-latin-400-normal.woff2 +0 -0
- package/fonts/playwrite-us-trad.LICENSE.txt +93 -0
- package/fonts.css +382 -1
- package/package.json +4 -3
- package/src/matchaTheme.ts +10 -2
- package/src/source.ts +1 -1
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -71,16 +71,12 @@ This theme uses custom typefaces:
|
|
|
71
71
|
| Heading | Playwrite US Trad |
|
|
72
72
|
| Code | JetBrains Mono |
|
|
73
73
|
|
|
74
|
-
**
|
|
74
|
+
**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):
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
```html
|
|
79
|
-
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
80
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
81
|
-
<link
|
|
82
|
-
rel="stylesheet"
|
|
83
|
-
href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Playwrite+US+Trad:wght@100..400&display=swap" />
|
|
76
|
+
```css
|
|
77
|
+
@import '@astryxdesign/theme-matcha/fonts.css';
|
|
84
78
|
```
|
|
85
79
|
|
|
86
|
-
|
|
80
|
+
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=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Playwrite+US+Trad&display=swap" />`.
|
|
81
|
+
|
|
82
|
+
Without it, the theme falls back to system fonts.
|
package/dist/matcha.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { matchaIconRegistry } from "./icons.mjs";
|
|
10
10
|
/**
|
|
11
|
-
* matcha theme — built by `
|
|
11
|
+
* matcha theme — built by `astryx theme build`
|
|
12
12
|
* Import the CSS file alongside this module:
|
|
13
13
|
*
|
|
14
14
|
* import { matchaTheme } from './matcha';
|
|
@@ -121,7 +121,7 @@ export const matchaTheme = {
|
|
|
121
121
|
"--color-overlay": "light-dark(#3e481d80, #3e481dcc)",
|
|
122
122
|
"--color-overlay-hover": "light-dark(#3e481d0d, #c0cba90d)",
|
|
123
123
|
"--color-overlay-pressed": "light-dark(#3e481d1a, #c0cba91a)",
|
|
124
|
-
"--color-background-muted": "light-dark(#f0f0e0, #
|
|
124
|
+
"--color-background-muted": "light-dark(#f0f0e0, #12140e)",
|
|
125
125
|
"--color-text-primary": "light-dark(#3e481d, #c0cba9)",
|
|
126
126
|
"--color-text-secondary": "light-dark(#5a6b2a, #a8bf6a)",
|
|
127
127
|
"--color-text-disabled": "light-dark(#c0cba9, #5a6440)",
|
|
@@ -147,7 +147,7 @@ export const matchaTheme = {
|
|
|
147
147
|
"--color-icon-secondary": "light-dark(#707e46, #94a468)",
|
|
148
148
|
"--color-icon-disabled": "light-dark(#c0cba9, #5a6440)",
|
|
149
149
|
"--color-background-card": "light-dark(#ffffff, #1e2016)",
|
|
150
|
-
"--color-background-popover": "light-dark(#ffffff, #
|
|
150
|
+
"--color-background-popover": "light-dark(#ffffff, #1e2016)",
|
|
151
151
|
"--color-background-inverted": "light-dark(#3e481d, #c0cba9)",
|
|
152
152
|
"--color-success": "light-dark(#4d9900, #6dbf2a)",
|
|
153
153
|
"--color-success-muted": "light-dark(#4d990020, #6dbf2a20)",
|
|
@@ -218,6 +218,7 @@ export const matchaTheme = {
|
|
|
218
218
|
"--radius-element": "12px",
|
|
219
219
|
"--radius-container": "18px",
|
|
220
220
|
"--radius-page": "42px",
|
|
221
|
+
"--radius-chat": "28px",
|
|
221
222
|
"--size-element-sm": "36px",
|
|
222
223
|
"--size-element-md": "40px",
|
|
223
224
|
"--size-element-lg": "44px",
|
package/dist/matchaTheme.d.cts
CHANGED
package/dist/matchaTheme.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchaTheme.d.ts","sourceRoot":"","sources":["../src/matchaTheme.ts"],"names":[],"mappings":"AAyCA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"matchaTheme.d.ts","sourceRoot":"","sources":["../src/matchaTheme.ts"],"names":[],"mappings":"AAyCA,oDAAoD;AACpD,eAAO,MAAM,UAAU,4BAA6B,CAAC;AAErD,eAAO,MAAM,WAAW,gEAkUtB,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
|
matchaIconRegistry: () => matchaIconRegistry,
|
|
24
25
|
matchaTheme: () => matchaTheme
|
|
25
26
|
});
|
|
@@ -135,6 +136,7 @@ var matchaSyntax = (0, import_theme.defineSyntaxTheme)({
|
|
|
135
136
|
background: [neutral.light[95], neutral.dark[10]]
|
|
136
137
|
}
|
|
137
138
|
});
|
|
139
|
+
var colorModes = ["light", "dark"];
|
|
138
140
|
var matchaTheme = (0, import_theme.defineTheme)({
|
|
139
141
|
name: "matcha",
|
|
140
142
|
typography: {
|
|
@@ -183,7 +185,10 @@ var matchaTheme = (0, import_theme.defineTheme)({
|
|
|
183
185
|
withAlpha(neutral.light[20], "1a"),
|
|
184
186
|
withAlpha(neutral.dark[75], "1a")
|
|
185
187
|
],
|
|
186
|
-
|
|
188
|
+
// Matcha's dark ramp is a deep gray neutral up to stop 15 and olive from
|
|
189
|
+
// stop 20, so dark surfaces stay at or under 15: the muted fill sits with
|
|
190
|
+
// the page, as it does in light mode.
|
|
191
|
+
"--color-background-muted": [neutral.light[95], neutral.dark[5]],
|
|
187
192
|
// Text
|
|
188
193
|
"--color-text-primary": [neutral.light[20], neutral.dark[75]],
|
|
189
194
|
"--color-text-secondary": [neutral.light[30], neutral.dark[70]],
|
|
@@ -213,7 +218,7 @@ var matchaTheme = (0, import_theme.defineTheme)({
|
|
|
213
218
|
"--color-icon-disabled": [neutral.light[75], neutral.dark[30]],
|
|
214
219
|
// Surface variants
|
|
215
220
|
"--color-background-card": [neutral.light[100], neutral.dark[15]],
|
|
216
|
-
"--color-background-popover": [neutral.light[100], neutral.dark[
|
|
221
|
+
"--color-background-popover": [neutral.light[100], neutral.dark[15]],
|
|
217
222
|
"--color-background-inverted": [neutral.light[20], neutral.dark[75]],
|
|
218
223
|
// Status / Sentiment
|
|
219
224
|
"--color-success": [green.light[50], green.dark[70]],
|
|
@@ -346,6 +351,8 @@ var matchaTheme = (0, import_theme.defineTheme)({
|
|
|
346
351
|
"--radius-element": "12px",
|
|
347
352
|
"--radius-container": "18px",
|
|
348
353
|
"--radius-page": "42px",
|
|
354
|
+
// Chat surfaces stay rounder than cards.
|
|
355
|
+
"--radius-chat": "28px",
|
|
349
356
|
// No explicit --font-size-* overrides — font sizes come from
|
|
350
357
|
// typography.scale above, keeping the scale the single source of truth.
|
|
351
358
|
// =========================================================================
|
|
@@ -424,6 +431,7 @@ var matchaTheme = (0, import_theme.defineTheme)({
|
|
|
424
431
|
});
|
|
425
432
|
// Annotate the CommonJS export names for ESM import in node:
|
|
426
433
|
0 && (module.exports = {
|
|
434
|
+
colorModes,
|
|
427
435
|
matchaIconRegistry,
|
|
428
436
|
matchaTheme
|
|
429
437
|
});
|
package/dist/source.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { matchaTheme } from './matchaTheme.cjs';
|
|
1
|
+
export { colorModes, matchaTheme } from './matchaTheme.cjs';
|
|
2
2
|
export { matchaIconRegistry } 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,WAAW,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AACtD,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC"}
|
package/dist/source.mjs
CHANGED
|
@@ -138,6 +138,7 @@ var matchaSyntax = defineSyntaxTheme({
|
|
|
138
138
|
background: [neutral.light[95], neutral.dark[10]]
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
|
+
var colorModes = ["light", "dark"];
|
|
141
142
|
var matchaTheme = defineTheme({
|
|
142
143
|
name: "matcha",
|
|
143
144
|
typography: {
|
|
@@ -186,7 +187,10 @@ var matchaTheme = defineTheme({
|
|
|
186
187
|
withAlpha(neutral.light[20], "1a"),
|
|
187
188
|
withAlpha(neutral.dark[75], "1a")
|
|
188
189
|
],
|
|
189
|
-
|
|
190
|
+
// Matcha's dark ramp is a deep gray neutral up to stop 15 and olive from
|
|
191
|
+
// stop 20, so dark surfaces stay at or under 15: the muted fill sits with
|
|
192
|
+
// the page, as it does in light mode.
|
|
193
|
+
"--color-background-muted": [neutral.light[95], neutral.dark[5]],
|
|
190
194
|
// Text
|
|
191
195
|
"--color-text-primary": [neutral.light[20], neutral.dark[75]],
|
|
192
196
|
"--color-text-secondary": [neutral.light[30], neutral.dark[70]],
|
|
@@ -216,7 +220,7 @@ var matchaTheme = defineTheme({
|
|
|
216
220
|
"--color-icon-disabled": [neutral.light[75], neutral.dark[30]],
|
|
217
221
|
// Surface variants
|
|
218
222
|
"--color-background-card": [neutral.light[100], neutral.dark[15]],
|
|
219
|
-
"--color-background-popover": [neutral.light[100], neutral.dark[
|
|
223
|
+
"--color-background-popover": [neutral.light[100], neutral.dark[15]],
|
|
220
224
|
"--color-background-inverted": [neutral.light[20], neutral.dark[75]],
|
|
221
225
|
// Status / Sentiment
|
|
222
226
|
"--color-success": [green.light[50], green.dark[70]],
|
|
@@ -349,6 +353,8 @@ var matchaTheme = defineTheme({
|
|
|
349
353
|
"--radius-element": "12px",
|
|
350
354
|
"--radius-container": "18px",
|
|
351
355
|
"--radius-page": "42px",
|
|
356
|
+
// Chat surfaces stay rounder than cards.
|
|
357
|
+
"--radius-chat": "28px",
|
|
352
358
|
// No explicit --font-size-* overrides — font sizes come from
|
|
353
359
|
// typography.scale above, keeping the scale the single source of truth.
|
|
354
360
|
// =========================================================================
|
|
@@ -426,6 +432,7 @@ var matchaTheme = defineTheme({
|
|
|
426
432
|
icons: matchaIconRegistry
|
|
427
433
|
});
|
|
428
434
|
export {
|
|
435
|
+
colorModes,
|
|
429
436
|
matchaIconRegistry,
|
|
430
437
|
matchaTheme
|
|
431
438
|
};
|
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
|
|
|
@@ -201,7 +200,7 @@
|
|
|
201
200
|
--color-overlay: light-dark(#3e481d80, #3e481dcc);
|
|
202
201
|
--color-overlay-hover: light-dark(#3e481d0d, #c0cba90d);
|
|
203
202
|
--color-overlay-pressed: light-dark(#3e481d1a, #c0cba91a);
|
|
204
|
-
--color-background-muted: light-dark(#f0f0e0, #
|
|
203
|
+
--color-background-muted: light-dark(#f0f0e0, #12140e);
|
|
205
204
|
--color-text-primary: light-dark(#3e481d, #c0cba9);
|
|
206
205
|
--color-text-secondary: light-dark(#5a6b2a, #a8bf6a);
|
|
207
206
|
--color-text-disabled: light-dark(#c0cba9, #5a6440);
|
|
@@ -227,7 +226,7 @@
|
|
|
227
226
|
--color-icon-secondary: light-dark(#707e46, #94a468);
|
|
228
227
|
--color-icon-disabled: light-dark(#c0cba9, #5a6440);
|
|
229
228
|
--color-background-card: light-dark(#ffffff, #1e2016);
|
|
230
|
-
--color-background-popover: light-dark(#ffffff, #
|
|
229
|
+
--color-background-popover: light-dark(#ffffff, #1e2016);
|
|
231
230
|
--color-background-inverted: light-dark(#3e481d, #c0cba9);
|
|
232
231
|
--color-success: light-dark(#4d9900, #6dbf2a);
|
|
233
232
|
--color-success-muted: light-dark(#4d990020, #6dbf2a20);
|
|
@@ -298,6 +297,7 @@
|
|
|
298
297
|
--radius-element: 12px;
|
|
299
298
|
--radius-container: 18px;
|
|
300
299
|
--radius-page: 42px;
|
|
300
|
+
--radius-chat: 28px;
|
|
301
301
|
--size-element-sm: 36px;
|
|
302
302
|
--size-element-md: 40px;
|
|
303
303
|
--size-element-lg: 44px;
|
|
@@ -442,6 +442,14 @@
|
|
|
442
442
|
border-radius: var(--radius-page);
|
|
443
443
|
--astryx-card-padding: var(--spacing-3);
|
|
444
444
|
--_card-radius: var(--radius-page);
|
|
445
|
+
--_card-radius-top-left: var(--radius-page);
|
|
446
|
+
--_card-radius-top-right: var(--radius-page);
|
|
447
|
+
--_card-radius-bottom-right: var(--radius-page);
|
|
448
|
+
--_card-radius-bottom-left: var(--radius-page);
|
|
449
|
+
--_card-radius-start-start: initial;
|
|
450
|
+
--_card-radius-start-end: initial;
|
|
451
|
+
--_card-radius-end-start: initial;
|
|
452
|
+
--_card-radius-end-end: initial;
|
|
445
453
|
}
|
|
446
454
|
|
|
447
455
|
.astryx-card[data-variant="blue"] {
|
|
@@ -564,5 +572,21 @@
|
|
|
564
572
|
--color-icon-primary: var(--color-on-light);
|
|
565
573
|
--color-accent: var(--color-on-light);
|
|
566
574
|
}
|
|
575
|
+
|
|
576
|
+
: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"] {
|
|
577
|
+
color-scheme: light;
|
|
578
|
+
--color-text-primary: var(--color-on-light);
|
|
579
|
+
--color-icon-primary: var(--color-on-light);
|
|
580
|
+
--color-accent: var(--color-on-light);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
@media (prefers-color-scheme: dark) {
|
|
584
|
+
: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"] {
|
|
585
|
+
color-scheme: light;
|
|
586
|
+
--color-text-primary: var(--color-on-light);
|
|
587
|
+
--color-icon-primary: var(--color-on-light);
|
|
588
|
+
--color-accent: var(--color-on-light);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
567
591
|
}
|
|
568
592
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts) DMSans-Italic[opsz,wght].ttf: Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)
|
|
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
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
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
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Google Inc.
|
|
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.
|
package/fonts.css
CHANGED
|
@@ -1,3 +1,384 @@
|
|
|
1
1
|
/* Copyright (c) Meta Platforms, Inc. and affiliates. */
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/*
|
|
4
|
+
* The theme's fonts, shipped in this package (their licenses are in
|
|
5
|
+
* fonts/): each face is a local woff2 file with font-display: fallback.
|
|
6
|
+
* Text waits about 100 ms for its face; served from the same machine or a
|
|
7
|
+
* fast connection, the face arrives in that time and the text first draws
|
|
8
|
+
* in the theme's font. A slower face shows the fallback font, and one that
|
|
9
|
+
* takes more than about 3 s stays in it on that page. A page never waits
|
|
10
|
+
* on a network.
|
|
11
|
+
* Written by scripts/vendor-theme-fonts.mjs: do not edit by hand.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: 'DM Sans';
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-display: fallback;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
src: url('./fonts/dm-sans-latin-ext-400-normal.woff2') format('woff2');
|
|
20
|
+
unicode-range:
|
|
21
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
22
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
23
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'DM Sans';
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-display: fallback;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
src: url('./fonts/dm-sans-latin-400-normal.woff2') format('woff2');
|
|
32
|
+
unicode-range:
|
|
33
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
34
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
35
|
+
U+2215, U+FEFF, U+FFFD;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'DM Sans';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-display: fallback;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
src: url('./fonts/dm-sans-latin-ext-500-normal.woff2') format('woff2');
|
|
44
|
+
unicode-range:
|
|
45
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
46
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
47
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'DM Sans';
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-display: fallback;
|
|
54
|
+
font-weight: 500;
|
|
55
|
+
src: url('./fonts/dm-sans-latin-500-normal.woff2') format('woff2');
|
|
56
|
+
unicode-range:
|
|
57
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
58
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
59
|
+
U+2215, U+FEFF, U+FFFD;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: 'DM Sans';
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-display: fallback;
|
|
66
|
+
font-weight: 600;
|
|
67
|
+
src: url('./fonts/dm-sans-latin-ext-600-normal.woff2') format('woff2');
|
|
68
|
+
unicode-range:
|
|
69
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
70
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
71
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'DM Sans';
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-display: fallback;
|
|
78
|
+
font-weight: 600;
|
|
79
|
+
src: url('./fonts/dm-sans-latin-600-normal.woff2') format('woff2');
|
|
80
|
+
unicode-range:
|
|
81
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
82
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
83
|
+
U+2215, U+FEFF, U+FFFD;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: 'DM Sans';
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-display: fallback;
|
|
90
|
+
font-weight: 700;
|
|
91
|
+
src: url('./fonts/dm-sans-latin-ext-700-normal.woff2') format('woff2');
|
|
92
|
+
unicode-range:
|
|
93
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
94
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
95
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@font-face {
|
|
99
|
+
font-family: 'DM Sans';
|
|
100
|
+
font-style: normal;
|
|
101
|
+
font-display: fallback;
|
|
102
|
+
font-weight: 700;
|
|
103
|
+
src: url('./fonts/dm-sans-latin-700-normal.woff2') format('woff2');
|
|
104
|
+
unicode-range:
|
|
105
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
106
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
107
|
+
U+2215, U+FEFF, U+FFFD;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@font-face {
|
|
111
|
+
font-family: 'JetBrains Mono';
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-display: fallback;
|
|
114
|
+
font-weight: 400;
|
|
115
|
+
src: url('./fonts/jetbrains-mono-cyrillic-ext-400-normal.woff2')
|
|
116
|
+
format('woff2');
|
|
117
|
+
unicode-range:
|
|
118
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@font-face {
|
|
122
|
+
font-family: 'JetBrains Mono';
|
|
123
|
+
font-style: normal;
|
|
124
|
+
font-display: fallback;
|
|
125
|
+
font-weight: 400;
|
|
126
|
+
src: url('./fonts/jetbrains-mono-cyrillic-400-normal.woff2') format('woff2');
|
|
127
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@font-face {
|
|
131
|
+
font-family: 'JetBrains Mono';
|
|
132
|
+
font-style: normal;
|
|
133
|
+
font-display: fallback;
|
|
134
|
+
font-weight: 400;
|
|
135
|
+
src: url('./fonts/jetbrains-mono-greek-400-normal.woff2') format('woff2');
|
|
136
|
+
unicode-range:
|
|
137
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@font-face {
|
|
141
|
+
font-family: 'JetBrains Mono';
|
|
142
|
+
font-style: normal;
|
|
143
|
+
font-display: fallback;
|
|
144
|
+
font-weight: 400;
|
|
145
|
+
src: url('./fonts/jetbrains-mono-vietnamese-400-normal.woff2') format('woff2');
|
|
146
|
+
unicode-range:
|
|
147
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
148
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
149
|
+
U+1EA0-1EF9, U+20AB;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@font-face {
|
|
153
|
+
font-family: 'JetBrains Mono';
|
|
154
|
+
font-style: normal;
|
|
155
|
+
font-display: fallback;
|
|
156
|
+
font-weight: 400;
|
|
157
|
+
src: url('./fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2');
|
|
158
|
+
unicode-range:
|
|
159
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
160
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
161
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@font-face {
|
|
165
|
+
font-family: 'JetBrains Mono';
|
|
166
|
+
font-style: normal;
|
|
167
|
+
font-display: fallback;
|
|
168
|
+
font-weight: 400;
|
|
169
|
+
src: url('./fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
|
|
170
|
+
unicode-range:
|
|
171
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
172
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
173
|
+
U+2215, U+FEFF, U+FFFD;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@font-face {
|
|
177
|
+
font-family: 'JetBrains Mono';
|
|
178
|
+
font-style: normal;
|
|
179
|
+
font-display: fallback;
|
|
180
|
+
font-weight: 500;
|
|
181
|
+
src: url('./fonts/jetbrains-mono-cyrillic-ext-500-normal.woff2')
|
|
182
|
+
format('woff2');
|
|
183
|
+
unicode-range:
|
|
184
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
@font-face {
|
|
188
|
+
font-family: 'JetBrains Mono';
|
|
189
|
+
font-style: normal;
|
|
190
|
+
font-display: fallback;
|
|
191
|
+
font-weight: 500;
|
|
192
|
+
src: url('./fonts/jetbrains-mono-cyrillic-500-normal.woff2') format('woff2');
|
|
193
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@font-face {
|
|
197
|
+
font-family: 'JetBrains Mono';
|
|
198
|
+
font-style: normal;
|
|
199
|
+
font-display: fallback;
|
|
200
|
+
font-weight: 500;
|
|
201
|
+
src: url('./fonts/jetbrains-mono-greek-500-normal.woff2') format('woff2');
|
|
202
|
+
unicode-range:
|
|
203
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@font-face {
|
|
207
|
+
font-family: 'JetBrains Mono';
|
|
208
|
+
font-style: normal;
|
|
209
|
+
font-display: fallback;
|
|
210
|
+
font-weight: 500;
|
|
211
|
+
src: url('./fonts/jetbrains-mono-vietnamese-500-normal.woff2') format('woff2');
|
|
212
|
+
unicode-range:
|
|
213
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
214
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
215
|
+
U+1EA0-1EF9, U+20AB;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@font-face {
|
|
219
|
+
font-family: 'JetBrains Mono';
|
|
220
|
+
font-style: normal;
|
|
221
|
+
font-display: fallback;
|
|
222
|
+
font-weight: 500;
|
|
223
|
+
src: url('./fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2');
|
|
224
|
+
unicode-range:
|
|
225
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
226
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
227
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@font-face {
|
|
231
|
+
font-family: 'JetBrains Mono';
|
|
232
|
+
font-style: normal;
|
|
233
|
+
font-display: fallback;
|
|
234
|
+
font-weight: 500;
|
|
235
|
+
src: url('./fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
|
|
236
|
+
unicode-range:
|
|
237
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
238
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
239
|
+
U+2215, U+FEFF, U+FFFD;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@font-face {
|
|
243
|
+
font-family: 'JetBrains Mono';
|
|
244
|
+
font-style: normal;
|
|
245
|
+
font-display: fallback;
|
|
246
|
+
font-weight: 600;
|
|
247
|
+
src: url('./fonts/jetbrains-mono-cyrillic-ext-600-normal.woff2')
|
|
248
|
+
format('woff2');
|
|
249
|
+
unicode-range:
|
|
250
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
@font-face {
|
|
254
|
+
font-family: 'JetBrains Mono';
|
|
255
|
+
font-style: normal;
|
|
256
|
+
font-display: fallback;
|
|
257
|
+
font-weight: 600;
|
|
258
|
+
src: url('./fonts/jetbrains-mono-cyrillic-600-normal.woff2') format('woff2');
|
|
259
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@font-face {
|
|
263
|
+
font-family: 'JetBrains Mono';
|
|
264
|
+
font-style: normal;
|
|
265
|
+
font-display: fallback;
|
|
266
|
+
font-weight: 600;
|
|
267
|
+
src: url('./fonts/jetbrains-mono-greek-600-normal.woff2') format('woff2');
|
|
268
|
+
unicode-range:
|
|
269
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
@font-face {
|
|
273
|
+
font-family: 'JetBrains Mono';
|
|
274
|
+
font-style: normal;
|
|
275
|
+
font-display: fallback;
|
|
276
|
+
font-weight: 600;
|
|
277
|
+
src: url('./fonts/jetbrains-mono-vietnamese-600-normal.woff2') format('woff2');
|
|
278
|
+
unicode-range:
|
|
279
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
280
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
281
|
+
U+1EA0-1EF9, U+20AB;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@font-face {
|
|
285
|
+
font-family: 'JetBrains Mono';
|
|
286
|
+
font-style: normal;
|
|
287
|
+
font-display: fallback;
|
|
288
|
+
font-weight: 600;
|
|
289
|
+
src: url('./fonts/jetbrains-mono-latin-ext-600-normal.woff2') format('woff2');
|
|
290
|
+
unicode-range:
|
|
291
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
292
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
293
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
@font-face {
|
|
297
|
+
font-family: 'JetBrains Mono';
|
|
298
|
+
font-style: normal;
|
|
299
|
+
font-display: fallback;
|
|
300
|
+
font-weight: 600;
|
|
301
|
+
src: url('./fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');
|
|
302
|
+
unicode-range:
|
|
303
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
304
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
305
|
+
U+2215, U+FEFF, U+FFFD;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@font-face {
|
|
309
|
+
font-family: 'JetBrains Mono';
|
|
310
|
+
font-style: normal;
|
|
311
|
+
font-display: fallback;
|
|
312
|
+
font-weight: 700;
|
|
313
|
+
src: url('./fonts/jetbrains-mono-cyrillic-ext-700-normal.woff2')
|
|
314
|
+
format('woff2');
|
|
315
|
+
unicode-range:
|
|
316
|
+
U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
@font-face {
|
|
320
|
+
font-family: 'JetBrains Mono';
|
|
321
|
+
font-style: normal;
|
|
322
|
+
font-display: fallback;
|
|
323
|
+
font-weight: 700;
|
|
324
|
+
src: url('./fonts/jetbrains-mono-cyrillic-700-normal.woff2') format('woff2');
|
|
325
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@font-face {
|
|
329
|
+
font-family: 'JetBrains Mono';
|
|
330
|
+
font-style: normal;
|
|
331
|
+
font-display: fallback;
|
|
332
|
+
font-weight: 700;
|
|
333
|
+
src: url('./fonts/jetbrains-mono-greek-700-normal.woff2') format('woff2');
|
|
334
|
+
unicode-range:
|
|
335
|
+
U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@font-face {
|
|
339
|
+
font-family: 'JetBrains Mono';
|
|
340
|
+
font-style: normal;
|
|
341
|
+
font-display: fallback;
|
|
342
|
+
font-weight: 700;
|
|
343
|
+
src: url('./fonts/jetbrains-mono-vietnamese-700-normal.woff2') format('woff2');
|
|
344
|
+
unicode-range:
|
|
345
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
|
|
346
|
+
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
|
|
347
|
+
U+1EA0-1EF9, U+20AB;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
@font-face {
|
|
351
|
+
font-family: 'JetBrains Mono';
|
|
352
|
+
font-style: normal;
|
|
353
|
+
font-display: fallback;
|
|
354
|
+
font-weight: 700;
|
|
355
|
+
src: url('./fonts/jetbrains-mono-latin-ext-700-normal.woff2') format('woff2');
|
|
356
|
+
unicode-range:
|
|
357
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
358
|
+
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
|
|
359
|
+
U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
@font-face {
|
|
363
|
+
font-family: 'JetBrains Mono';
|
|
364
|
+
font-style: normal;
|
|
365
|
+
font-display: fallback;
|
|
366
|
+
font-weight: 700;
|
|
367
|
+
src: url('./fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
|
|
368
|
+
unicode-range:
|
|
369
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
370
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
|
|
371
|
+
U+2215, U+FEFF, U+FFFD;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
@font-face {
|
|
375
|
+
font-family: 'Playwrite US Trad';
|
|
376
|
+
font-style: normal;
|
|
377
|
+
font-display: fallback;
|
|
378
|
+
font-weight: 400;
|
|
379
|
+
src: url('./fonts/playwrite-us-trad-latin-400-normal.woff2') format('woff2');
|
|
380
|
+
unicode-range:
|
|
381
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
382
|
+
U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
|
|
383
|
+
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
384
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-matcha",
|
|
3
|
-
"version": "0.7.17
|
|
3
|
+
"version": "0.7.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Earthy greens with a calm, organic feel. Naturalistic and grounded, great for wellness or content-first apps.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"src",
|
|
58
58
|
"fonts.css",
|
|
59
59
|
"fonts.css.d.ts",
|
|
60
|
+
"fonts",
|
|
60
61
|
"theme.css.d.ts",
|
|
61
62
|
"palette.config.json",
|
|
62
63
|
"!**/*.test.*",
|
|
@@ -77,11 +78,11 @@
|
|
|
77
78
|
"lucide-react": "^1.66.0"
|
|
78
79
|
},
|
|
79
80
|
"peerDependencies": {
|
|
80
|
-
"@astryxdesign/core": "0.7.17
|
|
81
|
+
"@astryxdesign/core": "0.7.17",
|
|
81
82
|
"react": ">=19"
|
|
82
83
|
},
|
|
83
84
|
"devDependencies": {
|
|
84
|
-
"@astryxdesign/cli": "0.7.17
|
|
85
|
+
"@astryxdesign/cli": "0.7.17"
|
|
85
86
|
},
|
|
86
87
|
"module": "./dist/source.mjs",
|
|
87
88
|
"scripts": {
|
package/src/matchaTheme.ts
CHANGED
|
@@ -39,6 +39,9 @@ const matchaSyntax = defineSyntaxTheme({
|
|
|
39
39
|
},
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
+
/** The color modes matcha draws: light and dark. */
|
|
43
|
+
export const colorModes = ['light', 'dark'] as const;
|
|
44
|
+
|
|
42
45
|
export const matchaTheme = defineTheme({
|
|
43
46
|
name: 'matcha',
|
|
44
47
|
|
|
@@ -93,7 +96,10 @@ export const matchaTheme = defineTheme({
|
|
|
93
96
|
withAlpha(neutral.light[20], '1a'),
|
|
94
97
|
withAlpha(neutral.dark[75], '1a'),
|
|
95
98
|
],
|
|
96
|
-
'
|
|
99
|
+
// Matcha's dark ramp is a deep gray neutral up to stop 15 and olive from
|
|
100
|
+
// stop 20, so dark surfaces stay at or under 15: the muted fill sits with
|
|
101
|
+
// the page, as it does in light mode.
|
|
102
|
+
'--color-background-muted': [neutral.light[95], neutral.dark[5]],
|
|
97
103
|
|
|
98
104
|
// Text
|
|
99
105
|
'--color-text-primary': [neutral.light[20], neutral.dark[75]],
|
|
@@ -128,7 +134,7 @@ export const matchaTheme = defineTheme({
|
|
|
128
134
|
|
|
129
135
|
// Surface variants
|
|
130
136
|
'--color-background-card': [neutral.light[100], neutral.dark[15]],
|
|
131
|
-
'--color-background-popover': [neutral.light[100], neutral.dark[
|
|
137
|
+
'--color-background-popover': [neutral.light[100], neutral.dark[15]],
|
|
132
138
|
'--color-background-inverted': [neutral.light[20], neutral.dark[75]],
|
|
133
139
|
|
|
134
140
|
// Status / Sentiment
|
|
@@ -276,6 +282,8 @@ export const matchaTheme = defineTheme({
|
|
|
276
282
|
'--radius-element': '12px',
|
|
277
283
|
'--radius-container': '18px',
|
|
278
284
|
'--radius-page': '42px',
|
|
285
|
+
// Chat surfaces stay rounder than cards.
|
|
286
|
+
'--radius-chat': '28px',
|
|
279
287
|
|
|
280
288
|
// No explicit --font-size-* overrides — font sizes come from
|
|
281
289
|
// typography.scale above, keeping the scale the single source of truth.
|
package/src/source.ts
CHANGED
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Meta Platforms, Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|