@filipgutica/design-system 1.0.11 → 1.0.13

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.
@@ -15,9 +15,6 @@
15
15
  * Standalone HTML: import or inline this file.
16
16
  * Inline visuals: inherit the host font and theme variables; see DESIGN.md.
17
17
  * Repos: map these names onto the repository's own token system.
18
- * Sites on @filipgutica/ui: the names are the same. Each line's "ui:" comment lists the ui
19
- * variables that carry its value, its own name first; the others are component roles with the same
20
- * value. A var(…) comment is a fallback ui writes where it reads the role. ui's build reads these comments.
21
18
  *
22
19
  * Theme states: bare :root is light. prefers-color-scheme picks dark unless
23
20
  * data-theme="light" is set. data-theme="dark" forces dark.
@@ -28,146 +25,146 @@
28
25
 
29
26
  /* Identity layer: a project swaps these four lines. --color-project is the light-theme hue;
30
27
  --color-project-dark is the dark-theme hue, also used on dark plates in both themes. */
31
- --color-project: #4b45d1; /* ui: --color-project */
32
- --color-project-dark: #a5a1ff; /* ui: --color-project-dark */
33
- --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; /* ui: --font-ui */
34
- --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; /* ui: --font-mono */
28
+ --color-project: #4b45d1;
29
+ --color-project-dark: #a5a1ff;
30
+ --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
31
+ --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
35
32
 
36
33
  /* Core roles: only the identity lines above feed them. Neutral paper and graphite surfaces. */
37
- --color-bg: #f4f5f6; /* ui: --color-bg */
38
- --color-surface: #e9ebed; /* ui: --color-surface */
39
- --color-surface-raised: #fbfbfc; /* ui: --color-surface-raised, --color-input-bg */
40
- --color-surface-muted: #e2e5e8; /* ui: --color-surface-muted */
34
+ --color-bg: #f4f5f6;
35
+ --color-surface: #e9ebed;
36
+ --color-surface-raised: #fbfbfc;
37
+ --color-surface-muted: #e2e5e8;
41
38
  /* The well: segmented and switch tracks, pressed buttons, selected radio cards, and disabled fields. */
42
- --color-well: var(--color-surface-muted); /* ui: --color-well */
39
+ --color-well: var(--color-surface-muted);
43
40
  /* Fields (input, select, textarea, search): a white fill with a faint edge in light, the sunk well in dark.
44
41
  Dark fields stay sunk in the well. It sits within about 1.01:1 of the canvas, so the edge carries the shape. */
45
- --color-field-bg: var(--color-surface-raised); /* ui: --color-field-bg */
46
- --color-field-edge: var(--color-border-subtle); /* ui: --color-field-edge */
47
- --shadow-field: none; /* ui: --shadow-field */
48
- --color-control-thumb: var(--color-surface-raised); /* ui: --color-control-thumb */
42
+ --color-field-bg: var(--color-surface-raised);
43
+ --color-field-edge: var(--color-border-subtle);
44
+ --shadow-field: none;
45
+ --color-control-thumb: var(--color-surface-raised);
49
46
  /* Selected rows lift and take a faint accent tint, so the selection reads on near-white panels too. */
50
- --color-nav-current: color-mix(in srgb, var(--color-accent) 14%, var(--color-surface-raised)); /* ui: --color-nav-current */
47
+ --color-nav-current: color-mix(in srgb, var(--color-accent) 14%, var(--color-surface-raised));
51
48
  /* Text on the current nav row, selected tab, and selected list row: the first of --color-accent, --color-text, black, and white
52
49
  that reaches 4.5:1 over --color-nav-current, on the page and on a surface. */
53
- --color-nav-current-text: var(--color-accent); /* ui: var(--color-nav-current-text, var(--color-accent)) */
50
+ --color-nav-current-text: var(--color-accent);
54
51
  /* The selected segmented label: the first of --color-accent, --color-text, black, and white that reaches
55
52
  4.5:1 on the thumb. An icon-only option needs 3:1. */
