@filipgutica/design-system 1.0.37 → 1.0.39
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 +9 -8
- package/dist/theme-inputs.json +75 -0
- package/dist/themes/catppuccin.css +29 -2
- package/dist/themes/copper.css +7 -2
- package/dist/themes/fern.css +7 -2
- package/dist/themes/github.css +27 -0
- package/dist/themes/graphite-indigo.css +3 -2
- package/dist/themes/iris.css +7 -2
- package/dist/themes/lagoon.css +7 -2
- package/dist/themes/lapis.css +7 -2
- package/dist/tokens.d.ts +2 -1
- package/dist/tokens.js +92 -76
- package/dist/tokens.json +92 -76
- package/fonts/{OFL-IBM-Plex-Sans.txt → OFL-Inter.txt} +1 -1
- package/fonts/{OFL-IBM-Plex-Mono.txt → OFL-JetBrains-Mono.txt} +1 -1
- package/fonts/fonts.css +13 -13
- package/fonts/inter-latin-400-normal.woff2 +0 -0
- package/fonts/inter-latin-500-normal.woff2 +0 -0
- package/fonts/inter-latin-600-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/language/DESIGN.md +10 -9
- package/language/components.html +49 -28
- package/language/components.md +12 -11
- package/language/decisions.md +11 -6
- package/language/docs.html +7 -10
- package/language/product.html +0 -3
- package/language/reference.html +42 -22
- package/language/tokens.css +151 -13
- package/language/ui-sdk.css +2 -2
- package/package.json +2 -1
- package/theme-mapper/core.js +9 -8
- package/theme-mapper/engine.d.ts +37 -2
- package/theme-mapper/engine.js +49 -4
- package/theme-mapper/index.d.ts +5 -0
- package/theme-mapper/index.js +15 -0
- package/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/fonts/ibm-plex-mono-latin-500-normal.woff2 +0 -0
- package/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-500-normal.woff2 +0 -0
- package/fonts/ibm-plex-sans-latin-600-normal.woff2 +0 -0
package/README.md
CHANGED
|
@@ -12,13 +12,13 @@ Filip's design language for any framework: the spec, the tokens, the component c
|
|
|
12
12
|
| --- | --- |
|
|
13
13
|
| `language/` | The payload: `DESIGN.md`, `components.md`, `decisions.md`, `visualizations.md`, `tokens.css`, the experimental `ui-sdk.css` component styles for ui-sdk, the catalogue (`components.html`), example pages, visualization helpers, and the Graphite Indigo editor theme |
|
|
14
14
|
| `skills/design-system/`, `.claude-plugin/`, `.codex-plugin/`, `.agents/plugins/` | The agent plugin: the skill that points agents at `language/`, and the Claude and Codex plugin and marketplace manifests. The repository root is the plugin root |
|
|
15
|
-
| `tokens/core.json`, `tokens/themes/*.tokens.json` | The token values, the only place a value lives, and each token's role. Core holds every token; each theme file is a W3C Design Tokens file (2025.10) that holds only its name, a note, its hue pair, and optional fonts and neutrals |
|
|
15
|
+
| `tokens/core.json`, `tokens/themes/*.tokens.json` | The token values, the only place a value lives, and each token's role. Core holds every token; each theme file is a W3C Design Tokens file (2025.10) that holds only its name, a note, its hue pair, and optional fonts, base radius, and neutrals |
|
|
16
16
|
| `scripts/build-tokens.mjs` | The token generator: writes `language/tokens.css`, `dist/`, and the theme mapper's `core.js`; generates and checks declarations from JSDoc for `theme-mapper/` and `open-vsx/` |
|
|
17
17
|
| `open-vsx/` | Experimental JSONC theme-file parser and Open VSX client, with resolved includes and unaltered colours and syntax rules |
|
|
18
18
|
| `theme-mapper/` | The theme engine the token build shares, and the experimental theme mapper built on it |
|
|
19
19
|
| `scripts/build-site.mjs` | The site build: writes `site/` for GitHub Pages from `components.html`, the tokens, and `package.json` |
|
|
20
20
|
| `dist/` | Generated theme files, JSON, and JavaScript |
|
|
21
|
-
| `fonts/` |
|
|
21
|
+
| `fonts/` | Inter and JetBrains Mono latin `woff2` files, `fonts.css`, and their OFL licences |
|
|
22
22
|
| `tests/` | Guard tests for the payload, the tokens, and the site build, the React smoke test, and behaviour tests for the catalogue and the built site |
|
|
23
23
|
|
|
24
24
|
To change a value, edit the JSON and run `pnpm tokens:build`. `pnpm tokens:check` fails when a generated file is stale or a token has no role.
|
|
@@ -33,15 +33,16 @@ npm install @filipgutica/design-system
|
|
|
33
33
|
|
|
34
34
|
| Import | What it is |
|
|
35
35
|
| --- | --- |
|
|
36
|
-
| `@filipgutica/design-system/tokens.css` | The tokens. Dark mode follows `prefers-color-scheme`; set `data-theme="light"` or `"dark"` on `<html>` to override it. |
|
|
36
|
+
| `@filipgutica/design-system/tokens.css` | The tokens. Dark mode follows `prefers-color-scheme`; set `data-theme="light"` or `"dark"` on `<html>` to override it. `data-theme="light"` or `"dark"` on any element below `<html>`, or a `.dark` class on `<html>` or below it, themes that subtree: every token that changes with the mode resolves again inside it. The subtree takes its mode's text colour; on an element with both, `data-theme="light"` wins over `.dark`. A theme written by hand, loaded after `tokens.css`, repeats its light values on `:root [data-theme="light"]` and its dark values on the selectors of the dark subtree block at the end of `tokens.css`, beside its `:root` and root dark rules, so its hue, neutrals, and text on the hue hold in a subtree too; a theme file from the token build does this already. |
|
|
37
37
|
| `@filipgutica/design-system/ui-sdk.css` | Experimental: draws [ui-sdk](https://ui-sdk.dev)'s headless Button, Field, Input, Textarea, Checkbox, and Radio as the component specs do, checked against `@ui-sdk/*` 0.1.0-beta.5. Load it after `tokens.css`, without ui-sdk's `web.css`; [DESIGN.md](language/DESIGN.md#ui-sdk-experimental) gives the layer order and the supported components. |
|
|
38
|
-
| `@filipgutica/design-system/themes/*.css` | A theme's inputs (hue pair, and any fonts or neutrals): `graphite-indigo` (the default, already in `tokens.css`); the family sites' hues `lagoon` (annoterm), `copper` (devps), `iris` (filip-stack), `lapis` (Workbench), and `fern` (wtree); or the open palettes `catppuccin` and `github`. Load one after `tokens.css`, on `:root`. |
|
|
38
|
+
| `@filipgutica/design-system/themes/*.css` | A theme's inputs (hue pair, and any fonts, base radius, or neutrals): `graphite-indigo` (the default, already in `tokens.css`); the family sites' hues `lagoon` (annoterm), `copper` (devps), `iris` (filip-stack), `lapis` (Workbench), and `fern` (wtree); or the open palettes `catppuccin` and `github`. Load one after `tokens.css`, on `:root`. |
|
|
39
39
|
| `@filipgutica/design-system/themes/*.tokens.json` | Each theme's source as a W3C Design Tokens file (2025.10), for design-token tools such as Style Dictionary and Tokens Studio. |
|
|
40
|
-
| `@filipgutica/design-system/fonts.css` |
|
|
41
|
-
| `@filipgutica/design-system` | `tokens` (resolved values per theme and mode) and `cssVar(name)`, with types. |
|
|
40
|
+
| `@filipgutica/design-system/fonts.css` | Inter and JetBrains Mono, the default theme's fonts. |
|
|
41
|
+
| `@filipgutica/design-system` | `tokens` (resolved values per theme and mode, as `getComputedStyle` reports them, so `radius-panel` and `radius-mark` are `calc()` strings of `radius-base`) and `cssVar(name)`, with types. |
|
|
42
42
|
| `@filipgutica/design-system/tokens.json` | The resolved values as JSON. |
|
|
43
|
+
| `@filipgutica/design-system/theme-inputs.json` | The tokens a theme may set, without their dashes: `names`, and the same names by kind in `groups` (`hue`, `textOnHue`, `fonts`, `radius`, `neutrals`, `syntax`). Every other token is core. A component library's test can read it and fail when one of its themes sets any other token. |
|
|
43
44
|
| `@filipgutica/design-system/language/*` | The spec, catalogue, and example pages. |
|
|
44
|
-
| `@filipgutica/design-system/theme-mapper` | Experimental: the API may change until a component library uses it. `mapVsCodeTheme(theme)` maps a VS Code colour theme onto theme inputs for its one mode, by selecting the theme's own colours, keeps the syntax colours its `tokenColors` set, and lists each check it still fails as a `theme` or `core` problem. `themeVariables(mapped)` returns the CSS custom properties to set inline on `<html>`, with `data-theme` forced to the theme's mode. Typed, with no framework and no runtime dependencies. |
|
|
45
|
+
| `@filipgutica/design-system/theme-mapper` | Experimental: the API may change until a component library uses it. `mapVsCodeTheme(theme)` maps a VS Code colour theme onto theme inputs for its one mode, by selecting the theme's own colours, keeps the syntax colours its `tokenColors` set, and lists each check it still fails as a `theme` or `core` problem. `checkTheme(inputs)` runs the contrast checks every shipped theme passes on any theme's inputs (`{ hue: { light, dark }, fonts?, radius?, neutrals?, textOnHue? }`; colours are `#rrggbb`, `white`, `black`, or a token reference such as `{color-bg}`, for example `textOnHue: { light: { 'color-accent-text': '#ffffff' } }`) and returns each check's lowest ratio per mode with `ok`. `themeVariables(mapped)` returns the CSS custom properties to set inline on `<html>`, with `data-theme` forced to the theme's mode. Typed, with no framework and no runtime dependencies. |
|
|
45
46
|
| `@filipgutica/design-system/open-vsx` | Experimental: the API may change in a minor release. `parseVsCodeTheme({ source, fileName })` parses a JSONC theme file and normalises its name. `createOpenVsxThemeService({ fetchImpl })` accepts an optional fetch implementation, searches Open VSX, and imports a verified package, resolving includes into `{ name, type?, colors, tokenColors? }` for `mapVsCodeTheme`. The parser throws `ThemeValidationError` with `malformed-json` or `invalid-shape`; the client returns success or error results. Uses native ZIP decompression and `jsonc-parser`; picker UI, persistence, and applying a theme belong to component libraries. |
|
|
46
47
|
|
|
47
48
|
In a React app, import `tokens.css` and `fonts.css` once in the entry and write `var(--color-text)` in styles, or `cssVar('color-text')` in TypeScript. `tests/react-smoke/` is a working example.
|
|
@@ -90,4 +91,4 @@ Commits follow Conventional Commits, and CI checks them with commitlint. Do not
|
|
|
90
91
|
|
|
91
92
|
## License
|
|
92
93
|
|
|
93
|
-
MIT. The
|
|
94
|
+
MIT. The Inter and JetBrains Mono fonts in `fonts/` are under the SIL Open Font License; see the `OFL-*.txt` files beside them. The editor theme in `language/editor-themes/graphite-indigo/` derives from Visual Studio Code's default themes; see its `LICENSE` and `THIRD_PARTY_NOTICES.md`. The Catppuccin and GitHub themes take their colours from those projects' MIT palettes; see `dist/themes/THIRD_PARTY_NOTICES.md` and the licenses beside it.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "The tokens a theme may set, without their leading dashes, by kind. Every other token in tokens.css is core: a theme or a component library never overrides it. Generated from tokens/core.json by scripts/build-tokens.mjs. Do not edit.",
|
|
3
|
+
"names": [
|
|
4
|
+
"color-project",
|
|
5
|
+
"color-project-dark",
|
|
6
|
+
"color-accent-text",
|
|
7
|
+
"color-nav-current-text",
|
|
8
|
+
"color-segmented-current-text",
|
|
9
|
+
"font-ui",
|
|
10
|
+
"font-mono",
|
|
11
|
+
"radius-base",
|
|
12
|
+
"color-bg",
|
|
13
|
+
"color-surface",
|
|
14
|
+
"color-surface-raised",
|
|
15
|
+
"color-surface-muted",
|
|
16
|
+
"color-row-hover",
|
|
17
|
+
"color-border-subtle",
|
|
18
|
+
"color-border",
|
|
19
|
+
"color-text",
|
|
20
|
+
"color-muted",
|
|
21
|
+
"color-syntax-keyword",
|
|
22
|
+
"color-syntax-string",
|
|
23
|
+
"color-syntax-number",
|
|
24
|
+
"color-syntax-comment",
|
|
25
|
+
"color-syntax-function",
|
|
26
|
+
"color-syntax-type",
|
|
27
|
+
"color-syntax-variable",
|
|
28
|
+
"color-syntax-operator",
|
|
29
|
+
"color-syntax-punctuation",
|
|
30
|
+
"color-syntax-tag",
|
|
31
|
+
"color-syntax-attribute"
|
|
32
|
+
],
|
|
33
|
+
"groups": {
|
|
34
|
+
"hue": [
|
|
35
|
+
"color-project",
|
|
36
|
+
"color-project-dark"
|
|
37
|
+
],
|
|
38
|
+
"textOnHue": [
|
|
39
|
+
"color-accent-text",
|
|
40
|
+
"color-nav-current-text",
|
|
41
|
+
"color-segmented-current-text"
|
|
42
|
+
],
|
|
43
|
+
"fonts": [
|
|
44
|
+
"font-ui",
|
|
45
|
+
"font-mono"
|
|
46
|
+
],
|
|
47
|
+
"radius": [
|
|
48
|
+
"radius-base"
|
|
49
|
+
],
|
|
50
|
+
"neutrals": [
|
|
51
|
+
"color-bg",
|
|
52
|
+
"color-surface",
|
|
53
|
+
"color-surface-raised",
|
|
54
|
+
"color-surface-muted",
|
|
55
|
+
"color-row-hover",
|
|
56
|
+
"color-border-subtle",
|
|
57
|
+
"color-border",
|
|
58
|
+
"color-text",
|
|
59
|
+
"color-muted"
|
|
60
|
+
],
|
|
61
|
+
"syntax": [
|
|
62
|
+
"color-syntax-keyword",
|
|
63
|
+
"color-syntax-string",
|
|
64
|
+
"color-syntax-number",
|
|
65
|
+
"color-syntax-comment",
|
|
66
|
+
"color-syntax-function",
|
|
67
|
+
"color-syntax-type",
|
|
68
|
+
"color-syntax-variable",
|
|
69
|
+
"color-syntax-operator",
|
|
70
|
+
"color-syntax-punctuation",
|
|
71
|
+
"color-syntax-tag",
|
|
72
|
+
"color-syntax-attribute"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--color-project: #8839ef;
|
|
8
8
|
--color-project-dark: #cba6f7;
|
|
9
|
-
--font-ui: "
|
|
10
|
-
--font-mono: "
|
|
9
|
+
--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
|
|
10
|
+
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
11
|
+
--radius-base: 8px;
|
|
11
12
|
--color-bg: #eff1f5;
|
|
12
13
|
--color-surface: #e6e9ef;
|
|
13
14
|
--color-surface-raised: #eff1f5;
|
|
@@ -47,3 +48,29 @@
|
|
|
47
48
|
--color-text: #cdd6f4;
|
|
48
49
|
--color-muted: #a6adc8;
|
|
49
50
|
}
|
|
51
|
+
|
|
52
|
+
:root.dark:not(:where([data-theme="light"])), :root [data-theme="dark"], :root .dark:not(:where([data-theme="light"])) {
|
|
53
|
+
--color-bg: #11111b;
|
|
54
|
+
--color-surface: #181825;
|
|
55
|
+
--color-surface-raised: #1e1e2e;
|
|
56
|
+
--color-surface-muted: #313244;
|
|
57
|
+
--color-row-hover: #313244;
|
|
58
|
+
--color-border-subtle: #45475a;
|
|
59
|
+
--color-border: #7f849c;
|
|
60
|
+
--color-text: #cdd6f4;
|
|
61
|
+
--color-muted: #a6adc8;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:root [data-theme="light"] {
|
|
65
|
+
--color-project: #8839ef;
|
|
66
|
+
--color-bg: #eff1f5;
|
|
67
|
+
--color-surface: #e6e9ef;
|
|
68
|
+
--color-surface-raised: #eff1f5;
|
|
69
|
+
--color-surface-muted: #dce0e8;
|
|
70
|
+
--color-nav-current-text: var(--color-text);
|
|
71
|
+
--color-row-hover: #dce0e8;
|
|
72
|
+
--color-border-subtle: #ccd0da;
|
|
73
|
+
--color-border: #7c7f93;
|
|
74
|
+
--color-text: #4c4f69;
|
|
75
|
+
--color-muted: #5c5f77;
|
|
76
|
+
}
|
package/dist/themes/copper.css
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--color-project: #b04003;
|
|
8
8
|
--color-project-dark: #f39a62;
|
|
9
|
-
--font-ui: "
|
|
10
|
-
--font-mono: "
|
|
9
|
+
--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
|
|
10
|
+
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
11
|
+
--radius-base: 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:root [data-theme="light"] {
|
|
15
|
+
--color-project: #b04003;
|
|
11
16
|
}
|
package/dist/themes/fern.css
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--color-project: #27752a;
|
|
8
8
|
--color-project-dark: #7fd083;
|
|
9
|
-
--font-ui: "
|
|
10
|
-
--font-mono: "
|
|
9
|
+
--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
|
|
10
|
+
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
11
|
+
--radius-base: 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:root [data-theme="light"] {
|
|
15
|
+
--color-project: #27752a;
|
|
11
16
|
}
|
package/dist/themes/github.css
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
--color-project-dark: #3fb950;
|
|
9
9
|
--font-ui: "Mona Sans VF", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Backtick Fix", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
10
10
|
--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
|
|
11
|
+
--radius-base: 8px;
|
|
11
12
|
--color-bg: #ffffff;
|
|
12
13
|
--color-surface: #f6f8fa;
|
|
13
14
|
--color-surface-raised: #ffffff;
|
|
@@ -47,3 +48,29 @@
|
|
|
47
48
|
--color-text: #f0f6fc;
|
|
48
49
|
--color-muted: #9198a1;
|
|
49
50
|
}
|
|
51
|
+
|
|
52
|
+
:root.dark:not(:where([data-theme="light"])), :root [data-theme="dark"], :root .dark:not(:where([data-theme="light"])) {
|
|
53
|
+
--color-bg: #0d1117;
|
|
54
|
+
--color-surface: #151b23;
|
|
55
|
+
--color-surface-raised: #151b23;
|
|
56
|
+
--color-surface-muted: #212830;
|
|
57
|
+
--color-row-hover: #262c36;
|
|
58
|
+
--color-border-subtle: #3d444d;
|
|
59
|
+
--color-border: #656c76;
|
|
60
|
+
--color-text: #f0f6fc;
|
|
61
|
+
--color-muted: #9198a1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:root [data-theme="light"] {
|
|
65
|
+
--color-project: #1f883d;
|
|
66
|
+
--color-bg: #ffffff;
|
|
67
|
+
--color-surface: #f6f8fa;
|
|
68
|
+
--color-surface-raised: #ffffff;
|
|
69
|
+
--color-surface-muted: #eff2f5;
|
|
70
|
+
--color-nav-current-text: var(--color-text);
|
|
71
|
+
--color-row-hover: #eff2f5;
|
|
72
|
+
--color-border-subtle: #d1d9e0;
|
|
73
|
+
--color-border: #818b98;
|
|
74
|
+
--color-text: #1f2328;
|
|
75
|
+
--color-muted: #59636e;
|
|
76
|
+
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--color-project: #4b45d1;
|
|
8
8
|
--color-project-dark: #a5a1ff;
|
|
9
|
-
--font-ui: "
|
|
10
|
-
--font-mono: "
|
|
9
|
+
--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
|
|
10
|
+
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
11
|
+
--radius-base: 8px;
|
|
11
12
|
}
|
package/dist/themes/iris.css
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--color-project: #6d3fd6;
|
|
8
8
|
--color-project-dark: #b49cff;
|
|
9
|
-
--font-ui: "
|
|
10
|
-
--font-mono: "
|
|
9
|
+
--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
|
|
10
|
+
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
11
|
+
--radius-base: 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:root [data-theme="light"] {
|
|
15
|
+
--color-project: #6d3fd6;
|
|
11
16
|
}
|
package/dist/themes/lagoon.css
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--color-project: #087266;
|
|
8
8
|
--color-project-dark: #5cc8b8;
|
|
9
|
-
--font-ui: "
|
|
10
|
-
--font-mono: "
|
|
9
|
+
--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
|
|
10
|
+
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
11
|
+
--radius-base: 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:root [data-theme="light"] {
|
|
15
|
+
--color-project: #087266;
|
|
11
16
|
}
|
package/dist/themes/lapis.css
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--color-project: #2b59d6;
|
|
8
8
|
--color-project-dark: #8aa8ff;
|
|
9
|
-
--font-ui: "
|
|
10
|
-
--font-mono: "
|
|
9
|
+
--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
|
|
10
|
+
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
11
|
+
--radius-base: 8px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:root [data-theme="light"] {
|
|
15
|
+
--color-project: #2b59d6;
|
|
11
16
|
}
|
package/dist/tokens.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export type TokenName =
|
|
|
5
5
|
| 'color-project-dark'
|
|
6
6
|
| 'font-ui'
|
|
7
7
|
| 'font-mono'
|
|
8
|
+
| 'radius-base'
|
|
8
9
|
| 'color-bg'
|
|
9
10
|
| 'color-surface'
|
|
10
11
|
| 'color-surface-raised'
|
|
@@ -115,7 +116,7 @@ export type TokenName =
|
|
|
115
116
|
| 'measure'
|
|
116
117
|
| 'page-max'
|
|
117
118
|
| 'page-wide'
|
|
118
|
-
| 'sidebar'
|
|
119
|
+
| 'sidebar-width'
|
|
119
120
|
| 'radius-inline'
|
|
120
121
|
| 'radius-control'
|
|
121
122
|
| 'radius-panel'
|