orbit-ds-variables 1.0.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.
Files changed (39) hide show
  1. package/README.md +174 -0
  2. package/dist/css/platforms/desktop/variables.css +100 -0
  3. package/dist/css/platforms/ipad/variables.css +100 -0
  4. package/dist/css/platforms/web/variables.css +100 -0
  5. package/dist/css/primitives/variables.css +91 -0
  6. package/dist/css/themes/d-green/index.css +3 -0
  7. package/dist/css/themes/d-green/variables.css +93 -0
  8. package/dist/css/themes/d-grey/index.css +3 -0
  9. package/dist/css/themes/d-grey/variables.css +93 -0
  10. package/dist/css/themes/n-blue/index.css +3 -0
  11. package/dist/css/themes/n-blue/variables.css +93 -0
  12. package/dist/css/themes/n-green/index.css +3 -0
  13. package/dist/css/themes/n-green/variables.css +93 -0
  14. package/dist/css/themes/n-grey/index.css +3 -0
  15. package/dist/css/themes/n-grey/variables.css +93 -0
  16. package/dist/scss/_index.scss +10 -0
  17. package/dist/scss/platforms/desktop/_variables.scss +97 -0
  18. package/dist/scss/platforms/ipad/_variables.scss +97 -0
  19. package/dist/scss/platforms/web/_variables.scss +97 -0
  20. package/dist/scss/primitives/_variables.scss +88 -0
  21. package/dist/scss/themes/d-green/_variables.scss +90 -0
  22. package/dist/scss/themes/d-grey/_variables.scss +90 -0
  23. package/dist/scss/themes/n-blue/_variables.scss +90 -0
  24. package/dist/scss/themes/n-green/_variables.scss +90 -0
  25. package/dist/scss/themes/n-grey/_variables.scss +90 -0
  26. package/dist/tailwind/index.js +13 -0
  27. package/dist/tailwind/platforms/desktop/theme.js +88 -0
  28. package/dist/tailwind/platforms/desktop/tokens.js +141 -0
  29. package/dist/tailwind/platforms/ipad/theme.js +88 -0
  30. package/dist/tailwind/platforms/ipad/tokens.js +141 -0
  31. package/dist/tailwind/platforms/web/theme.js +88 -0
  32. package/dist/tailwind/platforms/web/tokens.js +141 -0
  33. package/dist/tailwind/primitives/colors.js +112 -0
  34. package/dist/tailwind/themes/d-green/colors.js +120 -0
  35. package/dist/tailwind/themes/d-grey/colors.js +120 -0
  36. package/dist/tailwind/themes/n-blue/colors.js +120 -0
  37. package/dist/tailwind/themes/n-green/colors.js +120 -0
  38. package/dist/tailwind/themes/n-grey/colors.js +120 -0
  39. package/package.json +32 -0