56
- --color-segmented-current-text: var(--color-accent); /* ui: var(--color-segmented-current-text, var(--color-accent)) */
57
- --color-row-hover: #e2e5e8; /* ui: --color-row-hover */
58
- --color-row-selected: var(--color-surface-raised); /* ui: --color-row-selected */
59
- --color-border-subtle: #d3d8dd; /* ui: --color-border-subtle */
60
- --color-border: #6d747b; /* ui: --color-border, --color-input-border */
61
- --color-text: #101315; /* ui: --color-text, --color-input-text, --color-row-selected-text, --color-status-text */
62
- --color-muted: #50575e; /* ui: --color-muted, --color-input-placeholder, --color-syntax-operator, --color-syntax-punctuation */
63
- --color-overlay: rgb(0 0 0 / 42%); /* ui: --color-overlay */
53
+ --color-segmented-current-text: var(--color-accent);
54
+ --color-row-hover: #e2e5e8;
55
+ --color-row-selected: var(--color-surface-raised);
56
+ --color-border-subtle: #d3d8dd;
57
+ --color-border: #6d747b;
58
+ --color-text: #101315;
59
+ --color-muted: #50575e;
60
+ --color-overlay: rgb(0 0 0 / 42%);
64
61
 
65
62
  /* The hue fills primary actions and marks selection; links keep --color-link. */
66
- --color-accent: var(--color-project); /* ui: --color-accent, --color-button-bg, --color-progress */
67
- --color-accent-text: var(--color-bg); /* ui: --color-accent-text, --color-button-text */
68
- --color-accent-hover: var(--color-text); /* ui: --color-accent-hover */
69
- --color-button-hover: color-mix(in srgb, var(--color-accent) 85%, var(--color-text)); /* ui: --color-button-hover */
70
- --color-link: #0b5f7c; /* ui: --color-link */
63
+ --color-accent: var(--color-project);
64
+ --color-accent-text: var(--color-bg);
65
+ --color-accent-hover: var(--color-text);
66
+ --color-button-hover: color-mix(in srgb, var(--color-accent) 85%, var(--color-text));
67
+ --color-link: #0b5f7c;
71
68
  /* One focus ring for every role: the accent, at 3:1 or more on --color-bg, --color-surface, and --color-surface-raised
72
69
  in both themes. Fields mark focus with their own accent edge instead; see components.md. */
73
- --color-focus: var(--color-accent); /* ui: --color-focus */
74
- --focus-width: 2px; /* ui: --focus-width */
75
- --focus-offset: 3px; /* ui: --focus-offset */
70
+ --color-focus: var(--color-accent);
71
+ --focus-width: 2px;
72
+ --focus-offset: 3px;
76
73
 
77
74
  /* Status: only for state, never for decoration. */
78
- --color-success: #157249; /* ui: --color-success */
79
- --color-warning: #86532e; /* ui: --color-warning */
80
- --color-error: #bd342b; /* ui: --color-error */
81
- --color-info: #175cd3; /* ui: --color-info */
82
- --color-success-surface: #d9e5e1; /* ui: --color-success-surface */
83
- --color-warning-surface: #e7e2de; /* ui: --color-warning-surface */
84
- --color-error-surface: #efe4e4; /* ui: --color-error-surface */
85
- --color-info-surface: #d9e3f2; /* ui: --color-info-surface */
75
+ --color-success: #157249;
76
+ --color-warning: #86532e;
77
+ --color-error: #bd342b;
78
+ --color-info: #175cd3;
79
+ --color-success-surface: #d9e5e1;
80
+ --color-warning-surface: #e7e2de;
81
+ --color-error-surface: #efe4e4;
82
+ --color-info-surface: #d9e3f2;
86
83
 
87
84
  /* Identity layer, derived: terminal folio plates. Commands take the hue; captures stay neutral.
88
85
  A project without terminal plates leaves these unused. */
