@manakind/shiptight-tokens 0.2.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Humanity Plus Solutions
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.
package/README.md ADDED
@@ -0,0 +1,96 @@
1
+ # `@manakind/shiptight-tokens`
2
+
3
+ ShipTight's design tokens. Values live as DTCG-format JSON under `src/`,
4
+ organized into three explicit layers, and are compiled to CSS and JS by
5
+ Style Dictionary on every build.
6
+
7
+ Two themes: **Chart paper** (light, the default) and **Night watch** (dark).
8
+ The dark values are ShipTight's brand palette: deep `#0b1929`, navy `#0f2440`,
9
+ slate `#1b3a5c`, steel `#64748b`, mist `#94a3b8`, light `#e2e8f0`, and signal
10
+ `#ff6b35`.
11
+
12
+ ## Design rules
13
+
14
+ The tokens are shaped so these are the easy path. Hold compositions to them
15
+ too.
16
+
17
+ - **Surfaces are solid.** A fill that text sits on is always an opaque colour.
18
+ Translucency is for lines and washes behind artwork only. Where the
19
+ prototype had a translucent wash under text, the token is the wash
20
+ composited over the card as a solid (`signal.100`, `signal.950`).
21
+ - **No cards inside cards.** A card is the top surface. Group content inside it
22
+ with spacing or a divider, not with a second card.
23
+ - **Every text/background pair clears WCAG AA**, including a label on its own
24
+ hover and pressed fill. `bun run check:contrast` measures the contract pairs
25
+ plus the state pairs in `contrast-pairs.json`, in both themes.
26
+
27
+ ## Layers
28
+
29
+ | Layer | Path | Rule |
30
+ |---|---|---|
31
+ | Primitives | `src/primitives/` | Raw values only. The Chart paper families (`cream`, `ink`, `sand`, `sage`), the brand ramp (`navy`, `slate`, `steel`, `mist`, `signal`), status hues, and numeric scales. No UI meaning. |
32
+ | Semantic | `src/semantic/` (+ `src/semantic-dark/`) | Role tokens that alias primitives (`semantic.color.action.primary → {primitives.color.signal.700}`). The dark file swaps colour only. |
33
+ | Component | `src/component/` (+ `src/component-dark/`) | Per-component anatomy that aliases semantic, or a primitive where no role fits. The dark directory holds deltas only. |
34
+
35
+ Values the prototype did not state are marked `DERIVED` in their
36
+ `$description`, with the measurement that chose them: hover and pressed steps,
37
+ solid tints, the strong border, the info colour, and the spacing, size and
38
+ type scales, which keep Manuia's steps until ShipTight states its own.
39
+ `grep -c DERIVED src/primitives/*.json` gives the count.
40
+
41
+ The artwork colours (`sand`, `blue-alpha.30`, `sky-alpha.20`, the chart grid
42
+ `ink-alpha.6`/`mist-alpha.7`, and the `ink`/`mist` lines) are primitives with no
43
+ role yet. Their roles are named when
44
+ the first illustration lands; see
45
+ [How illustration lives in the system](https://github.com/Humanity-Plus/Manakind/blob/main/docs/decisions/illustration.mdx).
46
+
47
+ ## Build outputs
48
+
49
+ `bun run --filter @manakind/shiptight-tokens build` writes to `build/`:
50
+
51
+ - `css/primitives.css` — `--primitives-*`
52
+ - `css/semantic.css`, `css/semantic-dark.css` — `--semantic-*`
53
+ - `css/components.css`, `css/components-dark.css` — `--component-*`
54
+ - `css/theme.css`, `css/theme-dark.css` — `--ds-*` (the contract)
55
+ - `js/tokens.ts` — flat object for runtime access
56
+ - `native/theme.ts` — the typed React Native theme
57
+
58
+ The build outputs are committed so CI can detect drift.
59
+
60
+ ## Usage
61
+
62
+ ```ts
63
+ import '@manakind/shiptight-tokens/css/primitives';
64
+ import '@manakind/shiptight-tokens/css/semantic';
65
+ import '@manakind/shiptight-tokens/css/components';
66
+ import '@manakind/shiptight-tokens/css/theme';
67
+
68
+ // Night watch. Emitted under `:root.dark, :root[data-theme='dark']`, so these
69
+ // are inert until you set the class or attribute.
70
+ import '@manakind/shiptight-tokens/css/semantic-dark';
71
+ import '@manakind/shiptight-tokens/css/components-dark';
72
+ import '@manakind/shiptight-tokens/css/theme-dark';
73
+ ```
74
+
75
+ Loading `theme.css` is what makes `@manakind/ui-core` (or
76
+ `@manakind/shiptight-ui`'s re-exported components) render in ShipTight's
77
+ style. The lower layers are only needed if product code reads tokens directly.
78
+
79
+ The fonts are not bundled. Load Space Grotesk (600, 700), DM Sans (400, 500,
80
+ 600), JetBrains Mono (400, 500, 600) and Fraunces (italic) in the app.
81
+
82
+ ## JS entry points
83
+
84
+ | Entry | Contents |
85
+ |---|---|
86
+ | `@manakind/shiptight-tokens/js` | Flat object of every token, keyed by its flattened name (`'primitives-color-signal-500'`) |
87
+ | `@manakind/shiptight-tokens/native` | The typed React Native theme: the `--ds-*` contract as a nested JS object (`themes.light.button.primary.bgHover`) |
88
+
89
+ ```ts
90
+ import { themes } from '@manakind/shiptight-tokens/native';
91
+ // themes.light (Chart paper) / themes.dark (Night watch)
92
+ ```
93
+
94
+ A native base component never imports this directly; it reads the theme
95
+ through `useTheme()`. See
96
+ [Architecture conventions](https://github.com/Humanity-Plus/Manakind/blob/main/docs/internal/conventions/architecture.md).
@@ -0,0 +1,128 @@
1
+ :root.dark, :root[data-theme='dark'] {
2
+ --component-badge-radius: 62.4375rem;
3
+ --component-badge-min-size: 1.5rem;
4
+ --component-badge-padding-inline: 0.5rem;
5
+ --component-badge-padding-block: 0.125rem;
6
+ --component-badge-gap: 0.25rem;
7
+ --component-badge-font-size: 0.875rem;
8
+ --component-badge-font-weight: 500;
9
+ --component-badge-solid-bg: #ff6b35;
10
+ --component-badge-solid-text: #0b1929;
11
+ --component-badge-muted-bg: #07111d;
12
+ --component-badge-muted-text: #94a3b8;
13
+ --component-badge-outline-border: #64748b;
14
+ --component-badge-outline-text: #94a3b8;
15
+ --component-badge-info-bg: #0f3658;
16
+ --component-badge-info-text: #25aff3;
17
+ --component-badge-success-bg: #143d4c;
18
+ --component-badge-success-text: #34d399;
19
+ --component-badge-warning-bg: #303a3c;
20
+ --component-badge-warning-text: #fbbf24;
21
+ --component-badge-danger-bg: #302f47;
22
+ --component-badge-danger-text: #f87171;
23
+ --component-button-radius: 0.375rem;
24
+ --component-button-font-weight: 400;
25
+ --component-button-focus-ring: #f5d48a;
26
+ --component-button-primary-bg: #ff6b35;
27
+ --component-button-primary-bg-hover: #ff935e;
28
+ --component-button-primary-bg-active: #e9571c;
29
+ --component-button-primary-text: #0b1929;
30
+ --component-button-secondary-bg: transparent;
31
+ --component-button-secondary-bg-hover: #44343e;
32
+ --component-button-secondary-border: #ff935e;
33
+ --component-button-secondary-text: #ff935e;
34
+ --component-button-tertiary-bg: transparent;
35
+ --component-button-tertiary-bg-hover: #44343e;
36
+ --component-button-tertiary-text: #ff935e;
37
+ --component-button-size-sm-height: 2rem;
38
+ --component-button-size-sm-padding-inline: 0.75rem;
39
+ --component-button-size-sm-padding-block: 0.375rem;
40
+ --component-button-size-sm-gap: 0.375rem;
41
+ --component-button-size-sm-font-size: 0.875rem;
42
+ --component-button-size-md-height: 2.25rem;
43
+ --component-button-size-md-padding-inline: 1rem;
44
+ --component-button-size-md-padding-block: 0.5rem;
45
+ --component-button-size-md-gap: 0.5rem;
46
+ --component-button-size-md-font-size: 1rem;
47
+ --component-button-size-lg-height: 2.5rem;
48
+ --component-button-size-lg-padding-inline: 1.5rem;
49
+ --component-button-size-lg-padding-block: 0.625rem;
50
+ --component-button-size-lg-gap: 0.5rem;
51
+ --component-button-size-lg-font-size: 1.125rem;
52
+ --component-card-bg: #0f2440;
53
+ --component-card-border: #64748b;
54
+ --component-card-text: #e2e8f0;
55
+ --component-card-text-muted: #94a3b8;
56
+ --component-card-border-hover: #94a3b8;
57
+ --component-card-focus-ring: #f5d48a;
58
+ --component-card-radius: 0.625rem;
59
+ --component-card-padding: 1.5rem;
60
+ --component-card-gap: 1rem;
61
+ --component-card-title-font-size: 1rem;
62
+ --component-card-title-font-weight: 500;
63
+ --component-icon-size-sm: 0.875rem;
64
+ --component-icon-size-md: 1rem;
65
+ --component-icon-size-lg: 1.25rem;
66
+ --component-icon-color-default: #e2e8f0;
67
+ --component-icon-color-muted: #94a3b8;
68
+ --component-icon-color-action: #ff6b35;
69
+ --component-icon-color-on-action: #0b1929;
70
+ --component-icon-color-success: #34d399;
71
+ --component-icon-color-warning: #fbbf24;
72
+ --component-icon-color-danger: #f87171;
73
+ --component-progress-gap: 0.25rem;
74
+ --component-progress-track-bg: #07111d;
75
+ --component-progress-track-radius: 62.4375rem;
76
+ --component-progress-indicator-bg: #ff935e;
77
+ --component-progress-label-text: #94a3b8;
78
+ --component-progress-label-font-size: 0.875rem;
79
+ --component-progress-size-sm-height: 0.375rem;
80
+ --component-progress-size-md-height: 0.625rem;
81
+ --component-progress-size-lg-height: 1rem;
82
+ --component-select-focus-ring: #f5d48a;
83
+ --component-select-trigger-bg: #13294a;
84
+ --component-select-trigger-bg-hover: #0f2440;
85
+ --component-select-trigger-border: #64748b;
86
+ --component-select-trigger-border-hover: #94a3b8;
87
+ --component-select-trigger-border-invalid: #f87171;
88
+ --component-select-trigger-text: #e2e8f0;
89
+ --component-select-trigger-placeholder: #94a3b8;
90
+ --component-select-trigger-radius: 0.375rem;
91
+ --component-select-indicator-color: #94a3b8;
92
+ --component-select-size-sm-height: 2rem;
93
+ --component-select-size-sm-padding-inline: 0.75rem;
94
+ --component-select-size-sm-font-size: 0.875rem;
95
+ --component-select-size-md-height: 2.25rem;
96
+ --component-select-size-md-padding-inline: 1rem;
97
+ --component-select-size-md-font-size: 1rem;
98
+ --component-select-size-lg-height: 2.5rem;
99
+ --component-select-size-lg-padding-inline: 1.5rem;
100
+ --component-select-size-lg-font-size: 1.125rem;
101
+ --component-select-content-bg: #13294a;
102
+ --component-select-content-border: #64748b;
103
+ --component-select-content-radius: 0.625rem;
104
+ --component-select-content-padding: 0.25rem;
105
+ --component-select-item-text: #e2e8f0;
106
+ --component-select-item-text-selected: #e2e8f0;
107
+ --component-select-item-bg-highlighted: #e2e8f0;
108
+ --component-select-item-text-highlighted: #0b1929;
109
+ --component-select-item-bg-selected: transparent;
110
+ --component-select-item-padding-inline: 0.75rem;
111
+ --component-select-item-padding-block: 0.5rem;
112
+ --component-select-item-gap: 0.5rem;
113
+ --component-tabs-list-bg: #0b1929;
114
+ --component-tabs-list-radius: 0.625rem;
115
+ --component-tabs-list-padding: 0.25rem;
116
+ --component-tabs-trigger-bg-active: #0f2440;
117
+ --component-tabs-trigger-bg-hover: #1b3a5c;
118
+ --component-tabs-trigger-text: #94a3b8;
119
+ --component-tabs-trigger-text-active: #e2e8f0;
120
+ --component-tabs-trigger-padding-inline: 0.75rem;
121
+ --component-tabs-trigger-padding-block: 0.5rem;
122
+ --component-tabs-trigger-gap: 0.5rem;
123
+ --component-tabs-trigger-font-size: 1rem;
124
+ --component-tabs-trigger-shadow-active: 0 2px 8px rgba(27, 42, 58, 0.06), 0 1px 2px rgba(27, 42, 58, 0.04);
125
+ --component-tabs-trigger-font-weight: 500;
126
+ --component-tabs-focus-ring: #f5d48a;
127
+ --component-tabs-content-padding-block: 1rem;
128
+ }
@@ -0,0 +1,128 @@
1
+ :root {
2
+ --component-badge-radius: 62.4375rem;
3
+ --component-badge-min-size: 1.5rem;
4
+ --component-badge-padding-inline: 0.5rem;
5
+ --component-badge-padding-block: 0.125rem;
6
+ --component-badge-gap: 0.25rem;
7
+ --component-badge-font-size: 0.875rem;
8
+ --component-badge-font-weight: 500;
9
+ --component-badge-solid-bg: #c2410c;
10
+ --component-badge-solid-text: #fffdf6;
11
+ --component-badge-muted-bg: #dfe5e0;
12
+ --component-badge-muted-text: #56606d;
13
+ --component-badge-outline-border: rgba(27, 42, 58, 0.5);
14
+ --component-badge-outline-text: #56606d;
15
+ --component-badge-info-bg: #e7e9e3;
16
+ --component-badge-info-text: #2e6e8e;
17
+ --component-badge-success-bg: #e4ebdb;
18
+ --component-badge-success-text: #00712f;
19
+ --component-badge-warning-bg: #f2e8d5;
20
+ --component-badge-warning-text: #915300;
21
+ --component-badge-danger-bg: #f4e1d7;
22
+ --component-badge-danger-text: #b91c1c;
23
+ --component-button-radius: 0.375rem;
24
+ --component-button-font-weight: 400;
25
+ --component-button-focus-ring: #c2410c;
26
+ --component-button-primary-bg: #c2410c;
27
+ --component-button-primary-bg-hover: #aa2800;
28
+ --component-button-primary-bg-active: #9c1700;
29
+ --component-button-primary-text: #fffdf6;
30
+ --component-button-secondary-bg: transparent;
31
+ --component-button-secondary-bg-hover: #f3decd;
32
+ --component-button-secondary-border: #aa2800;
33
+ --component-button-secondary-text: #aa2800;
34
+ --component-button-tertiary-bg: transparent;
35
+ --component-button-tertiary-bg-hover: #f3decd;
36
+ --component-button-tertiary-text: #aa2800;
37
+ --component-button-size-sm-height: 2rem;
38
+ --component-button-size-sm-padding-inline: 0.75rem;
39
+ --component-button-size-sm-padding-block: 0.375rem;
40
+ --component-button-size-sm-gap: 0.375rem;
41
+ --component-button-size-sm-font-size: 0.875rem;
42
+ --component-button-size-md-height: 2.25rem;
43
+ --component-button-size-md-padding-inline: 1rem;
44
+ --component-button-size-md-padding-block: 0.5rem;
45
+ --component-button-size-md-gap: 0.5rem;
46
+ --component-button-size-md-font-size: 1rem;
47
+ --component-button-size-lg-height: 2.5rem;
48
+ --component-button-size-lg-padding-inline: 1.5rem;
49
+ --component-button-size-lg-padding-block: 0.625rem;
50
+ --component-button-size-lg-gap: 0.5rem;
51
+ --component-button-size-lg-font-size: 1.125rem;
52
+ --component-card-bg: #fbf7ec;
53
+ --component-card-border: rgba(27, 42, 58, 0.5);
54
+ --component-card-text: #1b2a3a;
55
+ --component-card-text-muted: #56606d;
56
+ --component-card-border-hover: rgba(27, 42, 58, 0.7);
57
+ --component-card-focus-ring: #c2410c;
58
+ --component-card-radius: 0.625rem;
59
+ --component-card-padding: 1.5rem;
60
+ --component-card-gap: 1rem;
61
+ --component-card-title-font-size: 1rem;
62
+ --component-card-title-font-weight: 500;
63
+ --component-icon-size-sm: 0.875rem;
64
+ --component-icon-size-md: 1rem;
65
+ --component-icon-size-lg: 1.25rem;
66
+ --component-icon-color-default: #1b2a3a;
67
+ --component-icon-color-muted: #56606d;
68
+ --component-icon-color-action: #c2410c;
69
+ --component-icon-color-on-action: #fffdf6;
70
+ --component-icon-color-success: #15803d;
71
+ --component-icon-color-warning: #a16207;
72
+ --component-icon-color-danger: #b91c1c;
73
+ --component-progress-gap: 0.25rem;
74
+ --component-progress-track-bg: #dfe5e0;
75
+ --component-progress-track-radius: 62.4375rem;
76
+ --component-progress-indicator-bg: #aa2800;
77
+ --component-progress-label-text: #56606d;
78
+ --component-progress-label-font-size: 0.875rem;
79
+ --component-progress-size-sm-height: 0.375rem;
80
+ --component-progress-size-md-height: 0.625rem;
81
+ --component-progress-size-lg-height: 1rem;
82
+ --component-select-focus-ring: #c2410c;
83
+ --component-select-trigger-bg: #fffdf6;
84
+ --component-select-trigger-bg-hover: #fbf7ec;
85
+ --component-select-trigger-border: rgba(27, 42, 58, 0.5);
86
+ --component-select-trigger-border-hover: rgba(27, 42, 58, 0.7);
87
+ --component-select-trigger-border-invalid: #b91c1c;
88
+ --component-select-trigger-text: #1b2a3a;
89
+ --component-select-trigger-placeholder: #56606d;
90
+ --component-select-trigger-radius: 0.375rem;
91
+ --component-select-indicator-color: #56606d;
92
+ --component-select-size-sm-height: 2rem;
93
+ --component-select-size-sm-padding-inline: 0.75rem;
94
+ --component-select-size-sm-font-size: 0.875rem;
95
+ --component-select-size-md-height: 2.25rem;
96
+ --component-select-size-md-padding-inline: 1rem;
97
+ --component-select-size-md-font-size: 1rem;
98
+ --component-select-size-lg-height: 2.5rem;
99
+ --component-select-size-lg-padding-inline: 1.5rem;
100
+ --component-select-size-lg-font-size: 1.125rem;
101
+ --component-select-content-bg: #fffdf6;
102
+ --component-select-content-border: rgba(27, 42, 58, 0.5);
103
+ --component-select-content-radius: 0.625rem;
104
+ --component-select-content-padding: 0.25rem;
105
+ --component-select-item-text: #1b2a3a;
106
+ --component-select-item-text-selected: #1b2a3a;
107
+ --component-select-item-bg-highlighted: #1b2a3a;
108
+ --component-select-item-text-highlighted: #fffdf6;
109
+ --component-select-item-bg-selected: transparent;
110
+ --component-select-item-padding-inline: 0.75rem;
111
+ --component-select-item-padding-block: 0.5rem;
112
+ --component-select-item-gap: 0.5rem;
113
+ --component-tabs-list-bg: #f3ecda;
114
+ --component-tabs-list-radius: 0.625rem;
115
+ --component-tabs-list-padding: 0.25rem;
116
+ --component-tabs-trigger-bg-active: #fbf7ec;
117
+ --component-tabs-trigger-bg-hover: #e0ded7;
118
+ --component-tabs-trigger-text: #56606d;
119
+ --component-tabs-trigger-text-active: #1b2a3a;
120
+ --component-tabs-trigger-padding-inline: 0.75rem;
121
+ --component-tabs-trigger-padding-block: 0.5rem;
122
+ --component-tabs-trigger-gap: 0.5rem;
123
+ --component-tabs-trigger-font-size: 1rem;
124
+ --component-tabs-trigger-shadow-active: 0 2px 8px rgba(27, 42, 58, 0.06), 0 1px 2px rgba(27, 42, 58, 0.04);
125
+ --component-tabs-trigger-font-weight: 500;
126
+ --component-tabs-focus-ring: #c2410c;
127
+ --component-tabs-content-padding-block: 1rem;
128
+ }
@@ -0,0 +1,106 @@
1
+ :root {
2
+ --primitives-color-cream-50: #fffdf6;
3
+ --primitives-color-cream-100: #fbf7ec;
4
+ --primitives-color-cream-200: #f3ecda;
5
+ --primitives-color-sand-300: #e8d7a9;
6
+ --primitives-color-sand-700: #8a6f3e;
7
+ --primitives-color-sage-100: #dfe5e0;
8
+ --primitives-color-ink-100: #e0ded7;
9
+ --primitives-color-ink-600: #56606d;
10
+ --primitives-color-ink-900: #1b2a3a;
11
+ --primitives-color-ink-alpha-6: rgba(27, 42, 58, 0.06);
12
+ --primitives-color-ink-alpha-24: rgba(27, 42, 58, 0.24);
13
+ --primitives-color-ink-alpha-50: rgba(27, 42, 58, 0.5);
14
+ --primitives-color-ink-alpha-70: rgba(27, 42, 58, 0.7);
15
+ --primitives-color-navy-700: #13294a;
16
+ --primitives-color-navy-800: #0f2440;
17
+ --primitives-color-navy-900: #0b1929;
18
+ --primitives-color-navy-950: #07111d;
19
+ --primitives-color-slate-700: #1b3a5c;
20
+ --primitives-color-steel-500: #64748b;
21
+ --primitives-color-mist-200: #e2e8f0;
22
+ --primitives-color-mist-400: #94a3b8;
23
+ --primitives-color-mist-alpha-7: rgba(148, 163, 184, 0.07);
24
+ --primitives-color-mist-alpha-28: rgba(148, 163, 184, 0.28);
25
+ --primitives-color-mist-alpha-50: rgba(148, 163, 184, 0.5);
26
+ --primitives-color-signal-100: #f3decd;
27
+ --primitives-color-signal-400: #ff935e;
28
+ --primitives-color-signal-500: #ff6b35;
29
+ --primitives-color-signal-600: #e9571c;
30
+ --primitives-color-signal-700: #c2410c;
31
+ --primitives-color-signal-800: #aa2800;
32
+ --primitives-color-signal-900: #9c1700;
33
+ --primitives-color-signal-950: #44343e;
34
+ --primitives-color-signal-alpha-14: rgba(194, 65, 12, 0.14);
35
+ --primitives-color-signal-alpha-22: rgba(255, 107, 53, 0.22);
36
+ --primitives-color-amber-100: #f2e8d5;
37
+ --primitives-color-amber-200: #f5d48a;
38
+ --primitives-color-amber-400: #fbbf24;
39
+ --primitives-color-amber-700: #a16207;
40
+ --primitives-color-amber-800: #915300;
41
+ --primitives-color-amber-950: #303a3c;
42
+ --primitives-color-green-100: #e4ebdb;
43
+ --primitives-color-green-400: #34d399;
44
+ --primitives-color-green-700: #15803d;
45
+ --primitives-color-green-800: #00712f;
46
+ --primitives-color-green-950: #143d4c;
47
+ --primitives-color-red-100: #f4e1d7;
48
+ --primitives-color-red-400: #f87171;
49
+ --primitives-color-red-700: #b91c1c;
50
+ --primitives-color-red-950: #302f47;
51
+ --primitives-color-blue-100: #e7e9e3;
52
+ --primitives-color-blue-600: #2e6e8e;
53
+ --primitives-color-blue-alpha-30: rgba(46, 110, 142, 0.3);
54
+ --primitives-color-sky-400: #25aff3;
55
+ --primitives-color-sky-500: #0ea5e9;
56
+ --primitives-color-sky-950: #0f3658;
57
+ --primitives-color-sky-alpha-20: rgba(14, 165, 233, 0.2);
58
+ --primitives-opacity-50: 0.5;
59
+ --primitives-radius-sm: 0.375rem;
60
+ --primitives-radius-md: 0.625rem;
61
+ --primitives-radius-full: 62.4375rem;
62
+ --primitives-shadow-soft: 0 2px 8px rgba(27, 42, 58, 0.06), 0 1px 2px rgba(27, 42, 58, 0.04);
63
+ --primitives-size-14: 0.875rem;
64
+ --primitives-size-16: 1rem;
65
+ --primitives-size-20: 1.25rem;
66
+ --primitives-size-24: 1.5rem;
67
+ --primitives-size-32: 2rem;
68
+ --primitives-size-36: 2.25rem;
69
+ --primitives-size-40: 2.5rem;
70
+ --primitives-size-44: 2.75rem;
71
+ --primitives-size-48: 3rem;
72
+ --primitives-space-0: 0rem;
73
+ --primitives-space-2: 0.125rem;
74
+ --primitives-space-4: 0.25rem;
75
+ --primitives-space-6: 0.375rem;
76
+ --primitives-space-8: 0.5rem;
77
+ --primitives-space-10: 0.625rem;
78
+ --primitives-space-12: 0.75rem;
79
+ --primitives-space-16: 1rem;
80
+ --primitives-space-20: 1.25rem;
81
+ --primitives-space-24: 1.5rem;
82
+ --primitives-space-28: 1.75rem;
83
+ --primitives-space-32: 2rem;
84
+ --primitives-space-40: 2.5rem;
85
+ --primitives-space-48: 3rem;
86
+ --primitives-space-64: 4rem;
87
+ --primitives-font-family-grotesk: Space Grotesk, sans-serif;
88
+ --primitives-font-family-sans: DM Sans, sans-serif;
89
+ --primitives-font-family-mono: JetBrains Mono, monospace;
90
+ --primitives-font-family-serif: Fraunces, serif;
91
+ --primitives-font-size-xs: 0.875rem;
92
+ --primitives-font-size-sm: 0.875rem;
93
+ --primitives-font-size-md: 1rem;
94
+ --primitives-font-size-lg: 1.125rem;
95
+ --primitives-font-size-xl: 1.25rem;
96
+ --primitives-font-size-2xl: 1.5rem;
97
+ --primitives-font-size-3xl: 1.875rem;
98
+ --primitives-font-size-4xl: 2.25rem;
99
+ --primitives-font-weight-regular: 400;
100
+ --primitives-font-weight-medium: 500;
101
+ --primitives-font-weight-semibold: 600;
102
+ --primitives-font-weight-bold: 700;
103
+ --primitives-line-height-tight: 1.25;
104
+ --primitives-line-height-normal: 1.5;
105
+ --primitives-line-height-relaxed: 1.75;
106
+ }
@@ -0,0 +1,46 @@
1
+ :root.dark, :root[data-theme='dark'] {
2
+ --semantic-control-height-sm: 2rem;
3
+ --semantic-control-height-md: 2.25rem;
4
+ --semantic-control-height-lg: 2.5rem;
5
+ --semantic-elevation-raised: 0 2px 8px rgba(27, 42, 58, 0.06), 0 1px 2px rgba(27, 42, 58, 0.04);
6
+ --semantic-opacity-interactive-disabled: 0.5;
7
+ --semantic-radius-interactive: 0.375rem;
8
+ --semantic-radius-surface: 0.625rem;
9
+ --semantic-radius-pill: 62.4375rem;
10
+ --semantic-space-gap-tight: 0.25rem;
11
+ --semantic-space-gap: 0.5rem;
12
+ --semantic-space-gap-relaxed: 1rem;
13
+ --semantic-space-gap-loose: 2rem;
14
+ --semantic-space-padding: 1rem;
15
+ --semantic-color-surface-canvas: #0b1929;
16
+ --semantic-color-surface-raised: #0f2440;
17
+ --semantic-color-surface-overlay: #13294a;
18
+ --semantic-color-surface-subtle: #0b1929;
19
+ --semantic-color-surface-control: #13294a;
20
+ --semantic-color-surface-muted: #07111d;
21
+ --semantic-color-text-default: #e2e8f0;
22
+ --semantic-color-text-muted: #94a3b8;
23
+ --semantic-color-border-subtle: #64748b;
24
+ --semantic-color-border-control: #64748b;
25
+ --semantic-color-border-strong: #94a3b8;
26
+ --semantic-color-focus-ring: #f5d48a;
27
+ --semantic-color-action-primary: #ff6b35;
28
+ --semantic-color-action-primary-hover: #ff935e;
29
+ --semantic-color-action-primary-active: #e9571c;
30
+ --semantic-color-action-primary-subtle: #44343e;
31
+ --semantic-color-action-primary-strong: #ff935e;
32
+ --semantic-color-action-primary-text: #0b1929;
33
+ --semantic-color-action-accent: #e2e8f0;
34
+ --semantic-color-action-accent-text: #0b1929;
35
+ --semantic-color-status-success: #34d399;
36
+ --semantic-color-status-warning: #fbbf24;
37
+ --semantic-color-status-danger: #f87171;
38
+ --semantic-color-status-success-surface: #143d4c;
39
+ --semantic-color-status-warning-surface: #303a3c;
40
+ --semantic-color-status-danger-surface: #302f47;
41
+ --semantic-color-status-info-surface: #0f3658;
42
+ --semantic-color-status-success-text: #34d399;
43
+ --semantic-color-status-warning-text: #fbbf24;
44
+ --semantic-color-status-danger-text: #f87171;
45
+ --semantic-color-status-info-text: #25aff3;
46
+ }
@@ -0,0 +1,46 @@
1
+ :root {
2
+ --semantic-control-height-sm: 2rem;
3
+ --semantic-control-height-md: 2.25rem;
4
+ --semantic-control-height-lg: 2.5rem;
5
+ --semantic-elevation-raised: 0 2px 8px rgba(27, 42, 58, 0.06), 0 1px 2px rgba(27, 42, 58, 0.04);
6
+ --semantic-opacity-interactive-disabled: 0.5;
7
+ --semantic-radius-interactive: 0.375rem;
8
+ --semantic-radius-surface: 0.625rem;
9
+ --semantic-radius-pill: 62.4375rem;
10
+ --semantic-space-gap-tight: 0.25rem;
11
+ --semantic-space-gap: 0.5rem;
12
+ --semantic-space-gap-relaxed: 1rem;
13
+ --semantic-space-gap-loose: 2rem;
14
+ --semantic-space-padding: 1rem;
15
+ --semantic-color-surface-canvas: #f3ecda;
16
+ --semantic-color-surface-raised: #fbf7ec;
17
+ --semantic-color-surface-overlay: #fffdf6;
18
+ --semantic-color-surface-subtle: #f3ecda;
19
+ --semantic-color-surface-control: #fffdf6;
20
+ --semantic-color-surface-muted: #dfe5e0;
21
+ --semantic-color-text-default: #1b2a3a;
22
+ --semantic-color-text-muted: #56606d;
23
+ --semantic-color-border-subtle: rgba(27, 42, 58, 0.5);
24
+ --semantic-color-border-control: rgba(27, 42, 58, 0.5);
25
+ --semantic-color-border-strong: rgba(27, 42, 58, 0.7);
26
+ --semantic-color-focus-ring: #c2410c;
27
+ --semantic-color-action-primary: #c2410c;
28
+ --semantic-color-action-primary-hover: #aa2800;
29
+ --semantic-color-action-primary-active: #9c1700;
30
+ --semantic-color-action-primary-subtle: #f3decd;
31
+ --semantic-color-action-primary-strong: #aa2800;
32
+ --semantic-color-action-primary-text: #fffdf6;
33
+ --semantic-color-action-accent: #1b2a3a;
34
+ --semantic-color-action-accent-text: #fffdf6;
35
+ --semantic-color-status-success: #15803d;
36
+ --semantic-color-status-warning: #a16207;
37
+ --semantic-color-status-danger: #b91c1c;
38
+ --semantic-color-status-success-surface: #e4ebdb;
39
+ --semantic-color-status-warning-surface: #f2e8d5;
40
+ --semantic-color-status-danger-surface: #f4e1d7;
41
+ --semantic-color-status-info-surface: #e7e9e3;
42
+ --semantic-color-status-success-text: #00712f;
43
+ --semantic-color-status-warning-text: #915300;
44
+ --semantic-color-status-danger-text: #b91c1c;
45
+ --semantic-color-status-info-text: #2e6e8e;
46
+ }