package/README.md ADDED
@@ -0,0 +1,174 @@
1
+ # Orbit Personal Tokens
2
+
3
+ Design tokens exported from Figma (`tokens.json`), built with [Style Dictionary](https://styledictionary.com/) and [@tokens-studio/sd-transforms](https://www.npmjs.com/package/@tokens-studio/sd-transforms) into **SCSS variables**, **CSS custom properties**, and **Tailwind maps** for colors and platform tokens.
4
+
5
+ Semantic theme colors keep their **links** to primitives (e.g. `{Green.400}` → `$green-400` / `var(--green-400)`).
6
+
7
+ ## Quick start (developers)
8
+
9
+ Clone the repo and use the pre-built files in `dist/` — no build step required:
10
+
11
+ ```bash
12
+ git clone https://github.com/divyanshutomar78/Orbit-Personal-Tokens.git
13
+ # import from dist/scss, dist/css, or dist/tailwind in your app
14
+ ```
15
+
16
+ To rebuild locally (optional):
17
+
18
+ ```bash
19
+ npm install
20
+ npm run build:tokens
21
+ ```
22
+
23
+ Source of truth: `tokens.json` (Figma / Tokens Studio export).
24
+
25
+ Generated output lives in `dist/` (updated automatically by GitHub Actions when `tokens.json` changes):
26
+
27
+ | Output | Path | Notes |
28
+ |--------|------|--------|
29
+ | Primitive SCSS | `dist/scss/primitives/_variables.scss` | Hex values |
30
+ | Theme SCSS | `dist/scss/themes/<theme>/_variables.scss` | References primitive `$variables` |
31
+ | Primitive CSS | `dist/css/primitives/variables.css` | `:root` custom properties |
32
+ | Theme CSS | `dist/css/themes/<theme>/variables.css` | `var(--primitive)` references |
33
+ | Theme CSS bundle | `dist/css/themes/<theme>/index.css` | Imports primitives + theme |
34
+ | Tailwind colors | `dist/tailwind/themes/<theme>/colors.js` | Nested object, `var(--*)` for aliases |
35
+ | Platform SCSS | `dist/scss/platforms/<platform>/_variables.scss` | Spacing, radius, font, components |
36
+ | Platform CSS | `dist/css/platforms/<platform>/variables.css` | `:root` custom properties |
37
+ | Platform Tailwind | `dist/tailwind/platforms/<platform>/tokens.js` | Full nested token tree |
38
+ | Platform Tailwind theme | `dist/tailwind/platforms/<platform>/theme.js` | Mapped to `theme.extend` keys |
39
+ | Barrel files | `dist/scss/_index.scss`, `dist/tailwind/index.js` | Re-exports all sets |
40
+
41
+ **Color themes:** `d-green`, `n-green`, `n-grey`, `n-blue`, `d-grey`
42
+
43
+ **Platforms:** `web`, `desktop`, `ipad`
44
+
45
+ ## Usage
46
+
47
+ ### SCSS
48
+
49
+ Import primitives before a theme so aliases resolve:
50
+
51
+ ```scss
52
+ @use 'path/to/dist/scss/primitives/variables' as primitives;
53
+ @use 'path/to/dist/scss/themes/d-green/variables' as theme;
54
+ ```
55
+
56
+ Or forward everything:
57
+
58
+ ```scss
59
+ @use 'path/to/dist/scss/index';
60
+ ```
61
+
62
+ ### CSS / Tailwind v4
63
+
64
+ Load primitive CSS variables first, then the theme (or use the bundled `index.css`):
65
+
66
+ ```css
67
+ @import "path/to/dist/css/themes/d-green/index.css";
68
+ ```
69
+
70
+ Tailwind v4 `@theme` example:
71
+
72
+ ```css
73
+ @import "tailwindcss";
74
+ @import "../dist/css/primitives/variables.css";
75
+ @import "../dist/css/themes/d-green/variables.css";
76
+ ```
77
+
78
+ Tailwind v3 `theme.extend` from generated JS:
79
+
80
+ ```js
81
+ import colors from './dist/tailwind/themes/d-green/colors.js';
82
+
83
+ export default {
84
+ theme: {
85
+ extend: { colors },
86
+ },
87
+ };
88
+ ```
89
+
90
+ Import `dist/css/primitives/variables.css` in your app so `var(--green-400)` tokens resolve.
91
+
92
+ ### Platform tokens
93
+
94
+ SCSS:
95
+
96
+ ```scss
97
+ @use 'path/to/dist/scss/platforms/web/variables' as web;
98
+ // web.$gap-m, web.$radius-s, web.$font-font-size-body, etc.
99
+ ```
100
+
101
+ Tailwind v3 — use the pre-mapped `theme.js` for `theme.extend`:
102
+
103
+ ```js
104
+ import webTheme from './dist/tailwind/platforms/web/theme.js';
105
+
106
+ export default {
107
+ theme: {
108
+ extend: webTheme,
109
+ },
110
+ };
111
+ ```
112
+
113
+ Or import the full nested tree from `tokens.js`:
114
+
115
+ ```js
116
+ import webPlatform from './dist/tailwind/platforms/web/tokens.js';
117
+ ```
118
+
119
+ Load platform CSS variables in your app:
120
+
121
+ ```css
122
+ @import "path/to/dist/css/platforms/web/variables.css";
123
+ ```
124
+
125
+ ## How it works
126
+
127
+ 1. **`scripts/split-tokens.mjs`** — splits `tokens.json` into `tokens/*.json` per Figma collection (gitignored; recreated on each build).
128
+ 2. **`scripts/build-tokens.mjs`** — runs Style Dictionary per set:
129
+ - **Color primitives** — single source file.
130
+ - **Color themes** — primitives + theme sources (for alias resolution), output filtered to theme tokens only.
131
+ - **Platforms** — Web, Desktop, iPad spacing, radius, typography, and component tokens.
132
+ 3. **`outputReferences: true`** — SCSS/CSS keep aliases; Tailwind formats emit `var(--token-name)` for linked values.
133
+
134
+ ## Scripts
135
+
136
+ | Command | Description |
137
+ |---------|-------------|
138
+ | `npm run build:tokens` | Split + build all platforms |
139
+ | `npm run split:tokens` | Split `tokens.json` only |
140
+
141
+ ## GitHub automation
142
+
143
+ When `tokens.json` is pushed to `main`, the [Build design tokens](.github/workflows/build-tokens.yml) workflow runs automatically:
144
+
145
+ 1. Installs dependencies and runs `npm run build:tokens`
146
+ 2. Commits updated `dist/` back to the same branch
147
+ 3. Developers pull the latest `main` to get fresh SCSS, CSS, and Tailwind outputs
148
+
149
+ **Typical flow (Figma → developers):**
150
+
151
+ 1. Export or sync `tokens.json` from Figma / Tokens Studio
152
+ 2. Commit and push `tokens.json` to `main` on GitHub
153
+ 3. Wait for the Actions workflow to finish (check the **Actions** tab)
154
+ 4. `git pull` in consuming projects — or re-clone — to pick up new `dist/` files
155
+
156
+ You can also trigger a rebuild manually: **Actions → Build design tokens → Run workflow**.
157
+
158
+ The workflow only re-runs when `tokens.json`, build scripts, or `package.json` change — commits that touch only `dist/` do not trigger another build (no infinite loop).
159
+
160
+ **Repo setup (one time):** ensure [GitHub Actions](https://github.com/divyanshutomar78/Orbit-Personal-Tokens/actions) is enabled for the repository. Push this workflow file to `main` once to activate it.
161
+
162
+ ## Project layout
163
+
164
+ ```
165
+ tokens.json # Figma export (source of truth)
166
+ scripts/
167
+ build-tokens.mjs # Style Dictionary orchestration
168
+ split-tokens.mjs # Split multi-set JSON for SD
169
+ formats/tailwind-colors.mjs
170
+ formats/tailwind-nested.mjs
171
+ formats/tailwind-theme.mjs
172
+ dist/ # Generated; committed by CI on tokens.json changes
173
+ .github/workflows/ # build-tokens.yml — automated rebuild
174
+ ```
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --font-font-weight-body: Medium;
7
+ --font-font-weight-comment: Regular;
8
+ --font-font-weight-body-small: Medium;
9
+ --font-font-weight-title: Bold;
10
+ --font-font-weight-body-input: Medium;
11
+ --font-font-weight-body-big: Medium;
12
+ --font-letter-spacing-title-4: 24;
13
+ --font-font-size-body: 14;
14
+ --font-font-size-body-small: 12;
15
+ --font-font-size-title-3: 22;
16
+ --font-font-size-title-2: 28;
17
+ --font-font-size-title-1: 38;
18
+ --font-font-size-body-input: 14;
19
+ --font-font-size-title-4: 14;
20
+ --font-font-size-comment: 14;
21
+ --font-font-size-title-5: 14;
22
+ --font-font-size-title-6: 14;
23
+ --font-font-size-body-big: 17;
24
+ --font-line-height-title-1: 44;
25
+ --font-line-height-title-2: 32;
26
+ --font-line-height-t-itle-3: 26;
27
+ --font-line-height-body: 20;
28
+ --font-line-height-body-small: 16;
29
+ --font-line-height-body-input: 14;
30
+ --font-line-height-title-4: 20;
31
+ --font-line-height-comment: 22;
32
+ --font-line-height-title-5: 20;
33
+ --font-line-height-title-6: 20;
34
+ --font-line-height-body-big: 17;
35
+ --platform: Web;
36
+ --icon-default: 24;
37
+ --icon-small: 18;
38
+ --icon-big: 36;
39
+ --gap-0: 0;
40
+ --gap-l: 18;
41
+ --gap-m: 12;
42
+ --gap-s: 6;
43
+ --gap-xs: 4;
44
+ --gap-xl: 24;
45
+ --gap-xxl: 36;
46
+ --gap-xxs: 2;
47
+ --gap-ml: 16;
48
+ --components-input-button-select-compact-height: 24;
49
+ --components-input-button-select-default: 36;
50
+ --components-input-button-select-min-height-textarea: 128;
51
+ --components-input-button-select-border-width: 1;
52
+ --components-input-button-select-min-width-hidden: 84;
53
+ --components-input-button-select-min-width-compact-hidden: 66;
54
+ --components-input-button-select-top-offset: 8; /** Used to make top offset inside the Input, because input needs to be V align Top */
55
+ --components-input-button-select-nested-option-offset: 32; /** Used to make top offset inside the Input, because input needs to be V align Top */
56
+ --components-input-button-select-compact-min-width: 24;
57
+ --components-titles-and-tabs-header: 36;
58
+ --components-toolbar-toolbar: 40;
59
+ --components-action-menu-item-action-menu: 36;
60
+ --components-e-was-nav-item-height-horizontal: 55;
61
+ --components-e-was-nav-item-height-split-view: 55;
62
+ --components-e-was-nav-item-height-vertical: 55;
63
+ --components-e-was-nav-item-width-horizontal: 72;
64
+ --components-e-was-nav-item-width-split-view: 45;
65
+ --components-e-was-nav-item-width-vertical: 60;
66
+ --components-chip-height-default: 32;
67
+ --components-chip-height-compact: 26;
68
+ --radius-s: 4;
69
+ --radius-m: 8;
70
+ --radius-l: 12;
71
+ --radius-card: 8;
72
+ --radius-input: 4;
73
+ --radius-section: 8;
74
+ --radius-action-menu: 4;
75
+ --radius-popup-message: 8;
76
+ --radius-xl: 24;
77
+ --radius-chip: 24;
78
+ --radius-chip-squared: 4;
79
+ --padding-vertical-0: 0;
80
+ --padding-vertical-xs: 4;
81
+ --padding-vertical-s: 8;
82
+ --padding-vertical-m: 12;
83
+ --padding-vertical-l: 18;
84
+ --padding-vertical-xl: 24;
85
+ --padding-vertical-xxl: 36;
86
+ --padding-vertical-xxs: 2;
87
+ --padding-vertical-ml: 16;
88
+ --padding-horizontal-0: 0;
89
+ --padding-horizontal-xs: 4;
90
+ --padding-horizontal-s: 8;
91
+ --padding-horizontal-m: 12;
92
+ --padding-horizontal-l: 18;
93
+ --padding-horizontal-xl: 24;
94
+ --padding-horizontal-xxl: 36;
95
+ --padding-horizontal-xxs: 2;
96
+ --padding-horizontal-ml: 16;
97
+ --icon-frame-size-small: 18;
98
+ --icon-frame-size-default: 26;
99
+ --icon-frame-size-big: 36;
100
+ }
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --font-font-weight-body: Medium;
7
+ --font-font-weight-comment: Regular;
8
+ --font-font-weight-body-small: Medium;
9
+ --font-font-weight-title: Bold;
10
+ --font-font-weight-body-input: Semi Bold;
11
+ --font-font-weight-body-big: Medium;
12
+ --font-letter-spacing-title-4: 24;
13
+ --font-font-size-body: 13;
14
+ --font-font-size-body-small: 11;
15
+ --font-font-size-title-3: 18;
16
+ --font-font-size-title-2: 24;
17
+ --font-font-size-title-1: 36;
18
+ --font-font-size-body-input: 13;
19
+ --font-font-size-title-4: 13;
20
+ --font-font-size-comment: 13;
21
+ --font-font-size-title-5: 13;
22
+ --font-font-size-title-6: 13;
23
+ --font-font-size-body-big: 17;
24
+ --font-line-height-title-1: 46;
25
+ --font-line-height-title-2: 38;
26
+ --font-line-height-t-itle-3: 28;
27
+ --font-line-height-body: 26;
28
+ --font-line-height-body-small: 20;
29
+ --font-line-height-body-input: 17;
30
+ --font-line-height-title-4: 22;
31
+ --font-line-height-comment: 26;
32
+ --font-line-height-title-5: 22;
33
+ --font-line-height-title-6: 22;
34
+ --font-line-height-body-big: 17;
35
+ --platform: Mobile;
36
+ --icon-default: 24;
37
+ --icon-small: 24;
38
+ --icon-big: 48;
39
+ --gap-0: 0;
40
+ --gap-l: 18;
41
+ --gap-m: 12;
42
+ --gap-s: 8;
43
+ --gap-xs: 4;
44
+ --gap-xl: 24;
45
+ --gap-xxl: 36;
46
+ --gap-xxs: 2;
47
+ --gap-ml: 16;
48
+ --components-input-button-select-compact-height: 32;
49
+ --components-input-button-select-default: 48;
50
+ --components-input-button-select-min-height-textarea: 160;
51
+ --components-input-button-select-border-width: 1;
52
+ --components-input-button-select-min-width-hidden: 112;
53
+ --components-input-button-select-min-width-compact-hidden: 80;
54
+ --components-input-button-select-top-offset: 13; /** Used to make top offset inside the Input, because input needs to be V align Top */
55
+ --components-input-button-select-nested-option-offset: 40; /** Used to make top offset inside the Input, because input needs to be V align Top */
56
+ --components-input-button-select-compact-min-width: 32;
57
+ --components-titles-and-tabs-header: 55;
58
+ --components-toolbar-toolbar: 55;
59
+ --components-action-menu-item-action-menu: 44;
60
+ --components-e-was-nav-item-height-horizontal: 55;
61
+ --components-e-was-nav-item-height-split-view: 55;
62
+ --components-e-was-nav-item-height-vertical: 55;
63
+ --components-e-was-nav-item-width-horizontal: 72;
64
+ --components-e-was-nav-item-width-split-view: 45;
65
+ --components-e-was-nav-item-width-vertical: 60;
66
+ --components-chip-height-default: 44;
67
+ --components-chip-height-compact: 30;
68
+ --radius-s: 4;
69
+ --radius-m: 8;
70
+ --radius-l: 12;
71
+ --radius-card: 10;
72
+ --radius-input: 6;
73
+ --radius-section: 10;
74
+ --radius-action-menu: 6;
75
+ --radius-popup-message: 10;
76
+ --radius-xl: 24;
77
+ --radius-chip: 36;
78
+ --radius-chip-squared: 6;
79
+ --padding-vertical-0: 0;
80
+ --padding-vertical-xs: 4;
81
+ --padding-vertical-s: 8;
82
+ --padding-vertical-m: 12;
83
+ --padding-vertical-l: 18;
84
+ --padding-vertical-xl: 24;
85
+ --padding-vertical-xxl: 36;
86
+ --padding-vertical-xxs: 2;
87
+ --padding-vertical-ml: 16;
88
+ --padding-horizontal-0: 0;
89
+ --padding-horizontal-xs: 4;
90
+ --padding-horizontal-s: 8;
91
+ --padding-horizontal-m: 12;
92
+ --padding-horizontal-l: 18;
93
+ --padding-horizontal-xl: 24;
94
+ --padding-horizontal-xxl: 36;
95
+ --padding-horizontal-xxs: 2;
96
+ --padding-horizontal-ml: 16;
97
+ --icon-frame-size-small: 24;
98
+ --icon-frame-size-default: 44;
99
+ --icon-frame-size-big: 48;
100
+ }
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --font-font-weight-body: Medium;
7
+ --font-font-weight-comment: Regular;
8
+ --font-font-weight-body-small: Medium;
9
+ --font-font-weight-title: Bold;
10
+ --font-font-weight-body-input: Semi Bold;
11
+ --font-font-weight-body-big: Medium;
12
+ --font-letter-spacing-title-4: 24;
13
+ --font-font-size-body: 13;
14
+ --font-font-size-body-small: 11;
15
+ --font-font-size-title-3: 18;
16
+ --font-font-size-title-2: 24;
17
+ --font-font-size-title-1: 36;
18
+ --font-font-size-body-input: 13;
19
+ --font-font-size-title-4: 13;
20
+ --font-font-size-comment: 13;
21
+ --font-font-size-title-5: 13;
22
+ --font-font-size-title-6: 13;
23
+ --font-font-size-body-big: 17;
24
+ --font-line-height-title-1: 42;
25
+ --font-line-height-title-2: 30;
26
+ --font-line-height-t-itle-3: 23;
27
+ --font-line-height-body: 20;
28
+ --font-line-height-body-small: 17;
29
+ --font-line-height-body-input: 13;
30
+ --font-line-height-title-4: 18;
31
+ --font-line-height-comment: 20;
32
+ --font-line-height-title-5: 18;
33
+ --font-line-height-title-6: 18;
34
+ --font-line-height-body-big: 17;
35
+ --platform: Desktop;
36
+ --icon-default: 24;
37
+ --icon-small: 18;
38
+ --icon-big: 36;
39
+ --gap-0: 0;
40
+ --gap-l: 18;
41
+ --gap-m: 12;
42
+ --gap-s: 6;
43
+ --gap-xs: 4;
44
+ --gap-xl: 24;
45
+ --gap-xxl: 36;
46
+ --gap-xxs: 2;
47
+ --gap-ml: 16;
48
+ --components-input-button-select-compact-height: 24;
49
+ --components-input-button-select-default: 36;
50
+ --components-input-button-select-min-height-textarea: 128;
51
+ --components-input-button-select-border-width: 1;
52
+ --components-input-button-select-min-width-hidden: 84;
53
+ --components-input-button-select-min-width-compact-hidden: 66;
54
+ --components-input-button-select-top-offset: 9; /** Used to make top offset inside the Input, because input needs to be V align Top */
55
+ --components-input-button-select-nested-option-offset: 32; /** Used to make top offset inside the Input, because input needs to be V align Top */
56
+ --components-input-button-select-compact-min-width: 24;
57
+ --components-titles-and-tabs-header: 36;
58
+ --components-toolbar-toolbar: 40;
59
+ --components-action-menu-item-action-menu: 36;
60
+ --components-e-was-nav-item-height-horizontal: 55;
61
+ --components-e-was-nav-item-height-split-view: 55;
62
+ --components-e-was-nav-item-height-vertical: 55;
63
+ --components-e-was-nav-item-width-horizontal: 72;
64
+ --components-e-was-nav-item-width-split-view: 45;
65
+ --components-e-was-nav-item-width-vertical: 60;
66
+ --components-chip-height-default: 32;
67
+ --components-chip-height-compact: 26;
68
+ --radius-s: 4;
69
+ --radius-m: 8;
70
+ --radius-l: 12;
71
+ --radius-card: 8;
72
+ --radius-input: 4;
73
+ --radius-section: 8;
74
+ --radius-action-menu: 4;
75
+ --radius-popup-message: 8;
76
+ --radius-xl: 24;
77
+ --radius-chip: 24;
78
+ --radius-chip-squared: 4;
79
+ --padding-vertical-0: 0;
80
+ --padding-vertical-xs: 4;
81
+ --padding-vertical-s: 8;
82
+ --padding-vertical-m: 12;
83
+ --padding-vertical-l: 18;
84
+ --padding-vertical-xl: 24;
85
+ --padding-vertical-xxl: 36;
86
+ --padding-vertical-xxs: 2;
87
+ --padding-vertical-ml: 16;
88
+ --padding-horizontal-0: 0;
89
+ --padding-horizontal-xs: 4;
90
+ --padding-horizontal-s: 8;
91
+ --padding-horizontal-m: 12;
92
+ --padding-horizontal-l: 18;
93
+ --padding-horizontal-xl: 24;
94
+ --padding-horizontal-xxl: 36;
95
+ --padding-horizontal-xxs: 2;
96
+ --padding-horizontal-ml: 16;
97
+ --icon-frame-size-small: 18;
98
+ --icon-frame-size-default: 24;
99
+ --icon-frame-size-big: 36;
100
+ }
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --system-feedback-neutral-tbd: #00eaea;
7
+ --system-feedback-success: #439f35;
8
+ --system-feedback-attention: #f5821f;
9
+ --system-feedback-warning: #ff0000;
10
+ --system-feedback-critical: #ff47e0;
11
+ --blue-50: #ebf1fd;
12
+ --blue-100: #37c0ff;
13
+ --blue-200: #0095da;
14
+ --blue-250: #1ab2f8;
15
+ --blue-300: #0071bb;
16
+ --blue-350: #12597c;
17
+ --blue-400: #1f3048;
18
+ --blue-425: #202d41;
19
+ --blue-450: #1d283a;
20
+ --blue-500: #1a2434;
21
+ --green-50: #dae8d8;
22
+ --green-100: #daf1da;
23
+ --green-150: #c7eac7;
24
+ --green-175: #e6f7f1;
25
+ --green-200: #8af28a;
26
+ --green-300: #78ce6b;
27
+ --green-315: #86c57c;
28
+ --green-320: #308723;
29
+ --green-325: #58bd47;
30
+ --green-350: #306228;
31
+ --green-400: #446b44;
32
+ --green-500: #374f37;
33
+ --green-525: #2b3e2b;
34
+ --green-550: #2e4c29;
35
+ --green-600: #263f22;
36
+ --green-600-copy: #263f22;
37
+ --neutral-0: #ffffff;
38
+ --neutral-100: #fafafa;
39
+ --neutral-200: #f5f5f5;
40
+ --neutral-300: #e8e8e3;
41
+ --neutral-350: #363636;
42
+ --neutral-400: #2e2e2e;
43
+ --neutral-500: #242424;
44
+ --neutral-600: #1d1d1d;
45
+ --neutral-700: #141414;
46
+ --neutral-10000: #000000;
47
+ --cyan-500: #00eaea;
48
+ --orange-100: #f5e4d5;
49
+ --orange-200: #f2dbca;
50
+ --orange-300: #fff3e7;
51
+ --orange-400: #e88a33;
52
+ --orange-500: #e26800;
53
+ --orange-600: #f5821f;
54
+ --orange-700: #5a3d21;
55
+ --orange-800: #592f00;
56
+ --red-100: #f8cece;
57
+ --red-200: #f6c1c1;
58
+ --red-300: #fceeeb;
59
+ --red-350: #ff4a4a;
60
+ --red-500: #d61f1f;
61
+ --red-700: #711414;
62
+ --magenta-100: #f7dbf2;
63
+ --magenta-200: #f6e4f3;
64
+ --magenta-300: #ff47e0;
65
+ --magenta-400: #e222c1;
66
+ --magenta-500: #532d4c;
67
+ --magenta-600: #5d2d55;
68
+ --neutral-alpha-10: rgba(36, 36, 36, 0.1);
69
+ --neutral-alpha-20: rgba(36, 36, 36, 0.2);
70
+ --neutral-alpha-25: rgba(36, 36, 36, 0.25);
71
+ --neutral-alpha-65: rgba(36, 36, 36, 0.65);
72
+ --white-alpha-1: rgba(255, 255, 255, 0.01);
73
+ --white-alpha-2: rgba(255, 255, 255, 0.02);
74
+ --white-alpha-3: rgba(255, 255, 255, 0.03);
75
+ --white-alpha-5: rgba(255, 255, 255, 0.05);
76
+ --white-alpha-7: rgba(255, 255, 255, 0.07);
77
+ --white-alpha-15: rgba(255, 255, 255, 0.15);
78
+ --white-alpha-25: rgba(255, 255, 255, 0.25);
79
+ --white-alpha-30: rgba(255, 255, 255, 0.3);
80
+ --white-alpha-50: rgba(255, 255, 255, 0.5);
81
+ --white-alpha-60: rgba(255, 255, 255, 0.6);
82
+ --white-alpha-65: rgba(255, 255, 255, 0.65);
83
+ --black-alpha-1: rgba(0, 0, 0, 0.01);
84
+ --black-alpha-2: rgba(0, 0, 0, 0.02);
85
+ --black-alpha-4: rgba(0, 0, 0, 0.04);
86
+ --black-alpha-10: rgba(0, 0, 0, 0.1);
87
+ --black-alpha-14: rgba(0, 0, 0, 0.14);
88
+ --black-alpha-20: rgba(0, 0, 0, 0.2);
89
+ --black-alpha-30: rgba(0, 0, 0, 0.3);
90
+ --black-alpha-35: rgba(0, 0, 0, 0.35);
91
+ }
@@ -0,0 +1,3 @@
1
+ /* Auto-generated from tokens.json — do not edit directly. */
2
+ @import '../primitives/variables.css';
3
+ @import './variables.css';
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --shadow-action-menu: rgba(0, 0, 0, 0.15);
7
+ --shadow-navigation: rgba(0, 0, 0, 0.07);
8
+ --shadow-card: rgba(0, 0, 0, 0.1);
9
+ --shadow-popup-message: rgba(0, 0, 0, 0.3);
10
+ --shadow-submit-section: rgba(0, 0, 0, 0.2);
11
+ --shadow-chip: rgba(0, 0, 0, 0.3);
12
+ --chips-attemtion-default: #ffffff;
13
+ --chips-attemtion-hover: #ffffff;
14
+ --chips-attemtion-selected: #ffffff;
15
+ --chips-warning-default: #ffffff;
16
+ --chips-warning-hover: #ffffff;
17
+ --chips-warning-selected: #ffffff;
18
+ --chips-success-default: #ffffff;
19
+ --chips-success-hover: #ffffff;
20
+ --chips-success-selected: #ffffff;
21
+ --chips-critical-default: #ffffff;
22
+ --chips-critical-hover: #ffffff;
23
+ --chips-critical-selected: #ffffff;
24
+ --chips-blue-default: #ffffff;
25
+ --chips-blue-hover: #ffffff;
26
+ --chips-blue-selected: #ffffff;
27
+ --xtra-sergei-variables-bg-darker: var(--black-alpha-2);
28
+ --xtra-sergei-variables-bg-lighter: var(--white-alpha-60);
29
+ --xtra-sergei-variables-documet-line-formerly-on-bg-disabled: var(--neutral-alpha-20);
30
+ --xtra-sergei-variables-bg-accent: var(--black-alpha-2); /** BG dark inverse */
31
+ --xtra-sergei-variables-always-black: var(--neutral-10000);
32
+ --xtra-sergei-variables-always-white: var(--neutral-0);
33
+ --xtra-sergei-variables-bg-2: var(--neutral-100);
34
+ --xtra-sergei-variables-bg-accent-inverted: var(--white-alpha-65); /** BG light inverse */
35
+ --xtra-sergei-variables-on-action-hover: var(--neutral-100);
36
+ --xtra-sergei-variables-on-action-active: var(--neutral-0);
37
+ --xtra-sergei-variables-bg-accent-2: var(--black-alpha-10); /** BG light inverse */
38
+ --border-primary: var(--neutral-alpha-25);
39
+ --border-secondary: var(--neutral-alpha-10);
40
+ --border-action: var(--green-400);
41
+ --border-action-hover: var(--green-600);
42
+ --border-attention: var(--orange-500);
43
+ --border-neutral: var(--blue-50);
44
+ --text-action: var(--green-525);
45
+ --text-action-hover: var(--green-600);
46
+ --text-primary: var(--neutral-500);
47
+ --text-secondary: var(--neutral-alpha-65);
48
+ --text-on-action: var(--neutral-100);
49
+ --text-action-active: var(--neutral-10000);
50
+ --text-disabled: var(--black-alpha-30);
51
+ --text-on-disabled: var(--neutral-200);
52
+ --text-attention: var(--orange-500);
53
+ --text-warning: var(--red-500);
54
+ --text-critical: var(--magenta-400);
55
+ --text-on-success-container-variant: var(--green-300);
56
+ --text-on-attention-container: var(--orange-600);
57
+ --text-on-success-container: var(--green-325);
58
+ --text-on-attention-container-variant: var(--orange-600);
59
+ --text-success: var(--green-320);
60
+ --text-on-warning-container: var(--red-500);
61
+ --text-on-warning-container-variant: var(--red-500);
62
+ --text-on-critical-container: var(--magenta-300);
63
+ --background-background: var(--neutral-200);
64
+ --background-inside-surface-2: var(--black-alpha-4);
65
+ --background-inside-surface-1: var(--white-alpha-65);
66
+ --background-surface-container-2: var(--neutral-100);
67
+ --background-surface-container-1: var(--neutral-0);
68
+ --background-input-fields: var(--black-alpha-2);
69
+ --background-success-container-variant: var(--green-100);
70
+ --background-attention-container: var(--orange-100);
71
+ --background-warning-container-variant: var(--red-100);
72
+ --background-success-container: var(--green-150);
73
+ --background-attention-container-variant: var(--orange-200);
74
+ --background-warning-container: var(--red-100);
75
+ --background-critical-container: var(--magenta-100);
76
+ --background-critical-container-variant: var(--magenta-200);
77
+ --background-action: var(--green-525);
78
+ --background-disabled: var(--black-alpha-30);
79
+ --background-action-hover: var(--green-550);
80
+ --background-neutral-container: var(--blue-50);
81
+ --background-surface-container-3: var(--neutral-200);
82
+ --chips-neutral-color-neutral: var(--neutral-500);
83
+ --chips-neutral-color-neutral-2: var(--neutral-500);
84
+ --chips-neutral-color-hover: var(--neutral-500);
85
+ --chips-neutral-color-checked: var(--neutral-500);
86
+ --icon-secondary: var(--neutral-alpha-65);
87
+ --icon-action: var(--green-525);
88
+ --icon-disabled: var(--black-alpha-20);
89
+ --icon-primary: var(--neutral-500);
90
+ --icon-on-action: var(--neutral-100);
91
+ --icon-attention: var(--orange-500);
92
+ --scrollbar: var(--black-alpha-20);
93
+ }
@@ -0,0 +1,3 @@
1
+ /* Auto-generated from tokens.json — do not edit directly. */
2
+ @import '../primitives/variables.css';
3
+ @import './variables.css';