89
- --color-command-bg: color-mix(in srgb, var(--color-project) 25%, #101010); /* ui: --color-command-bg */
90
- --color-command-border: transparent; /* ui: --color-command-border */
91
- --color-terminal: #0a0c0e; /* ui: --color-terminal */
92
- --color-terminal-text: #e6e9eb; /* ui: --color-terminal-text */
93
- --color-terminal-border: #2a3036; /* ui: --color-terminal-border */
94
- --color-terminal-caption: #13171a; /* ui: --color-terminal-caption */
95
- --color-terminal-caption-text: #c9d0d6; /* ui: --color-terminal-caption-text */
86
+ --color-command-bg: color-mix(in srgb, var(--color-project) 25%, #101010);
87
+ --color-command-border: transparent;
88
+ --color-terminal: #0a0c0e;
89
+ --color-terminal-text: #e6e9eb;
90
+ --color-terminal-border: #2a3036;
91
+ --color-terminal-caption: #13171a;
92
+ --color-terminal-caption-text: #c9d0d6;
96
93
  /* The terminal capture's header stays dark in both appearances, so its selected tab keeps the dark lift. */
97
- --shadow-nav-current-dark: 0 1px 2px rgb(0 0 0 / 25%); /* ui: --shadow-nav-current-dark */
94
+ --shadow-nav-current-dark: 0 1px 2px rgb(0 0 0 / 25%);
98
95
 
99
96
  /* Source code wells */
100
- --color-code: var(--color-surface); /* ui: --color-code */
101
- --color-code-text: var(--color-text); /* ui: --color-code-text, --color-syntax-variable */
102
- --color-syntax-keyword: #715b42; /* ui: --color-syntax-keyword, --color-syntax-function, --color-syntax-tag */
103
- --color-syntax-string: #346347; /* ui: --color-syntax-string */
104
- --color-syntax-number: #86532e; /* ui: --color-syntax-number, --color-syntax-type, --color-syntax-attribute */
105
- --color-syntax-comment: #626772; /* ui: --color-syntax-comment */
97
+ --color-code: var(--color-surface);
98
+ --color-code-text: var(--color-text);
99
+ --color-syntax-keyword: #715b42;
100
+ --color-syntax-string: #346347;
101
+ --color-syntax-number: #86532e;
102
+ --color-syntax-comment: #626772;
106
103
 
107
104
  /* Type scale. The identity block names the families. */
108
- --text-xs: 0.75rem; /* ui: --text-xs */
109
- --text-sm: 0.8125rem; /* ui: --text-sm */
110
- --text-md: 0.875rem; /* ui: --text-md */
111
- --text-lg: 1rem; /* ui: --text-lg */
112
- --text-xl: 1.25rem; /* ui: --text-xl */
113
- --text-2xl: 1.5rem; /* ui: --text-2xl */
114
- --text-3xl: 2.75rem; /* ui: --text-3xl */
115
- --text-reading: 1rem; /* ui: --text-reading */
116
- --text-display: 3.5rem; /* ui: --text-display */
117
- --text-display-sm: 2.125rem; /* ui: --text-display-sm */
118
- --leading-tight: 1.25; /* ui: --leading-tight */
119
- --leading: 1.6; /* ui: --leading */
120
- --weight-regular: 400; /* ui: --weight-regular */
121
- --weight-medium: 500; /* ui: --weight-medium */
122
- --weight-semibold: 600; /* ui: --weight-semibold */
123
- --tracking-tight: -0.03em; /* ui: --tracking-tight */
124
- --text-code: 0.84375rem; /* ui: --text-code */
105
+ --text-xs: 0.75rem;
106
+ --text-sm: 0.8125rem;
107
+ --text-md: 0.875rem;
108
+ --text-lg: 1rem;
109
+ --text-xl: 1.25rem;
110
+ --text-2xl: 1.5rem;
111
+ --text-3xl: 2.75rem;
112
+ --text-reading: 1rem;
113
+ --text-display: 3.5rem;
114
+ --text-display-sm: 2.125rem;
115
+ --leading-tight: 1.25;
116
+ --leading: 1.6;
117
+ --weight-regular: 400;
118
+ --weight-medium: 500;
119
+ --weight-semibold: 600;
120
+ --tracking-tight: -0.03em;
121
+ --text-code: 0.84375rem;
125
122
 
126
123
  /* Space: a 4px rhythm (0.25rem at the default 16px root). */
127
- --space-1: 0.25rem; /* ui: --space-1 */
128
- --space-2: 0.5rem; /* ui: --space-2 */
129
- --space-3: 0.75rem; /* ui: --space-3 */
130
- --space-4: 1rem; /* ui: --space-4 */
131
- --space-5: 1.25rem; /* ui: --space-5 */
132
- --space-6: 1.5rem; /* ui: --space-6 */
133
- --space-8: 2rem; /* ui: --space-8 */
134
- --space-12: 3rem; /* ui: --space-12 */
135
- --space-16: 4rem; /* ui: --space-16 */
136
- --space-20: 5rem; /* ui: --space-20 */
137
- --space-24: 6rem; /* ui: --space-24 */
124
+ --space-1: 0.25rem;
125
+ --space-2: 0.5rem;
126
+ --space-3: 0.75rem;
127
+ --space-4: 1rem;
128
+ --space-5: 1.25rem;
129
+ --space-6: 1.5rem;
130
+ --space-8: 2rem;
131
+ --space-12: 3rem;
132
+ --space-16: 4rem;
133
+ --space-20: 5rem;
134
+ --space-24: 6rem;
138
135
 
139
136
  /* Size */
140
- --control-sm: 2rem; /* ui: --control-sm */
141
- --control-md: 2.25rem; /* ui: --control-md */
142
- --control-lg: 2.75rem; /* ui: --control-lg */
143
- --row: 2.25rem; /* ui: --row */
144
- --measure: 68ch; /* ui: --measure */
145
- --page-max: 960px; /* ui: --page-max */
146
- --page-wide: 1120px; /* ui: --page-wide */
147
- --sidebar: 224px; /* ui: --sidebar */
137
+ --control-sm: 2rem;
138
+ --control-md: 2.25rem;
139
+ --control-lg: 2.75rem;
140
+ --row: 2.25rem;
141
+ --measure: 68ch;
142
+ --page-max: 960px;
143
+ --page-wide: 1120px;
144
+ --sidebar: 224px;
148
145
 
149
146
  /* Shape */
150
- --radius-inline: 6px; /* ui: --radius-inline */
151
- --radius-control: 999px; /* ui: --radius-control */
152
- --radius-panel: 16px; /* ui: --radius-panel */
153
- --radius-field: 10px; /* ui: --radius-field */
154
- --radius-pill: 999px; /* ui: --radius-pill */
147
+ --radius-inline: 6px;
148
+ --radius-control: 999px;
149
+ --radius-panel: 16px;
150
+ --radius-field: 10px;
151
+ --radius-pill: 999px;
155
152
 
156
153
  /* Elevation: DESIGN.md#depth assigns each tier. Idle controls and surfaces take no outer light
157
154
  highlight and no blur wider than 2px. */
158
- --shadow-raise: 0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%); /* ui: --shadow-raise */
159
- --shadow-surface: 0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%); /* ui: --shadow-surface */
160
- --shadow-sink: inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%); /* ui: --shadow-sink */
161
- --shadow-dialog: 0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px var(--color-border-subtle); /* ui: --shadow-dialog */
162
- --shadow-nav-current: 0 1px 3px rgb(130 142 158 / 40%); /* ui: --shadow-nav-current */
155
+ --shadow-raise: 0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%);
156
+ --shadow-surface: 0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%);
157
+ --shadow-sink: inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%);
158
+ --shadow-dialog: 0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px var(--color-border-subtle);
159
+ --shadow-nav-current: 0 1px 3px rgb(130 142 158 / 40%);
163
160
  /* A focused field's inset line inside its accent or danger edge. It takes each theme's accent and danger. */
