@l3mpire/tokens 0.5.3

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 ADDED
@@ -0,0 +1,176 @@
1
+ # @l3mpire/tokens
2
+
3
+ Design tokens for the lemDS design system. Built with **Style Dictionary v4** using the **DTCG** (Design Tokens Community Group) format.
4
+
5
+ Outputs CSS custom properties and TypeScript constants.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ pnpm add @l3mpire/tokens
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ### CSS Custom Properties
16
+
17
+ ```css
18
+ /* Import all tokens */
19
+ @import "@l3mpire/tokens/css";
20
+
21
+ /* Import dark mode overrides */
22
+ @import "@l3mpire/tokens/css/tokens-dark";
23
+ ```
24
+
25
+ ### TypeScript
26
+
27
+ ```ts
28
+ import tokens from "@l3mpire/tokens";
29
+ ```
30
+
31
+ ## Token Structure
32
+
33
+ ```
34
+ src/
35
+ ├── primitives/
36
+ │ ├── light.json Base color scales (blue, red, green, yellow, pink, grey)
37
+ │ ├── dark.json Dark mode color overrides
38
+ │ └── shadows.json Shadow definitions
39
+ ├── semantic/
40
+ │ ├── light.json Semantic color mappings (core.bg, core.text, interactive.*)
41
+ │ └── dark.json Dark mode semantic overrides
42
+ ├── fonts/
43
+ │ └── font.json Font size, line-height, weight, letter-spacing
44
+ ├── sizing/
45
+ │ └── sizing.json Spacing, radius, gap, stroke scales
46
+ └── components/
47
+ └── *.json Per-component token files (button, badge, toast...)
48
+ ```
49
+
50
+ ## Token Categories
51
+
52
+ ### Colors
53
+
54
+ **Primitives** — Raw color scales (`50`–`900`):
55
+ - `blue`, `red`, `green`, `yellow`, `pink`, `grey`
56
+ - Brand blue: `#316bff` (blue-500)
57
+
58
+ **Semantic** — Purpose-based color references:
59
+ - `core.bg.main.primary` — Main background
60
+ - `core.text.main.primary` — Primary text
61
+ - `core.border.main.default` — Default border
62
+ - `interactive.bg.primary.dark.default` — Interactive element background
63
+
64
+ **Component** — Per-component tokens:
65
+ - Pattern: `comp.{component}.{variant}.{property}.{state}`
66
+ - Example: `comp.btn.solid.brand.bg.default`
67
+ - CSS output: `--comp-btn-solid-brand-bg-default`
68
+
69
+ ### Spacing
70
+
71
+ | Token | Value |
72
+ |-------|-------|
73
+ | `--spacing-none` | 0px |
74
+ | `--spacing-2xs` | 2px |
75
+ | `--spacing-xs` | 4px |
76
+ | `--spacing-sm` | 6px |
77
+ | `--spacing-base` | 8px |
78
+ | `--spacing-md` | 12px |
79
+ | `--spacing-lg` | 16px |
80
+ | `--spacing-xl` | 24px |
81
+ | `--spacing-2xl` | 32px |
82
+ | `--spacing-3xl` | 40px |
83
+ | `--spacing-4xl` | 48px |
84
+ | `--spacing-5xl` | 56px |
85
+
86
+ ### Border Radius
87
+
88
+ | Token | Value |
89
+ |-------|-------|
90
+ | `--radius-none` | 0px |
91
+ | `--radius-2xs` | 2px |
92
+ | `--radius-xs` | 4px |
93
+ | `--radius-sm` | 6px |
94
+ | `--radius-base` | 8px |
95
+ | `--radius-md` | 12px |
96
+ | `--radius-lg` | 16px |
97
+ | `--radius-xl` | 24px |
98
+ | `--radius-full` | 9999px |
99
+
100
+ ### Typography
101
+
102
+ **Font sizes:**
103
+
104
+ | Token | Value |
105
+ |-------|-------|
106
+ | `--font-size-size-xxs` | 10px |
107
+ | `--font-size-size-xs` | 12px |
108
+ | `--font-size-size-sm` | 14px |
109
+ | `--font-size-size-base` | 16px |
110
+ | `--font-size-size-md` | 18px |
111
+ | `--font-size-size-lg` | 20px |
112
+ | `--font-size-size-xl` | 24px |
113
+
114
+ **Font weights:**
115
+
116
+ | Token | Value |
117
+ |-------|-------|
118
+ | `--font-weight-regular` | 400 |
119
+ | `--font-weight-medium` | 500 |
120
+ | `--font-weight-bold` | 700 |
121
+
122
+ ### Shadows
123
+
124
+ | Token | Description |
125
+ |-------|-------------|
126
+ | `--shadow-sm` | Subtle elevation |
127
+ | `--shadow-md` | Medium elevation |
128
+ | `--shadow-lg` | High elevation |
129
+ | `--shadow-focus-ring` | Focus indicator ring |
130
+
131
+ ## Token Format (DTCG)
132
+
133
+ Tokens use the Design Tokens Community Group specification:
134
+
135
+ ```json
136
+ {
137
+ "comp": {
138
+ "badge": {
139
+ "solid": {
140
+ "primary": {
141
+ "bg": {
142
+ "$type": "color",
143
+ "$value": "{interactive.bg.primary.dark.default}"
144
+ },
145
+ "text": {
146
+ "$type": "color",
147
+ "$value": "{core.text.mainInvert.primary}"
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ ```
155
+
156
+ - `$type` — Token type (`color`, `dimension`, `fontWeight`, `shadow`, etc.)
157
+ - `$value` — Either a raw value or a reference to another token using `{path.to.token}`
158
+
159
+ ## Building
160
+
161
+ ```bash
162
+ pnpm --filter @l3mpire/tokens build
163
+ ```
164
+
165
+ Outputs to `dist/`:
166
+ - `dist/css/tokens.css` — Light mode CSS custom properties
167
+ - `dist/css/tokens-dark.css` — Dark mode overrides
168
+ - `dist/ts/tokens.ts` — TypeScript constants
169
+
170
+ ## Adding New Tokens
171
+
172
+ 1. Add tokens to the appropriate JSON file in `src/`
173
+ 2. For component tokens, create `src/components/{component}.json`
174
+ 3. Follow the naming convention: `comp.{component}.{axis}.{property}.{state}`
175
+ 4. Reference semantic tokens — never hardcode hex values
176
+ 5. Run `pnpm --filter @l3mpire/tokens build` to regenerate outputs
@@ -0,0 +1,322 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --comp-btn-solid-brand-bg-gradient-to-default: #477bff;
7
+ --comp-btn-solid-brand-inner-border-default: #5c8aff;
8
+ --comp-btn-solid-brand-inner-border-hover: #5c8aff;
9
+ --comp-btn-solid-brand-inner-border-pressed: #3d6be0;
10
+ --comp-btn-solid-alert-bg-gradient-to-default: #ee5454;
11
+ --comp-btn-solid-alert-inner-border-default: #f06666;
12
+ --comp-btn-solid-alert-inner-border-hover: #f06666;
13
+ --comp-btn-solid-alert-inner-border-pressed: #c83333;
14
+ --comp-btn-ghost-brand-bg-default: rgba(0, 0, 0, 0);
15
+ --comp-btn-ghost-brand-border-default: rgba(0, 0, 0, 0);
16
+ --comp-btn-ghost-brand-border-hover: rgba(0, 0, 0, 0);
17
+ --comp-btn-ghost-brand-border-pressed: rgba(0, 0, 0, 0);
18
+ --comp-btn-ghost-neutral-bg-default: rgba(0, 0, 0, 0);
19
+ --comp-btn-ghost-neutral-border-default: rgba(0, 0, 0, 0);
20
+ --comp-btn-ghost-neutral-border-hover: rgba(0, 0, 0, 0);
21
+ --comp-btn-ghost-neutral-border-pressed: rgba(0, 0, 0, 0);
22
+ --comp-btn-ghost-alert-bg-default: rgba(0, 0, 0, 0);
23
+ --comp-btn-ghost-alert-border-default: rgba(0, 0, 0, 0);
24
+ --comp-btn-ghost-alert-border-hover: rgba(0, 0, 0, 0);
25
+ --comp-btn-ghost-alert-border-pressed: rgba(0, 0, 0, 0);
26
+ --comp-btn-disabled-ghost-bg: rgba(0, 0, 0, 0);
27
+ --comp-btn-disabled-ghost-border: rgba(0, 0, 0, 0);
28
+ --comp-btn-outlined-neutral-bg-default: var(--grey-50);
29
+ --comp-btn-outlined-neutral-bg-hover: var(--grey-100);
30
+ --comp-btn-outlined-neutral-bg-pressed: var(--grey-200);
31
+ --comp-btn-outlined-neutral-bg-gradient-to-default: var(--grey-white);
32
+ --comp-btn-outlined-neutral-bg-gradient-to-hover: var(--grey-50);
33
+ --comp-btn-outlined-neutral-bg-gradient-to-pressed: var(--grey-100);
34
+ --comp-checkbox-disabled-bg: var(--grey-200);
35
+ --comp-modal-overlay: var(--grey-900);
36
+ --comp-select-bg-default: var(--grey-50);
37
+ --comp-select-bg-gradient-to: var(--grey-white);
38
+ --comp-select-bg-hover: var(--grey-100);
39
+ --comp-select-bg-disabled: var(--grey-200);
40
+ --comp-switch-off-track-default: var(--grey-400);
41
+ --comp-switch-off-track-hover: var(--grey-500);
42
+ --comp-switch-off-track-disabled: var(--grey-300);
43
+ --comp-switch-on-track-disabled: var(--blue-200);
44
+ --comp-switch-thumb-bg: var(--grey-white);
45
+ --comp-switch-thumb-disabled: var(--grey-white);
46
+ --comp-text-input-button-bg: var(--grey-50);
47
+ --comp-text-input-button-gradient-to: var(--grey-white);
48
+ --comp-text-input-button-bg-hover: var(--grey-100);
49
+ --comp-avatar-fallback-bg: var(--interactive-bg-primary-dark-default);
50
+ --comp-avatar-fallback-text: var(--core-text-main-invert-primary);
51
+ --comp-badge-solid-primary-bg: var(--interactive-bg-primary-dark-default);
52
+ --comp-badge-solid-primary-text: var(--core-text-main-invert-primary);
53
+ --comp-badge-solid-success-bg: var(--interactive-bg-success-dark-default);
54
+ --comp-badge-solid-success-text: var(--core-text-main-invert-primary);
55
+ --comp-badge-solid-critical-bg: var(--interactive-bg-critical-dark-default);
56
+ --comp-badge-solid-critical-text: var(--core-text-main-invert-primary);
57
+ --comp-badge-solid-warning-bg: var(--interactive-bg-warning-dark-default);
58
+ --comp-badge-solid-warning-text: var(--core-text-main-invert-primary);
59
+ --comp-badge-solid-neutral-bg: var(--core-bg-main-invert-secondary);
60
+ --comp-badge-solid-neutral-text: var(--core-text-main-invert-primary);
61
+ --comp-badge-light-primary-bg: var(--core-bg-functional-invert-info);
62
+ --comp-badge-light-primary-text: var(--core-text-functional-info);
63
+ --comp-badge-light-success-bg: var(--core-bg-functional-invert-success);
64
+ --comp-badge-light-success-text: var(--core-text-functional-success);
65
+ --comp-badge-light-critical-bg: var(--core-bg-functional-invert-critical);
66
+ --comp-badge-light-critical-text: var(--core-text-functional-critical);
67
+ --comp-badge-light-warning-bg: var(--core-bg-functional-invert-warning);
68
+ --comp-badge-light-warning-text: var(--core-text-functional-warning);
69
+ --comp-badge-light-neutral-bg: var(--core-bg-specific-tags-neutral);
70
+ --comp-badge-light-neutral-text: var(--core-text-main-secondary);
71
+ --comp-badge-outlined-primary-border: var(--core-border-functional-info);
72
+ --comp-badge-outlined-primary-text: var(--core-text-functional-info);
73
+ --comp-badge-outlined-success-border: var(--core-border-functional-success);
74
+ --comp-badge-outlined-success-text: var(--core-text-functional-success);
75
+ --comp-badge-outlined-critical-border: var(--core-border-functional-critical);
76
+ --comp-badge-outlined-critical-text: var(--core-text-functional-critical);
77
+ --comp-badge-outlined-warning-border: var(--core-border-functional-warning);
78
+ --comp-badge-outlined-warning-text: var(--core-text-functional-warning);
79
+ --comp-badge-outlined-neutral-border: var(--core-border-main-invert-secondary);
80
+ --comp-badge-outlined-neutral-text: var(--core-text-main-secondary);
81
+ --comp-browser-tab-border: var(--core-border-main-primary);
82
+ --comp-browser-tab-item-bg: var(--core-bg-main-primary);
83
+ --comp-browser-tab-item-border: var(--core-border-main-primary);
84
+ --comp-browser-tab-item-active-text: var(--core-text-main-primary);
85
+ --comp-browser-tab-item-active-icon: var(--core-text-main-primary);
86
+ --comp-browser-tab-item-inactive-text: var(--core-text-main-tertiary);
87
+ --comp-browser-tab-item-inactive-icon: var(--core-text-main-tertiary);
88
+ --comp-browser-tab-item-hover-icon: var(--core-text-main-secondary);
89
+ --comp-btn-solid-brand-bg-default: var(--interactive-bg-primary-dark-default);
90
+ --comp-btn-solid-brand-bg-hover: var(--interactive-bg-primary-dark-default);
91
+ --comp-btn-solid-brand-bg-pressed: var(--interactive-bg-primary-dark-hover);
92
+ --comp-btn-solid-brand-bg-gradient-to-hover: var(--interactive-bg-primary-dark-hover);
93
+ --comp-btn-solid-brand-bg-gradient-to-pressed: var(--interactive-bg-primary-dark-pressed);
94
+ --comp-btn-solid-brand-text-default: var(--core-text-main-invert-primary);
95
+ --comp-btn-solid-brand-text-hover: var(--core-text-main-invert-primary);
96
+ --comp-btn-solid-brand-text-pressed: var(--core-text-main-invert-primary);
97
+ --comp-btn-solid-brand-border-default: var(--interactive-border-primary-dark-default);
98
+ --comp-btn-solid-brand-border-hover: var(--interactive-border-primary-dark-default);
99
+ --comp-btn-solid-brand-border-pressed: var(--interactive-border-primary-dark-pressed);
100
+ --comp-btn-solid-alert-bg-default: var(--interactive-bg-critical-dark-default);
101
+ --comp-btn-solid-alert-bg-hover: var(--interactive-bg-critical-dark-default);
102
+ --comp-btn-solid-alert-bg-pressed: var(--interactive-bg-critical-dark-hover);
103
+ --comp-btn-solid-alert-bg-gradient-to-hover: var(--interactive-bg-critical-dark-hover);
104
+ --comp-btn-solid-alert-bg-gradient-to-pressed: var(--interactive-bg-critical-dark-pressed);
105
+ --comp-btn-solid-alert-text-default: var(--core-text-main-invert-primary);
106
+ --comp-btn-solid-alert-text-hover: var(--core-text-main-invert-primary);
107
+ --comp-btn-solid-alert-text-pressed: var(--core-text-main-invert-primary);
108
+ --comp-btn-solid-alert-border-default: var(--interactive-border-critical-dark-default);
109
+ --comp-btn-solid-alert-border-hover: var(--interactive-border-critical-dark-default);
110
+ --comp-btn-solid-alert-border-pressed: var(--interactive-border-critical-dark-pressed);
111
+ --comp-btn-outlined-neutral-text-default: var(--core-text-main-primary);
112
+ --comp-btn-outlined-neutral-text-hover: var(--core-text-main-primary);
113
+ --comp-btn-outlined-neutral-text-pressed: var(--core-text-main-primary);
114
+ --comp-btn-outlined-neutral-border-default: var(--core-border-main-primary);
115
+ --comp-btn-outlined-neutral-border-hover: var(--core-border-main-primary);
116
+ --comp-btn-outlined-neutral-border-pressed: var(--core-border-main-primary);
117
+ --comp-btn-outlined-alert-bg-default: var(--core-bg-main-primary);
118
+ --comp-btn-outlined-alert-bg-hover: var(--interactive-bg-critical-light-hover);
119
+ --comp-btn-outlined-alert-bg-pressed: var(--interactive-bg-critical-light-pressed);
120
+ --comp-btn-outlined-alert-text-default: var(--interactive-text-critical-dark-default);
121
+ --comp-btn-outlined-alert-text-hover: var(--interactive-text-critical-dark-hover);
122
+ --comp-btn-outlined-alert-text-pressed: var(--interactive-text-critical-dark-pressed);
123
+ --comp-btn-outlined-alert-border-default: var(--interactive-border-critical-dark-default);
124
+ --comp-btn-outlined-alert-border-hover: var(--interactive-border-critical-dark-default);
125
+ --comp-btn-outlined-alert-border-pressed: var(--interactive-border-critical-dark-pressed);
126
+ --comp-btn-ghost-brand-bg-hover: var(--interactive-bg-primary-light-hover);
127
+ --comp-btn-ghost-brand-bg-pressed: var(--interactive-bg-primary-light-pressed);
128
+ --comp-btn-ghost-brand-text-default: var(--interactive-text-primary-dark-default);
129
+ --comp-btn-ghost-brand-text-hover: var(--interactive-text-primary-dark-hover);
130
+ --comp-btn-ghost-brand-text-pressed: var(--interactive-text-primary-dark-pressed);
131
+ --comp-btn-ghost-neutral-bg-hover: var(--interactive-bg-light-hover);
132
+ --comp-btn-ghost-neutral-bg-pressed: var(--interactive-bg-light-pressed);
133
+ --comp-btn-ghost-neutral-text-default: var(--core-text-main-secondary);
134
+ --comp-btn-ghost-neutral-text-hover: var(--core-text-main-secondary);
135
+ --comp-btn-ghost-neutral-text-pressed: var(--core-text-main-secondary);
136
+ --comp-btn-ghost-alert-bg-hover: var(--interactive-bg-critical-light-hover);
137
+ --comp-btn-ghost-alert-bg-pressed: var(--interactive-bg-critical-light-pressed);
138
+ --comp-btn-ghost-alert-text-default: var(--interactive-text-critical-dark-default);
139
+ --comp-btn-ghost-alert-text-hover: var(--interactive-text-critical-dark-hover);
140
+ --comp-btn-ghost-alert-text-pressed: var(--interactive-text-critical-dark-pressed);
141
+ --comp-btn-disabled-solid-bg: var(--core-bg-functional-disabled);
142
+ --comp-btn-disabled-solid-text: var(--core-text-functional-disabled);
143
+ --comp-btn-disabled-solid-border: var(--core-bg-functional-disabled);
144
+ --comp-btn-disabled-outlined-bg: var(--core-bg-functional-disabled);
145
+ --comp-btn-disabled-outlined-text: var(--core-text-functional-disabled);
146
+ --comp-btn-disabled-outlined-border: var(--core-bg-functional-disabled);
147
+ --comp-btn-disabled-ghost-text: var(--core-text-functional-disabled);
148
+ --comp-checkbox-unchecked-bg: var(--core-bg-main-primary);
149
+ --comp-checkbox-unchecked-border-default: var(--core-border-main-secondary);
150
+ --comp-checkbox-unchecked-border-hover: var(--interactive-border-primary-dark-hover);
151
+ --comp-checkbox-unchecked-border-pressed: var(--interactive-border-primary-dark-pressed);
152
+ --comp-checkbox-checked-bg-default: var(--interactive-bg-primary-dark-default);
153
+ --comp-checkbox-checked-bg-hover: var(--interactive-bg-primary-dark-hover);
154
+ --comp-checkbox-checked-bg-pressed: var(--interactive-bg-primary-dark-pressed);
155
+ --comp-checkbox-checked-icon: var(--core-text-main-invert-primary);
156
+ --comp-checkbox-disabled-border: var(--core-border-main-secondary);
157
+ --comp-checkbox-disabled-icon: var(--core-text-functional-disabled);
158
+ --comp-checkbox-label-default: var(--core-text-main-primary);
159
+ --comp-checkbox-label-disabled: var(--core-text-functional-disabled);
160
+ --comp-dropdown-bg: var(--core-bg-main-primary);
161
+ --comp-dropdown-border: var(--core-border-main-primary);
162
+ --comp-dropdown-item-text: var(--core-text-main-primary);
163
+ --comp-dropdown-item-secondary: var(--core-text-main-secondary);
164
+ --comp-dropdown-item-hover: var(--interactive-bg-white-hover);
165
+ --comp-dropdown-item-icon: var(--core-text-main-secondary);
166
+ --comp-dropdown-heading-text: var(--core-text-main-tertiary);
167
+ --comp-dropdown-clear-text: var(--core-text-main-primary);
168
+ --comp-info-message-info-bg: var(--core-bg-functional-invert-info);
169
+ --comp-info-message-info-icon: var(--core-text-functional-info);
170
+ --comp-info-message-success-bg: var(--core-bg-functional-invert-success);
171
+ --comp-info-message-success-icon: var(--core-text-functional-success);
172
+ --comp-info-message-alert-bg: var(--core-bg-functional-invert-critical);
173
+ --comp-info-message-alert-icon: var(--core-text-functional-critical);
174
+ --comp-info-message-warning-bg: var(--core-bg-functional-invert-warning);
175
+ --comp-info-message-warning-icon: var(--core-text-functional-warning);
176
+ --comp-info-message-empty-bg: var(--core-bg-main-secondary);
177
+ --comp-info-message-empty-icon: var(--core-text-main-secondary);
178
+ --comp-info-message-title: var(--core-text-main-primary);
179
+ --comp-info-message-description: var(--core-text-main-secondary);
180
+ --comp-info-message-close: var(--core-text-main-secondary);
181
+ --comp-input-label-text: var(--core-text-main-secondary);
182
+ --comp-input-label-optional: var(--core-text-main-tertiary);
183
+ --comp-input-label-mandatory: var(--core-text-functional-critical);
184
+ --comp-input-label-icon: var(--core-text-main-secondary);
185
+ --comp-input-label-disabled: var(--core-text-functional-disabled);
186
+ --comp-link-neutral-text-default: var(--interactive-text-neutral-dark-default);
187
+ --comp-link-neutral-text-hover: var(--interactive-text-neutral-dark-hover);
188
+ --comp-link-neutral-text-pressed: var(--interactive-text-neutral-dark-pressed);
189
+ --comp-link-brand-text-default: var(--interactive-text-primary-dark-default);
190
+ --comp-link-brand-text-hover: var(--interactive-text-primary-dark-hover);
191
+ --comp-link-brand-text-pressed: var(--interactive-text-primary-dark-pressed);
192
+ --comp-link-alert-text-default: var(--interactive-text-critical-dark-default);
193
+ --comp-link-alert-text-hover: var(--interactive-text-critical-dark-hover);
194
+ --comp-link-alert-text-pressed: var(--interactive-text-critical-dark-pressed);
195
+ --comp-link-success-text-default: var(--interactive-text-success-dark-default);
196
+ --comp-link-success-text-hover: var(--interactive-text-success-dark-hover);
197
+ --comp-link-success-text-pressed: var(--interactive-text-success-dark-pressed);
198
+ --comp-link-warning-text-default: var(--interactive-text-warning-dark-default);
199
+ --comp-link-warning-text-hover: var(--interactive-text-warning-dark-hover);
200
+ --comp-link-warning-text-pressed: var(--interactive-text-warning-dark-pressed);
201
+ --comp-link-disabled-text: var(--core-text-functional-disabled);
202
+ --comp-modal-bg: var(--core-bg-main-primary);
203
+ --comp-modal-border: var(--core-border-main-primary);
204
+ --comp-modal-header-title: var(--core-text-main-primary);
205
+ --comp-modal-header-description: var(--core-text-main-secondary);
206
+ --comp-modal-header-border: var(--core-border-main-primary);
207
+ --comp-modal-header-close: var(--core-text-main-secondary);
208
+ --comp-modal-footer-border: var(--core-border-main-primary);
209
+ --comp-modal-footer-text: var(--core-text-main-secondary);
210
+ --comp-modal-footer-icon: var(--core-text-functional-info);
211
+ --comp-search-bar-white-bg: var(--core-bg-main-primary);
212
+ --comp-search-bar-grey-bg: var(--core-bg-main-secondary);
213
+ --comp-search-bar-border-default: var(--core-border-main-primary);
214
+ --comp-search-bar-border-hover: var(--core-border-main-secondary);
215
+ --comp-search-bar-border-active: var(--core-border-functional-info);
216
+ --comp-search-bar-icon: var(--core-text-main-secondary);
217
+ --comp-search-bar-placeholder: var(--core-text-functional-placeholder);
218
+ --comp-search-bar-text: var(--core-text-main-primary);
219
+ --comp-search-bar-clear: var(--core-text-main-secondary);
220
+ --comp-select-bg-error: var(--core-bg-main-primary);
221
+ --comp-select-border-default: var(--core-border-main-primary);
222
+ --comp-select-border-hover: var(--core-border-main-secondary);
223
+ --comp-select-border-error: var(--core-border-functional-critical);
224
+ --comp-select-border-disabled: var(--core-border-main-primary);
225
+ --comp-select-text-default: var(--core-text-main-primary);
226
+ --comp-select-text-placeholder: var(--core-text-main-tertiary);
227
+ --comp-select-text-disabled: var(--core-text-functional-disabled);
228
+ --comp-select-text-multi: var(--core-text-main-tertiary);
229
+ --comp-select-icon: var(--core-text-main-secondary);
230
+ --comp-select-error-text: var(--core-text-functional-critical);
231
+ --comp-select-error-icon: var(--core-text-functional-critical);
232
+ --comp-sidebar-bg: var(--core-bg-main-primary);
233
+ --comp-sidebar-border: var(--core-border-main-primary);
234
+ --comp-sidebar-footer-bg: var(--core-bg-main-secondary);
235
+ --comp-sidebar-item-default-icon: var(--core-text-main-secondary);
236
+ --comp-sidebar-item-default-text: var(--core-text-main-secondary);
237
+ --comp-sidebar-item-hover-bg: var(--interactive-bg-white-hover);
238
+ --comp-sidebar-item-hover-icon: var(--core-text-main-secondary);
239
+ --comp-sidebar-item-hover-text: var(--core-text-main-secondary);
240
+ --comp-sidebar-item-active-bg: var(--interactive-bg-primary-light-hover);
241
+ --comp-sidebar-item-active-icon: var(--interactive-text-primary-dark-default);
242
+ --comp-sidebar-item-active-text: var(--core-text-main-primary);
243
+ --comp-sidebar-item-chevron: var(--core-text-main-primary);
244
+ --comp-sidebar-heading-text: var(--core-text-main-tertiary);
245
+ --comp-switch-on-track-default: var(--interactive-bg-primary-dark-default);
246
+ --comp-switch-on-track-hover: var(--interactive-bg-primary-dark-hover);
247
+ --comp-switch-label-text: var(--core-text-main-primary);
248
+ --comp-switch-label-disabled: var(--core-text-functional-disabled);
249
+ --comp-tab-border: var(--core-border-main-primary);
250
+ --comp-tab-item-default-text: var(--core-text-main-tertiary);
251
+ --comp-tab-item-hover-bg: var(--interactive-bg-white-hover);
252
+ --comp-tab-item-active-text: var(--core-text-main-primary);
253
+ --comp-tab-item-active-bg: var(--interactive-bg-white-pressed);
254
+ --comp-tab-item-active-border: var(--core-border-main-invert-primary);
255
+ --comp-table-bg: var(--core-bg-main-primary);
256
+ --comp-table-border: var(--core-border-main-primary);
257
+ --comp-table-head-bg-default: var(--core-bg-main-primary);
258
+ --comp-table-head-bg-hover: var(--core-bg-main-secondary);
259
+ --comp-table-head-text: var(--core-text-main-secondary);
260
+ --comp-table-head-icon: var(--core-text-main-secondary);
261
+ --comp-table-row-bg-default: var(--core-bg-main-primary);
262
+ --comp-table-row-bg-hover: var(--core-bg-main-secondary);
263
+ --comp-table-row-bg-selected: var(--core-bg-functional-invert-info);
264
+ --comp-table-cell-text-primary: var(--core-text-main-primary);
265
+ --comp-table-cell-text-secondary: var(--core-text-main-secondary);
266
+ --comp-tag-brand-bg: var(--core-bg-functional-invert-info);
267
+ --comp-tag-brand-text: var(--core-text-functional-info);
268
+ --comp-tag-neutral-bg: var(--core-bg-specific-tags-neutral);
269
+ --comp-tag-neutral-text: var(--core-text-main-secondary);
270
+ --comp-text-input-bg-default: var(--core-bg-main-primary);
271
+ --comp-text-input-bg-disabled: var(--core-bg-functional-disabled);
272
+ --comp-text-input-border-default: var(--core-border-main-primary);
273
+ --comp-text-input-border-hover: var(--core-border-functional-info);
274
+ --comp-text-input-border-success: var(--core-border-functional-success);
275
+ --comp-text-input-border-error: var(--core-border-functional-critical);
276
+ --comp-text-input-border-disabled: var(--core-border-main-primary);
277
+ --comp-text-input-text-default: var(--core-text-main-primary);
278
+ --comp-text-input-text-placeholder: var(--core-text-functional-placeholder);
279
+ --comp-text-input-text-disabled: var(--core-text-functional-disabled);
280
+ --comp-text-input-icon: var(--core-text-main-secondary);
281
+ --comp-text-input-button-border: var(--core-border-main-primary);
282
+ --comp-text-input-error-text: var(--core-text-functional-critical);
283
+ --comp-text-input-error-icon: var(--core-text-functional-critical);
284
+ --comp-textarea-bg-default: var(--core-bg-main-primary);
285
+ --comp-textarea-bg-disabled: var(--core-bg-functional-disabled);
286
+ --comp-textarea-border-default: var(--core-border-main-primary);
287
+ --comp-textarea-border-hover: var(--core-border-functional-info);
288
+ --comp-textarea-border-success: var(--core-border-functional-success);
289
+ --comp-textarea-border-error: var(--core-border-functional-critical);
290
+ --comp-textarea-border-disabled: var(--core-border-main-primary);
291
+ --comp-textarea-text-default: var(--core-text-main-primary);
292
+ --comp-textarea-text-placeholder: var(--core-text-functional-placeholder);
293
+ --comp-textarea-text-disabled: var(--core-text-functional-disabled);
294
+ --comp-textarea-char-limit: var(--core-text-main-secondary);
295
+ --comp-textarea-handle-default: var(--core-border-main-invert-secondary);
296
+ --comp-textarea-handle-disabled: var(--core-text-functional-disabled);
297
+ --comp-textarea-error-text: var(--core-text-functional-critical);
298
+ --comp-textarea-error-icon: var(--core-text-functional-critical);
299
+ --comp-toast-info-bg: var(--core-bg-functional-invert-info);
300
+ --comp-toast-info-icon: var(--core-text-functional-info);
301
+ --comp-toast-success-bg: var(--core-bg-functional-invert-success);
302
+ --comp-toast-success-icon: var(--core-text-functional-success);
303
+ --comp-toast-alert-bg: var(--core-bg-functional-invert-critical);
304
+ --comp-toast-alert-icon: var(--core-text-functional-critical);
305
+ --comp-toast-warning-bg: var(--core-bg-functional-invert-warning);
306
+ --comp-toast-warning-icon: var(--core-text-functional-warning);
307
+ --comp-toast-border: var(--core-border-main-primary);
308
+ --comp-toast-title: var(--core-text-main-primary);
309
+ --comp-toast-subtitle: var(--core-text-main-secondary);
310
+ --comp-toast-close: var(--core-text-main-secondary);
311
+ --comp-tooltip-default-bg: var(--core-bg-main-invert-primary);
312
+ --comp-tooltip-default-text: var(--core-text-main-invert-primary);
313
+ --comp-tooltip-default-icon: var(--core-text-main-secondary);
314
+ --comp-tooltip-invert-bg: var(--core-bg-main-secondary);
315
+ --comp-tooltip-invert-text: var(--core-text-main-primary);
316
+ --comp-tooltip-invert-border: var(--core-border-main-secondary);
317
+ --comp-tooltip-invert-icon: var(--core-text-main-secondary);
318
+ --comp-user-menu-bg: var(--core-bg-main-primary);
319
+ --comp-user-menu-border: var(--core-border-main-primary);
320
+ --comp-user-menu-name: var(--core-text-main-primary);
321
+ --comp-user-menu-subtitle: var(--core-text-main-secondary);
322
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --font-letter-spacing-none: 0;
7
+ --font-line-height-line-height-2xs: 14px;
8
+ --font-line-height-line-height-xs: 16px;
9
+ --font-line-height-line-height-sm: 20px;
10
+ --font-line-height-base: 24px;
11
+ --font-line-height-line-height-md: 28px;
12
+ --font-line-height-line-height-lg: 32px;
13
+ --font-size-size-xxs: 10px;
14
+ --font-size-size-xs: 12px;
15
+ --font-size-size-sm: 14px;
16
+ --font-size-base: 16px;
17
+ --font-size-size-md: 18px;
18
+ --font-size-size-lg: 20px;
19
+ --font-size-size-xl: 24px;
20
+ --font-weight-regular: 400;
21
+ --font-weight-medium: 500;
22
+ --font-weight-bold: 700;
23
+ }
@@ -0,0 +1,121 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --blue-50: #f5f8ff;
7
+ --blue-100: #e0ebff;
8
+ --blue-200: #c7dcff;
9
+ --blue-300: #a3c7ff;
10
+ --blue-400: #7aa8ff;
11
+ --blue-500: #316bff;
12
+ --blue-600: #1f5eff;
13
+ --blue-700: #134cdd;
14
+ --blue-800: #0d3bb0;
15
+ --blue-900: #072d8e;
16
+ --pink-50: #fff5f8;
17
+ --pink-100: #ffeef2;
18
+ --pink-200: #ffd9e4;
19
+ --pink-300: #ffb0cc;
20
+ --pink-400: #ff88aa;
21
+ --pink-500: #ec6181;
22
+ --pink-600: #d94872;
23
+ --pink-700: #ab465e;
24
+ --pink-800: #8a3649;
25
+ --pink-900: #641225;
26
+ --red-50: #fff5f5;
27
+ --red-100: #ffe7e2;
28
+ --red-200: #ffc9c9;
29
+ --red-300: #f8b1b1;
30
+ --red-400: #f57575;
31
+ --red-500: #ec4343;
32
+ --red-600: #d92828;
33
+ --red-700: #be0723;
34
+ --red-800: #9e0821;
35
+ --red-900: #8c0000;
36
+ --green-50: #f0fdf0;
37
+ --green-100: #e5fce5;
38
+ --green-200: #c8f4c8;
39
+ --green-300: #9ae299;
40
+ --green-400: #5dd85a;
41
+ --green-500: #31c52e;
42
+ --green-600: #1fb01c;
43
+ --green-700: #009e00;
44
+ --green-800: #008200;
45
+ --green-900: #007300;
46
+ --yellow-50: #fffef5;
47
+ --yellow-100: #fff8d3;
48
+ --yellow-200: #fff0a7;
49
+ --yellow-300: #ffe172;
50
+ --yellow-400: #f5ca3d;
51
+ --yellow-500: #dfb009;
52
+ --yellow-600: #d9aa00;
53
+ --yellow-700: #b88f00;
54
+ --yellow-800: #9c7700;
55
+ --yellow-900: #916d00;
56
+ --purple-50: #faf8ff;
57
+ --purple-100: #f5f0ff;
58
+ --purple-200: #ebe4ff;
59
+ --purple-300: #d3bcfc;
60
+ --purple-400: #b89df5;
61
+ --purple-500: #9b7ce8;
62
+ --purple-600: #7d5dd4;
63
+ --purple-700: #6344b8;
64
+ --purple-800: #4d3390;
65
+ --purple-900: #2d1a51;
66
+ --teal-50: #f0fdf9;
67
+ --teal-100: #eafff6;
68
+ --teal-200: #d1f9ea;
69
+ --teal-300: #b4ffe2;
70
+ --teal-400: #91e0bf;
71
+ --teal-500: #6dd4a8;
72
+ --teal-600: #44c38e;
73
+ --teal-700: #2ca572;
74
+ --teal-800: #1d7a54;
75
+ --teal-900: #0d5034;
76
+ --orange-50: #fff8f3;
77
+ --orange-100: #fff0ec;
78
+ --orange-200: #ffe5d9;
79
+ --orange-300: #ffdabf;
80
+ --orange-400: #ffc199;
81
+ --orange-500: #f5967e;
82
+ --orange-600: #f07254;
83
+ --orange-700: #de5837;
84
+ --orange-800: #b8422a;
85
+ --orange-900: #892f19;
86
+ --grey-50: #fafafa;
87
+ --grey-100: #f2f2f2;
88
+ --grey-200: #efefef;
89
+ --grey-300: #e6e6e6;
90
+ --grey-400: #b7bec6;
91
+ --grey-500: #98a1ac;
92
+ --grey-600: #838990;
93
+ --grey-700: #566f8f;
94
+ --grey-800: #3d4f66;
95
+ --grey-900: #213856;
96
+ --grey-white: #ffffff;
97
+ --beige-50: #fffbfb;
98
+ --beige-100: #fff8f8;
99
+ --beige-200: #ffeeed;
100
+ --beige-300: #ffe0df;
101
+ --beige-400: #f7cccb;
102
+ --beige-500: #e5aba9;
103
+ --beige-600: #d18a88;
104
+ --beige-700: #b56967;
105
+ --beige-800: #8f5251;
106
+ --beige-900: #5f3e3d;
107
+ --sand-50: #fffefe;
108
+ --sand-100: #fffcfb;
109
+ --sand-200: #fffbf8;
110
+ --sand-300: #fffaf3;
111
+ --sand-400: #fff4e6;
112
+ --sand-500: #ffe9d1;
113
+ --sand-600: #f5d4a8;
114
+ --sand-700: #d9a96e;
115
+ --sand-800: #a88353;
116
+ --sand-900: #7e6440;
117
+ --shadow-2: rgba(0, 0, 0, 0.02);
118
+ --shadow-4: rgba(0, 0, 0, 0.04);
119
+ --shadow-6: rgba(0, 0, 0, 0.06);
120
+ --shadow-8: rgba(0, 0, 0, 0.08);
121
+ }