164
- --shadow-field-focus: inset 0 0 0 2px color-mix(in srgb, var(--color-accent) 18%, transparent); /* ui: --shadow-field-focus */
165
- --shadow-field-focus-invalid: inset 0 0 0 2px color-mix(in srgb, var(--color-error) 18%, transparent); /* ui: --shadow-field-focus-invalid */
161
+ --shadow-field-focus: inset 0 0 0 2px color-mix(in srgb, var(--color-accent) 18%, transparent);
162
+ --shadow-field-focus-invalid: inset 0 0 0 2px color-mix(in srgb, var(--color-error) 18%, transparent);
166
163
 
167
164
  /* Motion */
168
- --duration-fast: 120ms; /* ui: --duration-fast */
169
- --duration: 180ms; /* ui: --duration */
170
- --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1); /* ui: --ease-out */
165
+ --duration-fast: 120ms;
166
+ --duration: 180ms;
167
+ --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
171
168
  }
172
169
 
173
170
  @media (prefers-color-scheme: dark) {
@@ -8,7 +8,7 @@ The renderer's `--mode inline` output has a transparent outer surface and host t
8
8
 
9
9
  ## Standalone / Claude attachment
10
10
 
11
- Use `--mode standalone --tokens ~/design-language/tokens.css` to inline the installed design-language tokens, which are generated from `@filipgutica/ui`. This keeps the export readable without host CSS, a Vue runtime, an npm install, or network access. The same normalized snapshot and view function drive both modes.
11
+ Use `--mode standalone --tokens ~/design-language/tokens.css` to inline the installed design-language tokens. This keeps the export readable without host CSS, a Vue runtime, an npm install, or network access. The same normalized snapshot and view function drive both modes.
12
12
 
13
13
  The HTML file is an uploadable, self-contained snapshot: embed its dataset, styles and JavaScript; keep filters local. It must work without `window.openai`, a connector, a server or a fetch request. Open the actual standalone file without host-provided styles before calling it portable. Describe it as ready to attach to Claude, not as uploaded or proven compatible with a particular Claude deployment unless that was verified.
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filipgutica/design-system",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Filip's design language, tokens, and component catalogue for any framework",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -12,8 +12,6 @@
12
12
  "default": "./dist/tokens.js"
13
13
  },
14
14
  "./tokens.css": "./language/tokens.css",
15
- "./class/base.css": "./dist/class/base.css",
16
- "./class/themes/*.css": "./dist/class/themes/*.css",
17
15
  "./themes/*.css": "./dist/themes/*.css",
18
16
  "./tokens.json": "./dist/tokens.json",
19
17
  "./fonts.css": "./fonts/fonts.css",
@@ -1,188 +0,0 @@
1
- /* Generated from tokens/core.json and tokens/themes/graphite-indigo.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
2
- * Base tokens for the class flavour: toggle .dark on <html> for dark mode.
3
- * Keep exactly one :root.dark block: sites copy it into a <noscript> prefers-color-scheme rule. */
4
-
5
- :root {
6
- color-scheme: light;
7
- --color-project: #4b45d1;
8
- --color-project-dark: #a5a1ff;
9
- --color-bg: #f4f5f6;
10
- --color-surface: #e9ebed;
11
- --color-surface-raised: #fbfbfc;
12
- --color-surface-muted: #e2e5e8;
13
- --color-text: #101315;
14
- --color-muted: #50575e;
15
- --color-link: #0b5f7c;
16
- --color-accent: var(--color-project);
17
- --color-accent-text: var(--color-bg);
18
- --color-focus: var(--color-accent);
19
- --color-border: #6d747b;
20
- --color-border-subtle: #d3d8dd;
21
- --color-button-bg: var(--color-accent);
22
- --color-button-text: var(--color-accent-text);
23
- --color-button-hover: color-mix(in srgb, var(--color-accent) 85%, var(--color-text));
24
- --color-input-bg: var(--color-surface-raised);
25
- --color-input-text: var(--color-text);
26
- --color-input-border: var(--color-border);
27
- --color-input-placeholder: var(--color-muted);
28
- --color-row-hover: #e2e5e8;
29
- --color-row-selected: var(--color-surface-raised);
30
- --color-row-selected-text: var(--color-text);
31
- --color-code: var(--color-surface);
32
- --color-code-text: var(--color-text);
33
- --color-syntax-comment: #626772;
34
- --color-syntax-keyword: #715b42;
35
- --color-syntax-string: #346347;
36
- --color-syntax-number: #86532e;
37
- --color-syntax-function: var(--color-syntax-keyword);
38
- --color-syntax-type: var(--color-syntax-number);
39
- --color-syntax-variable: var(--color-code-text);
40
- --color-syntax-operator: var(--color-muted);
41
- --color-syntax-punctuation: var(--color-muted);
42
- --color-syntax-tag: var(--color-syntax-keyword);
43
- --color-syntax-attribute: var(--color-syntax-number);
44
- --color-error: #bd342b;
45
- --color-warning: #86532e;
46
- --color-success: #157249;
47
- --color-info: #175cd3;
48
- --color-progress: var(--color-accent);
49
- --color-error-surface: #efe4e4;
50
- --color-warning-surface: #e7e2de;
51
- --color-success-surface: #d9e5e1;
52
- --color-info-surface: #d9e3f2;
53
- --shadow-dialog: 0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px var(--color-border-subtle);
54
- --color-status-text: var(--color-text);
55
- --color-terminal: #0a0c0e;
56
- --color-terminal-text: #e6e9eb;
57
- --color-terminal-border: #2a3036;
58
- --color-terminal-caption: #13171a;
59
- --color-terminal-caption-text: #c9d0d6;
60
- --color-accent-hover: var(--color-text);
61
- --color-command-bg: color-mix(in srgb, var(--color-project) 25%, #101010);
62
- --color-command-border: transparent;
63
- --color-well: var(--color-surface-muted);
64
- --color-field-bg: var(--color-surface-raised);
65
- --color-field-edge: var(--color-border-subtle);
66
- --shadow-field: none;
67
- --color-control-thumb: var(--color-surface-raised);
68
- --color-nav-current: color-mix(in srgb, var(--color-accent) 14%, var(--color-surface-raised));
69
- --color-overlay: rgb(0 0 0 / 42%);
70
- --shadow-field-focus: inset 0 0 0 2px color-mix(in srgb, var(--color-accent) 18%, transparent);
71
- --shadow-field-focus-invalid: inset 0 0 0 2px color-mix(in srgb, var(--color-error) 18%, transparent);
72
- --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
73
- --radius-inline: 6px;
74
- --radius-control: 999px;
75
- --radius-field: 10px;
76
- --radius-panel: 16px;
77
- --shadow-nav-current-dark: 0 1px 2px rgb(0 0 0 / 25%);
78
- --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
79
- --focus-width: 2px;
80
- --focus-offset: 3px;
81
- --text-xs: 0.75rem;
82
- --text-sm: 0.8125rem;
83
- --text-md: 0.875rem;
84
- --text-lg: 1rem;
85
- --text-xl: 1.25rem;
86
- --text-2xl: 1.5rem;
87
- --leading-tight: 1.25;
88
- --leading: 1.6;
89
- --weight-regular: 400;
90
- --weight-medium: 500;
91
- --weight-semibold: 600;
92
- --text-code: 0.84375rem;
93
- --space-1: 0.25rem;
94
- --space-2: 0.5rem;
95
- --space-3: 0.75rem;
96
- --space-4: 1rem;
97
- --space-5: 1.25rem;
98
- --space-6: 1.5rem;
99
- --space-8: 2rem;
100
- --space-12: 3rem;
101
- --space-16: 4rem;
102
- --control-sm: 2rem;
103
- --control-md: 2.25rem;
104
- --control-lg: 2.75rem;
105
- --measure: 68ch;
106
- --page-max: 960px;
107
- --sidebar: 224px;
108
- --radius-pill: 999px;
109
- --shadow-raise: 0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%);
110
- --shadow-surface: 0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%);
111
- --shadow-sink: inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%);
112
- --shadow-nav-current: 0 1px 3px rgb(130 142 158 / 40%);
113
- --duration-fast: 120ms;
114
- --duration: 180ms;
115
- --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
116
- --color-shadow: rgb(16 24 40 / 10%);
117
- --shadow-control: none;
118
- }
119
-
120
- :root.dark {
121
- color-scheme: dark;
122
- --color-project: var(--color-project-dark);
123
- --color-project-dark: #a5a1ff;
124
- --color-bg: #0d1012;
125
- --color-surface: #13171a;
126
- --color-surface-raised: #181d21;
127
- --color-surface-muted: #20262b;
128
- --color-text: #e6e9eb;
129
- --color-muted: #9aa3ab;
130
- --color-link: #67c1df;
131
- --color-accent: var(--color-project);
132
- --color-accent-text: var(--color-bg);
133
- --color-border: #78818a;
134
- --color-border-subtle: #262d33;
135
- --color-button-bg: var(--color-accent);
136
- --color-button-text: var(--color-accent-text);
137
- --color-button-hover: color-mix(in srgb, var(--color-accent) 85%, var(--color-text));
138
- --color-input-bg: var(--color-surface-raised);
139
- --color-input-text: var(--color-text);
140
- --color-input-border: var(--color-border);
141
- --color-input-placeholder: var(--color-muted);
142
- --color-row-hover: #20262b;
143
- --color-row-selected: var(--color-surface-raised);
144
- --color-row-selected-text: var(--color-text);
145
- --color-code: var(--color-surface);
146
- --color-code-text: var(--color-text);
147
- --color-syntax-comment: #a0a6b1;
148
- --color-syntax-keyword: #d8c2a5;
149
- --color-syntax-string: #a8bd9c;
150
- --color-syntax-number: #d5b98c;
151
- --color-syntax-function: var(--color-syntax-keyword);
152
- --color-syntax-type: var(--color-syntax-number);
153
- --color-syntax-variable: var(--color-code-text);
154
- --color-syntax-operator: var(--color-muted);
155
- --color-syntax-punctuation: var(--color-muted);
156
- --color-syntax-tag: var(--color-syntax-keyword);
157
- --color-syntax-attribute: var(--color-syntax-number);
158
- --color-error: #f0776c;
159
- --color-warning: #e2a54b;
160
- --color-success: #4cc38a;
161
- --color-info: #84adff;
162
- --color-progress: var(--color-accent);
163
- --color-error-surface: #312020;
164
- --color-warning-surface: #2f281b;
165
- --color-success-surface: #172d25;
166
- --color-info-surface: #202938;
167
- --shadow-dialog: 0 8px 24px rgb(0 0 0 / 45%), 0 0 0 1px var(--color-border-subtle);
168
- --color-status-text: var(--color-text);
169
- --color-terminal: #0a0c0e;
170
- --color-terminal-text: #e6e9eb;
171
- --color-terminal-border: #2a3036;
172
- --color-terminal-caption: #13171a;
173
- --color-terminal-caption-text: #c9d0d6;
174
- --color-accent-hover: var(--color-text);
175
- --color-command-bg: color-mix(in srgb, var(--color-project) 16%, black);
176
- --color-command-border: color-mix(in srgb, var(--color-project) 28%, black);
177
- --color-well: color-mix(in srgb, var(--color-bg) 87.5%, black);
178
- --color-field-bg: var(--color-well);
179
- --shadow-field: var(--shadow-sink);
180
- --color-control-thumb: color-mix(in srgb, var(--color-surface-raised) 88%, white);
181
- --color-nav-current: color-mix(in srgb, var(--color-accent) 20%, transparent);
182
- --color-overlay: rgb(0 0 0 / 62%);
183
- --shadow-raise: inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%);
184
- --shadow-surface: 0 0 0 1px rgb(255 255 255 / 6%);
185
- --shadow-sink: inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%);
186
- --shadow-nav-current: var(--shadow-nav-current-dark);
187
- --color-shadow: rgb(0 0 0 / 32%);
188
- }
@@ -1,133 +0,0 @@
1
- /* Generated from tokens/core.json and tokens/themes/graphite-indigo.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
2
- * Opt-in Graphite Indigo roles for the class flavour. Import after class/base.css (theme.css in @filipgutica/ui).
3
- * Dark mode uses the same .dark class as the base. Keep exactly one :root.dark block:
4
- * sites copy it into a <noscript> prefers-color-scheme rule. */
5
-
6
- :root {
7
- color-scheme: light;
8
- --color-project: #4b45d1;
9
- --color-project-dark: #a5a1ff;
10
- --color-bg: #f4f5f6;
11
- --color-surface: #e9ebed;
12
- --color-surface-raised: #fbfbfc;
13
- --color-surface-muted: #e2e5e8;
14
- --color-text: #101315;
15
- --color-muted: #50575e;
16
- --color-link: #0b5f7c;
17
- --color-accent: var(--color-project);
18
- --color-accent-text: var(--color-bg);
19
- --color-focus: var(--color-accent);
20
- --color-border: #6d747b;
21
- --color-border-subtle: #d3d8dd;
22
- --color-button-bg: var(--color-accent);
23
- --color-button-text: var(--color-accent-text);
24
- --color-button-hover: color-mix(in srgb, var(--color-accent) 85%, var(--color-text));
25
- --color-input-bg: var(--color-surface-raised);
26
- --color-input-text: var(--color-text);
27
- --color-input-border: var(--color-border);
28
- --color-input-placeholder: var(--color-muted);
29
- --color-row-hover: #e2e5e8;
30
- --color-row-selected: var(--color-surface-raised);
31
- --color-row-selected-text: var(--color-text);
32
- --color-code: var(--color-surface);
33
- --color-code-text: var(--color-text);
34
- --color-syntax-comment: #626772;
35
- --color-syntax-keyword: #715b42;
36
- --color-syntax-string: #346347;
37
- --color-syntax-number: #86532e;
38
- --color-syntax-function: var(--color-syntax-keyword);
39
- --color-syntax-type: var(--color-syntax-number);
40
- --color-syntax-variable: var(--color-code-text);
41
- --color-syntax-operator: var(--color-muted);
42
- --color-syntax-punctuation: var(--color-muted);
43
- --color-syntax-tag: var(--color-syntax-keyword);
44
- --color-syntax-attribute: var(--color-syntax-number);
45
- --color-error: #bd342b;
46
- --color-warning: #86532e;
47
- --color-success: #157249;
48
- --color-info: #175cd3;
49
- --color-progress: var(--color-accent);
50
- --color-error-surface: #efe4e4;
51
- --color-warning-surface: #e7e2de;
52
- --color-success-surface: #d9e5e1;
53
- --color-info-surface: #d9e3f2;
54
- --shadow-dialog: 0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px var(--color-border-subtle);
55
- --color-status-text: var(--color-text);
56
- --color-terminal: #0a0c0e;
57
- --color-terminal-text: #e6e9eb;
58
- --color-terminal-border: #2a3036;
59
- --color-terminal-caption: #13171a;
60
- --color-terminal-caption-text: #c9d0d6;
61
- --color-accent-hover: var(--color-text);
62
- --color-command-bg: color-mix(in srgb, var(--color-project) 25%, #101010);
63
- --color-command-border: transparent;
64
- --text-3xl: 2.75rem;
65
- --text-reading: 1rem;
66
- --text-display: 3.5rem;
67
- --text-display-sm: 2.125rem;
68
- --tracking-tight: -0.03em;
69
- --space-20: 5rem;
70
- --space-24: 6rem;
71
- --row: 2.25rem;
72
- --page-wide: 1120px;
73
- }
74
-
75
- :root.dark {
76
- color-scheme: dark;
77
- --color-project: var(--color-project-dark);
78
- --color-project-dark: #a5a1ff;
79
- --color-bg: #0d1012;
80
- --color-surface: #13171a;
81
- --color-surface-raised: #181d21;
82
- --color-surface-muted: #20262b;
83
- --color-text: #e6e9eb;
84
- --color-muted: #9aa3ab;
85
- --color-link: #67c1df;
86
- --color-accent: var(--color-project);
87
- --color-accent-text: var(--color-bg);
88
- --color-focus: var(--color-accent);
89
- --color-border: #78818a;
90
- --color-border-subtle: #262d33;
91
- --color-button-bg: var(--color-accent);
92
- --color-button-text: var(--color-accent-text);
93
- --color-button-hover: color-mix(in srgb, var(--color-accent) 85%, var(--color-text));
94
- --color-input-bg: var(--color-surface-raised);
95
- --color-input-text: var(--color-text);
96
- --color-input-border: var(--color-border);
97
- --color-input-placeholder: var(--color-muted);
98
- --color-row-hover: #20262b;
99
- --color-row-selected: var(--color-surface-raised);
100
- --color-row-selected-text: var(--color-text);
101
- --color-code: var(--color-surface);
102
- --color-code-text: var(--color-text);
103
- --color-syntax-comment: #a0a6b1;
104
- --color-syntax-keyword: #d8c2a5;
105
- --color-syntax-string: #a8bd9c;
106
- --color-syntax-number: #d5b98c;
107
- --color-syntax-function: var(--color-syntax-keyword);
108
- --color-syntax-type: var(--color-syntax-number);
109
- --color-syntax-variable: var(--color-code-text);
110
- --color-syntax-operator: var(--color-muted);
111
- --color-syntax-punctuation: var(--color-muted);
112
- --color-syntax-tag: var(--color-syntax-keyword);
113
- --color-syntax-attribute: var(--color-syntax-number);
114
- --color-error: #f0776c;
115
- --color-warning: #e2a54b;
116
- --color-success: #4cc38a;
117
- --color-info: #84adff;
118
- --color-progress: var(--color-accent);
119
- --color-error-surface: #312020;
120
- --color-warning-surface: #2f281b;
121
- --color-success-surface: #172d25;
122
- --color-info-surface: #202938;
123
- --shadow-dialog: 0 8px 24px rgb(0 0 0 / 45%), 0 0 0 1px var(--color-border-subtle);
124
- --color-status-text: var(--color-text);
125
- --color-terminal: #0a0c0e;
126
- --color-terminal-text: #e6e9eb;
127
- --color-terminal-border: #2a3036;
128
- --color-terminal-caption: #13171a;
129
- --color-terminal-caption-text: #c9d0d6;
130
- --color-accent-hover: var(--color-text);
131
- --color-command-bg: color-mix(in srgb, var(--color-project) 16%, black);
132
- --color-command-border: color-mix(in srgb, var(--color-project) 28%, black);
133
- }