@equinor/eds-tokens 2.2.0 → 2.3.0-beta.1
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 +11 -1
- package/build/css/color/color-scheme/dark-semantic-trimmed.css +8 -0
- package/build/css/color/color-scheme/light-semantic-trimmed.css +8 -0
- package/build/css/color/static/semantic-verbose.css +8 -0
- package/build/css/color/static/variables.css +8 -0
- package/build/js/color/color-scheme/dark-semantic.d.ts +8 -0
- package/build/js/color/color-scheme/dark-semantic.js +8 -0
- package/build/js/color/color-scheme/light-semantic.d.ts +8 -0
- package/build/js/color/color-scheme/light-semantic.js +8 -0
- package/build/js/color/static/semantic.d.ts +8 -0
- package/build/js/color/static/semantic.js +8 -0
- package/build/js/spacing/comfortable.d.ts +0 -1
- package/build/js/spacing/comfortable.js +0 -1
- package/build/js/spacing/spacious.d.ts +0 -1
- package/build/js/spacing/spacious.js +0 -1
- package/build/json/color/color-scheme/flat/dark-semantic.json +9 -1
- package/build/json/color/color-scheme/flat/light-semantic.json +9 -1
- package/build/json/color/color-scheme/nested/dark-semantic.json +11 -3
- package/build/json/color/color-scheme/nested/light-semantic.json +11 -3
- package/build/json/color/static/flat/semantic.json +9 -1
- package/build/json/color/static/nested/semantic.json +11 -3
- package/build/ts/color/color-scheme/dark-color-scheme.ts +116 -0
- package/build/ts/color/color-scheme/dark-semantic.ts +170 -0
- package/build/ts/color/color-scheme/light-color-scheme.ts +116 -0
- package/build/ts/color/color-scheme/light-semantic.ts +170 -0
- package/build/ts/color/static/semantic.ts +170 -0
- package/build/ts/spacing/comfortable.ts +558 -0
- package/build/ts/spacing/index.ts +6 -0
- package/build/ts/spacing/spacious.ts +558 -0
- package/build/ts/typography/font-family-header.ts +122 -0
- package/build/ts/typography/font-family-ui.ts +122 -0
- package/build/ts/typography/font-size-2xl.ts +21 -0
- package/build/ts/typography/font-size-3xl.ts +21 -0
- package/build/ts/typography/font-size-4xl.ts +21 -0
- package/build/ts/typography/font-size-5xl.ts +21 -0
- package/build/ts/typography/font-size-6xl.ts +21 -0
- package/build/ts/typography/font-size-lg.ts +21 -0
- package/build/ts/typography/font-size-md.ts +21 -0
- package/build/ts/typography/font-size-sm.ts +21 -0
- package/build/ts/typography/font-size-xl.ts +21 -0
- package/build/ts/typography/font-size-xs.ts +21 -0
- package/build/ts/typography/font-weight-bolder.ts +9 -0
- package/build/ts/typography/font-weight-lighter.ts +9 -0
- package/build/ts/typography/font-weight-normal.ts +9 -0
- package/build/ts/typography/line-height-default.ts +9 -0
- package/build/ts/typography/line-height-squished.ts +9 -0
- package/build/ts/typography/tracking-loose.ts +9 -0
- package/build/ts/typography/tracking-normal.ts +9 -0
- package/build/ts/typography/tracking-tight.ts +9 -0
- package/build/ts/typography/tracking-wide.ts +9 -0
- package/instructions/colors-dynamic.md +29 -0
- package/instructions/colors-static.md +78 -0
- package/instructions/colors.md +13 -0
- package/instructions/typography.md +161 -0
- package/package.json +12 -9
package/README.md
CHANGED
|
@@ -133,7 +133,17 @@ const darkSurface = darkSemanticNested.bg.neutral.surface // "#262626"
|
|
|
133
133
|
|
|
134
134
|
* **Colors** -- Semantic color tokens for backgrounds, text, borders, and states
|
|
135
135
|
* **Spacing** -- Layout spacing including inline, stack, inset, and border radius
|
|
136
|
-
* **Typography** -- Font sizes, line heights, and font families (requires font files)
|
|
136
|
+
* **Typography** -- Font sizes, line heights, and font families (requires font files, see below)
|
|
137
|
+
|
|
138
|
+
### Font loading
|
|
139
|
+
|
|
140
|
+
The typography system requires two font families: **Equinor** (headings) and **Inter** (UI/body text). Load both via the EDS variable font stylesheet:
|
|
141
|
+
|
|
142
|
+
```html
|
|
143
|
+
<link rel="stylesheet" href="https://cdn.eds.equinor.com/font/eds-uprights-vf.css" />
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
> **Note:** The older `equinor-font.css` only includes the Equinor font. Components using `data-font-family="ui"` (Button, TextField, Input, etc.) will fall back to a generic sans-serif if Inter is not loaded.
|
|
137
147
|
|
|
138
148
|
### Typography variables that adapt to data-attributes
|
|
139
149
|
* Font family setup (UI and Header fonts)
|
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
--eds-color-bg-danger-fill-emphasis-default: #ffa3a1;
|
|
52
52
|
--eds-color-bg-danger-fill-emphasis-hover: #ffc1bf;
|
|
53
53
|
--eds-color-bg-danger-fill-emphasis-active: #ffd9d7;
|
|
54
|
+
--eds-color-bg-floating: #202223;
|
|
55
|
+
--eds-color-bg-backdrop: #738696;
|
|
56
|
+
--eds-color-bg-input: #0b0b0b;
|
|
57
|
+
--eds-color-bg-disabled: #525c65;
|
|
54
58
|
--eds-color-border-neutral-subtle: #525c65;
|
|
55
59
|
--eds-color-border-neutral-medium: #738696;
|
|
56
60
|
--eds-color-border-neutral-strong: #9fb4c6;
|
|
@@ -69,6 +73,8 @@
|
|
|
69
73
|
--eds-color-border-danger-subtle: #923a3c;
|
|
70
74
|
--eds-color-border-danger-medium: #e53748;
|
|
71
75
|
--eds-color-border-danger-strong: #ff8082;
|
|
76
|
+
--eds-color-border-focus: #2d8bc5;
|
|
77
|
+
--eds-color-border-disabled: #738696;
|
|
72
78
|
--eds-color-text-neutral-subtle: #d6e3ee; /** Used for text and icons */
|
|
73
79
|
--eds-color-text-neutral-strong: #f5fdff; /** Used for text and icons */
|
|
74
80
|
--eds-color-text-neutral-subtle-on-emphasis: #333639; /** Text or icons against colored backgrounds */
|
|
@@ -93,4 +99,6 @@
|
|
|
93
99
|
--eds-color-text-danger-strong: #fff5f4; /** Used for text and icons */
|
|
94
100
|
--eds-color-text-danger-subtle-on-emphasis: #492d2c; /** Text or icons against colored backgrounds */
|
|
95
101
|
--eds-color-text-danger-strong-on-emphasis: #040303; /** Text or icons against colored backgrounds */
|
|
102
|
+
--eds-color-text-link: #5abbfb;
|
|
103
|
+
--eds-color-text-disabled: #738696;
|
|
96
104
|
}
|
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
--eds-color-bg-danger-fill-emphasis-default: #bc002a;
|
|
52
52
|
--eds-color-bg-danger-fill-emphasis-hover: #9a1026;
|
|
53
53
|
--eds-color-bg-danger-fill-emphasis-active: #8e1525;
|
|
54
|
+
--eds-color-bg-floating: #ffffff;
|
|
55
|
+
--eds-color-bg-backdrop: #aeaeae;
|
|
56
|
+
--eds-color-bg-input: #f5f5f5;
|
|
57
|
+
--eds-color-bg-disabled: #e1e1e1;
|
|
54
58
|
--eds-color-border-neutral-subtle: #d4d4d4;
|
|
55
59
|
--eds-color-border-neutral-medium: #aeaeae;
|
|
56
60
|
--eds-color-border-neutral-strong: #696969;
|
|
@@ -69,6 +73,8 @@
|
|
|
69
73
|
--eds-color-border-danger-subtle: #ffbcba;
|
|
70
74
|
--eds-color-border-danger-medium: #ff7a7d;
|
|
71
75
|
--eds-color-border-danger-strong: #c6002d;
|
|
76
|
+
--eds-color-border-focus: #6fb6e9;
|
|
77
|
+
--eds-color-border-disabled: #aeaeae;
|
|
72
78
|
--eds-color-text-neutral-subtle: #585858; /** Used for text and icons */
|
|
73
79
|
--eds-color-text-neutral-strong: #1d1d1d; /** Used for text and icons */
|
|
74
80
|
--eds-color-text-neutral-subtle-on-emphasis: #dedede; /** Text or icons against colored backgrounds */
|
|
@@ -93,4 +99,6 @@
|
|
|
93
99
|
--eds-color-text-danger-strong: #2e1414; /** Used for text and icons */
|
|
94
100
|
--eds-color-text-danger-subtle-on-emphasis: #ffcbc9; /** Text or icons against colored backgrounds */
|
|
95
101
|
--eds-color-text-danger-strong-on-emphasis: #ffffff; /** Text or icons against colored backgrounds */
|
|
102
|
+
--eds-color-text-link: #0070a9;
|
|
103
|
+
--eds-color-text-disabled: #aeaeae;
|
|
96
104
|
}
|
|
@@ -51,6 +51,9 @@
|
|
|
51
51
|
--eds-color-bg-danger-fill-emphasis-default: var(--eds-color-danger-9);
|
|
52
52
|
--eds-color-bg-danger-fill-emphasis-hover: var(--eds-color-danger-10);
|
|
53
53
|
--eds-color-bg-danger-fill-emphasis-active: var(--eds-color-danger-11);
|
|
54
|
+
--eds-color-bg-floating: var(--eds-color-bg-floating);
|
|
55
|
+
--eds-color-bg-backdrop: var(--eds-color-bg-backdrop);
|
|
56
|
+
--eds-color-bg-input: var(--eds-color-bg-input);
|
|
54
57
|
--eds-color-border-neutral-subtle: var(--eds-color-neutral-6);
|
|
55
58
|
--eds-color-border-neutral-medium: var(--eds-color-neutral-7);
|
|
56
59
|
--eds-color-border-neutral-strong: var(--eds-color-neutral-8);
|
|
@@ -69,6 +72,7 @@
|
|
|
69
72
|
--eds-color-border-danger-subtle: var(--eds-color-danger-6);
|
|
70
73
|
--eds-color-border-danger-medium: var(--eds-color-danger-7);
|
|
71
74
|
--eds-color-border-danger-strong: var(--eds-color-danger-8);
|
|
75
|
+
--eds-color-border-focus: var(--eds-color-border-focus);
|
|
72
76
|
--eds-color-text-neutral-subtle: var(--eds-color-neutral-12); /** Used for text and icons */
|
|
73
77
|
--eds-color-text-neutral-strong: var(--eds-color-neutral-13); /** Used for text and icons */
|
|
74
78
|
--eds-color-text-neutral-subtle-on-emphasis: var(--eds-color-neutral-14); /** Text or icons against colored backgrounds */
|
|
@@ -93,4 +97,8 @@
|
|
|
93
97
|
--eds-color-text-danger-strong: var(--eds-color-danger-13); /** Used for text and icons */
|
|
94
98
|
--eds-color-text-danger-subtle-on-emphasis: var(--eds-color-danger-14); /** Text or icons against colored backgrounds */
|
|
95
99
|
--eds-color-text-danger-strong-on-emphasis: var(--eds-color-danger-15); /** Text or icons against colored backgrounds */
|
|
100
|
+
--eds-color-text-link: var(--eds-color-text-link);
|
|
101
|
+
--eds-color-bg-disabled: var(--eds-color-bg-disabled);
|
|
102
|
+
--eds-color-border-disabled: var(--eds-color-border-disabled);
|
|
103
|
+
--eds-color-text-disabled: var(--eds-color-text-disabled);
|
|
96
104
|
}
|
|
@@ -52,6 +52,9 @@
|
|
|
52
52
|
--eds-color-bg-danger-fill-emphasis-default: var(--eds-color-danger-9);
|
|
53
53
|
--eds-color-bg-danger-fill-emphasis-hover: var(--eds-color-danger-10);
|
|
54
54
|
--eds-color-bg-danger-fill-emphasis-active: var(--eds-color-danger-11);
|
|
55
|
+
--eds-color-bg-floating: var(--eds-color-bg-floating);
|
|
56
|
+
--eds-color-bg-backdrop: var(--eds-color-bg-backdrop);
|
|
57
|
+
--eds-color-bg-input: var(--eds-color-bg-input);
|
|
55
58
|
--eds-color-border-neutral-subtle: var(--eds-color-neutral-6);
|
|
56
59
|
--eds-color-border-neutral-medium: var(--eds-color-neutral-7);
|
|
57
60
|
--eds-color-border-neutral-strong: var(--eds-color-neutral-8);
|
|
@@ -70,6 +73,7 @@
|
|
|
70
73
|
--eds-color-border-danger-subtle: var(--eds-color-danger-6);
|
|
71
74
|
--eds-color-border-danger-medium: var(--eds-color-danger-7);
|
|
72
75
|
--eds-color-border-danger-strong: var(--eds-color-danger-8);
|
|
76
|
+
--eds-color-border-focus: var(--eds-color-border-focus);
|
|
73
77
|
--eds-color-text-neutral-subtle: var(--eds-color-neutral-12); /** Used for text and icons */
|
|
74
78
|
--eds-color-text-neutral-strong: var(--eds-color-neutral-13); /** Used for text and icons */
|
|
75
79
|
--eds-color-text-neutral-subtle-on-emphasis: var(--eds-color-neutral-14); /** Text or icons against colored backgrounds */
|
|
@@ -94,4 +98,8 @@
|
|
|
94
98
|
--eds-color-text-danger-strong: var(--eds-color-danger-13); /** Used for text and icons */
|
|
95
99
|
--eds-color-text-danger-subtle-on-emphasis: var(--eds-color-danger-14); /** Text or icons against colored backgrounds */
|
|
96
100
|
--eds-color-text-danger-strong-on-emphasis: var(--eds-color-danger-15); /** Text or icons against colored backgrounds */
|
|
101
|
+
--eds-color-text-link: var(--eds-color-text-link);
|
|
102
|
+
--eds-color-bg-disabled: var(--eds-color-bg-disabled);
|
|
103
|
+
--eds-color-border-disabled: var(--eds-color-border-disabled);
|
|
104
|
+
--eds-color-text-disabled: var(--eds-color-text-disabled);
|
|
97
105
|
}
|
|
@@ -50,6 +50,10 @@ export const BG_DANGER_FILL_MUTED_ACTIVE: string;
|
|
|
50
50
|
export const BG_DANGER_FILL_EMPHASIS_DEFAULT: string;
|
|
51
51
|
export const BG_DANGER_FILL_EMPHASIS_HOVER: string;
|
|
52
52
|
export const BG_DANGER_FILL_EMPHASIS_ACTIVE: string;
|
|
53
|
+
export const BG_FLOATING: string;
|
|
54
|
+
export const BG_BACKDROP: string;
|
|
55
|
+
export const BG_INPUT: string;
|
|
56
|
+
export const BG_DISABLED: string;
|
|
53
57
|
export const BORDER_NEUTRAL_SUBTLE: string;
|
|
54
58
|
export const BORDER_NEUTRAL_MEDIUM: string;
|
|
55
59
|
export const BORDER_NEUTRAL_STRONG: string;
|
|
@@ -68,6 +72,8 @@ export const BORDER_WARNING_STRONG: string;
|
|
|
68
72
|
export const BORDER_DANGER_SUBTLE: string;
|
|
69
73
|
export const BORDER_DANGER_MEDIUM: string;
|
|
70
74
|
export const BORDER_DANGER_STRONG: string;
|
|
75
|
+
export const BORDER_FOCUS: string;
|
|
76
|
+
export const BORDER_DISABLED: string;
|
|
71
77
|
/** Used for text and icons */
|
|
72
78
|
export const TEXT_NEUTRAL_SUBTLE: string;
|
|
73
79
|
/** Used for text and icons */
|
|
@@ -116,3 +122,5 @@ export const TEXT_DANGER_STRONG: string;
|
|
|
116
122
|
export const TEXT_DANGER_SUBTLE_ON_EMPHASIS: string;
|
|
117
123
|
/** Text or icons against colored backgrounds */
|
|
118
124
|
export const TEXT_DANGER_STRONG_ON_EMPHASIS: string;
|
|
125
|
+
export const TEXT_LINK: string;
|
|
126
|
+
export const TEXT_DISABLED: string;
|
|
@@ -50,6 +50,10 @@ export const BG_DANGER_FILL_MUTED_ACTIVE = "#d43745";
|
|
|
50
50
|
export const BG_DANGER_FILL_EMPHASIS_DEFAULT = "#ffa3a1";
|
|
51
51
|
export const BG_DANGER_FILL_EMPHASIS_HOVER = "#ffc1bf";
|
|
52
52
|
export const BG_DANGER_FILL_EMPHASIS_ACTIVE = "#ffd9d7";
|
|
53
|
+
export const BG_FLOATING = "#202223";
|
|
54
|
+
export const BG_BACKDROP = "#738696";
|
|
55
|
+
export const BG_INPUT = "#0b0b0b";
|
|
56
|
+
export const BG_DISABLED = "#525c65";
|
|
53
57
|
export const BORDER_NEUTRAL_SUBTLE = "#525c65";
|
|
54
58
|
export const BORDER_NEUTRAL_MEDIUM = "#738696";
|
|
55
59
|
export const BORDER_NEUTRAL_STRONG = "#9fb4c6";
|
|
@@ -68,6 +72,8 @@ export const BORDER_WARNING_STRONG = "#f99539";
|
|
|
68
72
|
export const BORDER_DANGER_SUBTLE = "#923a3c";
|
|
69
73
|
export const BORDER_DANGER_MEDIUM = "#e53748";
|
|
70
74
|
export const BORDER_DANGER_STRONG = "#ff8082";
|
|
75
|
+
export const BORDER_FOCUS = "#2d8bc5";
|
|
76
|
+
export const BORDER_DISABLED = "#738696";
|
|
71
77
|
export const TEXT_NEUTRAL_SUBTLE = "#d6e3ee"; // Used for text and icons
|
|
72
78
|
export const TEXT_NEUTRAL_STRONG = "#f5fdff"; // Used for text and icons
|
|
73
79
|
export const TEXT_NEUTRAL_SUBTLE_ON_EMPHASIS = "#333639"; // Text or icons against colored backgrounds
|
|
@@ -92,3 +98,5 @@ export const TEXT_DANGER_SUBTLE = "#ffd0ce"; // Used for text and icons
|
|
|
92
98
|
export const TEXT_DANGER_STRONG = "#fff5f4"; // Used for text and icons
|
|
93
99
|
export const TEXT_DANGER_SUBTLE_ON_EMPHASIS = "#492d2c"; // Text or icons against colored backgrounds
|
|
94
100
|
export const TEXT_DANGER_STRONG_ON_EMPHASIS = "#040303"; // Text or icons against colored backgrounds
|
|
101
|
+
export const TEXT_LINK = "#5abbfb";
|
|
102
|
+
export const TEXT_DISABLED = "#738696";
|
|
@@ -50,6 +50,10 @@ export const BG_DANGER_FILL_MUTED_ACTIVE: string;
|
|
|
50
50
|
export const BG_DANGER_FILL_EMPHASIS_DEFAULT: string;
|
|
51
51
|
export const BG_DANGER_FILL_EMPHASIS_HOVER: string;
|
|
52
52
|
export const BG_DANGER_FILL_EMPHASIS_ACTIVE: string;
|
|
53
|
+
export const BG_FLOATING: string;
|
|
54
|
+
export const BG_BACKDROP: string;
|
|
55
|
+
export const BG_INPUT: string;
|
|
56
|
+
export const BG_DISABLED: string;
|
|
53
57
|
export const BORDER_NEUTRAL_SUBTLE: string;
|
|
54
58
|
export const BORDER_NEUTRAL_MEDIUM: string;
|
|
55
59
|
export const BORDER_NEUTRAL_STRONG: string;
|
|
@@ -68,6 +72,8 @@ export const BORDER_WARNING_STRONG: string;
|
|
|
68
72
|
export const BORDER_DANGER_SUBTLE: string;
|
|
69
73
|
export const BORDER_DANGER_MEDIUM: string;
|
|
70
74
|
export const BORDER_DANGER_STRONG: string;
|
|
75
|
+
export const BORDER_FOCUS: string;
|
|
76
|
+
export const BORDER_DISABLED: string;
|
|
71
77
|
/** Used for text and icons */
|
|
72
78
|
export const TEXT_NEUTRAL_SUBTLE: string;
|
|
73
79
|
/** Used for text and icons */
|
|
@@ -116,3 +122,5 @@ export const TEXT_DANGER_STRONG: string;
|
|
|
116
122
|
export const TEXT_DANGER_SUBTLE_ON_EMPHASIS: string;
|
|
117
123
|
/** Text or icons against colored backgrounds */
|
|
118
124
|
export const TEXT_DANGER_STRONG_ON_EMPHASIS: string;
|
|
125
|
+
export const TEXT_LINK: string;
|
|
126
|
+
export const TEXT_DISABLED: string;
|
|
@@ -50,6 +50,10 @@ export const BG_DANGER_FILL_MUTED_ACTIVE = "#ffa3a1";
|
|
|
50
50
|
export const BG_DANGER_FILL_EMPHASIS_DEFAULT = "#bc002a";
|
|
51
51
|
export const BG_DANGER_FILL_EMPHASIS_HOVER = "#9a1026";
|
|
52
52
|
export const BG_DANGER_FILL_EMPHASIS_ACTIVE = "#8e1525";
|
|
53
|
+
export const BG_FLOATING = "#ffffff";
|
|
54
|
+
export const BG_BACKDROP = "#aeaeae";
|
|
55
|
+
export const BG_INPUT = "#f5f5f5";
|
|
56
|
+
export const BG_DISABLED = "#e1e1e1";
|
|
53
57
|
export const BORDER_NEUTRAL_SUBTLE = "#d4d4d4";
|
|
54
58
|
export const BORDER_NEUTRAL_MEDIUM = "#aeaeae";
|
|
55
59
|
export const BORDER_NEUTRAL_STRONG = "#696969";
|
|
@@ -68,6 +72,8 @@ export const BORDER_WARNING_STRONG = "#a34e00";
|
|
|
68
72
|
export const BORDER_DANGER_SUBTLE = "#ffbcba";
|
|
69
73
|
export const BORDER_DANGER_MEDIUM = "#ff7a7d";
|
|
70
74
|
export const BORDER_DANGER_STRONG = "#c6002d";
|
|
75
|
+
export const BORDER_FOCUS = "#6fb6e9";
|
|
76
|
+
export const BORDER_DISABLED = "#aeaeae";
|
|
71
77
|
export const TEXT_NEUTRAL_SUBTLE = "#585858"; // Used for text and icons
|
|
72
78
|
export const TEXT_NEUTRAL_STRONG = "#1d1d1d"; // Used for text and icons
|
|
73
79
|
export const TEXT_NEUTRAL_SUBTLE_ON_EMPHASIS = "#dedede"; // Text or icons against colored backgrounds
|
|
@@ -92,3 +98,5 @@ export const TEXT_DANGER_SUBTLE = "#a50827"; // Used for text and icons
|
|
|
92
98
|
export const TEXT_DANGER_STRONG = "#2e1414"; // Used for text and icons
|
|
93
99
|
export const TEXT_DANGER_SUBTLE_ON_EMPHASIS = "#ffcbc9"; // Text or icons against colored backgrounds
|
|
94
100
|
export const TEXT_DANGER_STRONG_ON_EMPHASIS = "#ffffff"; // Text or icons against colored backgrounds
|
|
101
|
+
export const TEXT_LINK = "#0070a9";
|
|
102
|
+
export const TEXT_DISABLED = "#aeaeae";
|
|
@@ -50,6 +50,10 @@ export const BG_DANGER_FILL_MUTED_ACTIVE: string;
|
|
|
50
50
|
export const BG_DANGER_FILL_EMPHASIS_DEFAULT: string;
|
|
51
51
|
export const BG_DANGER_FILL_EMPHASIS_HOVER: string;
|
|
52
52
|
export const BG_DANGER_FILL_EMPHASIS_ACTIVE: string;
|
|
53
|
+
export const BG_FLOATING: string;
|
|
54
|
+
export const BG_BACKDROP: string;
|
|
55
|
+
export const BG_INPUT: string;
|
|
56
|
+
export const BG_DISABLED: string;
|
|
53
57
|
export const BORDER_NEUTRAL_SUBTLE: string;
|
|
54
58
|
export const BORDER_NEUTRAL_MEDIUM: string;
|
|
55
59
|
export const BORDER_NEUTRAL_STRONG: string;
|
|
@@ -68,6 +72,8 @@ export const BORDER_WARNING_STRONG: string;
|
|
|
68
72
|
export const BORDER_DANGER_SUBTLE: string;
|
|
69
73
|
export const BORDER_DANGER_MEDIUM: string;
|
|
70
74
|
export const BORDER_DANGER_STRONG: string;
|
|
75
|
+
export const BORDER_FOCUS: string;
|
|
76
|
+
export const BORDER_DISABLED: string;
|
|
71
77
|
/** Used for text and icons */
|
|
72
78
|
export const TEXT_NEUTRAL_SUBTLE: string;
|
|
73
79
|
/** Used for text and icons */
|
|
@@ -116,3 +122,5 @@ export const TEXT_DANGER_STRONG: string;
|
|
|
116
122
|
export const TEXT_DANGER_SUBTLE_ON_EMPHASIS: string;
|
|
117
123
|
/** Text or icons against colored backgrounds */
|
|
118
124
|
export const TEXT_DANGER_STRONG_ON_EMPHASIS: string;
|
|
125
|
+
export const TEXT_LINK: string;
|
|
126
|
+
export const TEXT_DISABLED: string;
|
|
@@ -50,6 +50,10 @@ export const BG_DANGER_FILL_MUTED_ACTIVE = "#ffa3a1";
|
|
|
50
50
|
export const BG_DANGER_FILL_EMPHASIS_DEFAULT = "#bc002a";
|
|
51
51
|
export const BG_DANGER_FILL_EMPHASIS_HOVER = "#9a1026";
|
|
52
52
|
export const BG_DANGER_FILL_EMPHASIS_ACTIVE = "#8e1525";
|
|
53
|
+
export const BG_FLOATING = "#ffffff";
|
|
54
|
+
export const BG_BACKDROP = "#aeaeae";
|
|
55
|
+
export const BG_INPUT = "#f5f5f5";
|
|
56
|
+
export const BG_DISABLED = "#e1e1e1";
|
|
53
57
|
export const BORDER_NEUTRAL_SUBTLE = "#d4d4d4";
|
|
54
58
|
export const BORDER_NEUTRAL_MEDIUM = "#aeaeae";
|
|
55
59
|
export const BORDER_NEUTRAL_STRONG = "#696969";
|
|
@@ -68,6 +72,8 @@ export const BORDER_WARNING_STRONG = "#a34e00";
|
|
|
68
72
|
export const BORDER_DANGER_SUBTLE = "#ffbcba";
|
|
69
73
|
export const BORDER_DANGER_MEDIUM = "#ff7a7d";
|
|
70
74
|
export const BORDER_DANGER_STRONG = "#c6002d";
|
|
75
|
+
export const BORDER_FOCUS = "#6fb6e9";
|
|
76
|
+
export const BORDER_DISABLED = "#aeaeae";
|
|
71
77
|
export const TEXT_NEUTRAL_SUBTLE = "#585858"; // Used for text and icons
|
|
72
78
|
export const TEXT_NEUTRAL_STRONG = "#1d1d1d"; // Used for text and icons
|
|
73
79
|
export const TEXT_NEUTRAL_SUBTLE_ON_EMPHASIS = "#dedede"; // Text or icons against colored backgrounds
|
|
@@ -92,3 +98,5 @@ export const TEXT_DANGER_SUBTLE = "#a50827"; // Used for text and icons
|
|
|
92
98
|
export const TEXT_DANGER_STRONG = "#2e1414"; // Used for text and icons
|
|
93
99
|
export const TEXT_DANGER_SUBTLE_ON_EMPHASIS = "#ffcbc9"; // Text or icons against colored backgrounds
|
|
94
100
|
export const TEXT_DANGER_STRONG_ON_EMPHASIS = "#ffffff"; // Text or icons against colored backgrounds
|
|
101
|
+
export const TEXT_LINK = "#0070a9";
|
|
102
|
+
export const TEXT_DISABLED = "#aeaeae";
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
"bg-danger-fill-emphasis-default": "#ffa3a1",
|
|
48
48
|
"bg-danger-fill-emphasis-hover": "#ffc1bf",
|
|
49
49
|
"bg-danger-fill-emphasis-active": "#ffd9d7",
|
|
50
|
+
"bg-floating": "#202223",
|
|
51
|
+
"bg-backdrop": "#738696",
|
|
52
|
+
"bg-input": "#0b0b0b",
|
|
53
|
+
"bg-disabled": "#525c65",
|
|
50
54
|
"border-neutral-subtle": "#525c65",
|
|
51
55
|
"border-neutral-medium": "#738696",
|
|
52
56
|
"border-neutral-strong": "#9fb4c6",
|
|
@@ -65,6 +69,8 @@
|
|
|
65
69
|
"border-danger-subtle": "#923a3c",
|
|
66
70
|
"border-danger-medium": "#e53748",
|
|
67
71
|
"border-danger-strong": "#ff8082",
|
|
72
|
+
"border-focus": "#2d8bc5",
|
|
73
|
+
"border-disabled": "#738696",
|
|
68
74
|
"text-neutral-subtle": "#d6e3ee",
|
|
69
75
|
"text-neutral-strong": "#f5fdff",
|
|
70
76
|
"text-neutral-subtle-on-emphasis": "#333639",
|
|
@@ -88,5 +94,7 @@
|
|
|
88
94
|
"text-danger-subtle": "#ffd0ce",
|
|
89
95
|
"text-danger-strong": "#fff5f4",
|
|
90
96
|
"text-danger-subtle-on-emphasis": "#492d2c",
|
|
91
|
-
"text-danger-strong-on-emphasis": "#040303"
|
|
97
|
+
"text-danger-strong-on-emphasis": "#040303",
|
|
98
|
+
"text-link": "#5abbfb",
|
|
99
|
+
"text-disabled": "#738696"
|
|
92
100
|
}
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
"bg-danger-fill-emphasis-default": "#bc002a",
|
|
48
48
|
"bg-danger-fill-emphasis-hover": "#9a1026",
|
|
49
49
|
"bg-danger-fill-emphasis-active": "#8e1525",
|
|
50
|
+
"bg-floating": "#ffffff",
|
|
51
|
+
"bg-backdrop": "#aeaeae",
|
|
52
|
+
"bg-input": "#f5f5f5",
|
|
53
|
+
"bg-disabled": "#e1e1e1",
|
|
50
54
|
"border-neutral-subtle": "#d4d4d4",
|
|
51
55
|
"border-neutral-medium": "#aeaeae",
|
|
52
56
|
"border-neutral-strong": "#696969",
|
|
@@ -65,6 +69,8 @@
|
|
|
65
69
|
"border-danger-subtle": "#ffbcba",
|
|
66
70
|
"border-danger-medium": "#ff7a7d",
|
|
67
71
|
"border-danger-strong": "#c6002d",
|
|
72
|
+
"border-focus": "#6fb6e9",
|
|
73
|
+
"border-disabled": "#aeaeae",
|
|
68
74
|
"text-neutral-subtle": "#585858",
|
|
69
75
|
"text-neutral-strong": "#1d1d1d",
|
|
70
76
|
"text-neutral-subtle-on-emphasis": "#dedede",
|
|
@@ -88,5 +94,7 @@
|
|
|
88
94
|
"text-danger-subtle": "#a50827",
|
|
89
95
|
"text-danger-strong": "#2e1414",
|
|
90
96
|
"text-danger-subtle-on-emphasis": "#ffcbc9",
|
|
91
|
-
"text-danger-strong-on-emphasis": "#ffffff"
|
|
97
|
+
"text-danger-strong-on-emphasis": "#ffffff",
|
|
98
|
+
"text-link": "#0070a9",
|
|
99
|
+
"text-disabled": "#aeaeae"
|
|
92
100
|
}
|
|
@@ -83,7 +83,11 @@
|
|
|
83
83
|
"Hover": "#ffc1bf",
|
|
84
84
|
"Active": "#ffd9d7"
|
|
85
85
|
}
|
|
86
|
-
}
|
|
86
|
+
},
|
|
87
|
+
"Floating": "#202223",
|
|
88
|
+
"Backdrop": "#738696",
|
|
89
|
+
"Input": "#0b0b0b",
|
|
90
|
+
"Disabled": "#525c65"
|
|
87
91
|
},
|
|
88
92
|
"Border": {
|
|
89
93
|
"Neutral": {
|
|
@@ -115,7 +119,9 @@
|
|
|
115
119
|
"Subtle": "#923a3c",
|
|
116
120
|
"Medium": "#e53748",
|
|
117
121
|
"Strong": "#ff8082"
|
|
118
|
-
}
|
|
122
|
+
},
|
|
123
|
+
"Focus": "#2d8bc5",
|
|
124
|
+
"Disabled": "#738696"
|
|
119
125
|
},
|
|
120
126
|
"Text": {
|
|
121
127
|
"Neutral": {
|
|
@@ -153,6 +159,8 @@
|
|
|
153
159
|
"Strong": "#fff5f4",
|
|
154
160
|
"Subtle on emphasis": "#492d2c",
|
|
155
161
|
"Strong on emphasis": "#040303"
|
|
156
|
-
}
|
|
162
|
+
},
|
|
163
|
+
"Link": "#5abbfb",
|
|
164
|
+
"Disabled": "#738696"
|
|
157
165
|
}
|
|
158
166
|
}
|
|
@@ -83,7 +83,11 @@
|
|
|
83
83
|
"Hover": "#9a1026",
|
|
84
84
|
"Active": "#8e1525"
|
|
85
85
|
}
|
|
86
|
-
}
|
|
86
|
+
},
|
|
87
|
+
"Floating": "#ffffff",
|
|
88
|
+
"Backdrop": "#aeaeae",
|
|
89
|
+
"Input": "#f5f5f5",
|
|
90
|
+
"Disabled": "#e1e1e1"
|
|
87
91
|
},
|
|
88
92
|
"Border": {
|
|
89
93
|
"Neutral": {
|
|
@@ -115,7 +119,9 @@
|
|
|
115
119
|
"Subtle": "#ffbcba",
|
|
116
120
|
"Medium": "#ff7a7d",
|
|
117
121
|
"Strong": "#c6002d"
|
|
118
|
-
}
|
|
122
|
+
},
|
|
123
|
+
"Focus": "#6fb6e9",
|
|
124
|
+
"Disabled": "#aeaeae"
|
|
119
125
|
},
|
|
120
126
|
"Text": {
|
|
121
127
|
"Neutral": {
|
|
@@ -153,6 +159,8 @@
|
|
|
153
159
|
"Strong": "#2e1414",
|
|
154
160
|
"Subtle on emphasis": "#ffcbc9",
|
|
155
161
|
"Strong on emphasis": "#ffffff"
|
|
156
|
-
}
|
|
162
|
+
},
|
|
163
|
+
"Link": "#0070a9",
|
|
164
|
+
"Disabled": "#aeaeae"
|
|
157
165
|
}
|
|
158
166
|
}
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
"bg-danger-fill-emphasis-default": "#bc002a",
|
|
48
48
|
"bg-danger-fill-emphasis-hover": "#9a1026",
|
|
49
49
|
"bg-danger-fill-emphasis-active": "#8e1525",
|
|
50
|
+
"bg-floating": "#ffffff",
|
|
51
|
+
"bg-backdrop": "#aeaeae",
|
|
52
|
+
"bg-input": "#f5f5f5",
|
|
53
|
+
"bg-disabled": "#e1e1e1",
|
|
50
54
|
"border-neutral-subtle": "#d4d4d4",
|
|
51
55
|
"border-neutral-medium": "#aeaeae",
|
|
52
56
|
"border-neutral-strong": "#696969",
|
|
@@ -65,6 +69,8 @@
|
|
|
65
69
|
"border-danger-subtle": "#ffbcba",
|
|
66
70
|
"border-danger-medium": "#ff7a7d",
|
|
67
71
|
"border-danger-strong": "#c6002d",
|
|
72
|
+
"border-focus": "#6fb6e9",
|
|
73
|
+
"border-disabled": "#aeaeae",
|
|
68
74
|
"text-neutral-subtle": "#585858",
|
|
69
75
|
"text-neutral-strong": "#1d1d1d",
|
|
70
76
|
"text-neutral-subtle-on-emphasis": "#dedede",
|
|
@@ -88,5 +94,7 @@
|
|
|
88
94
|
"text-danger-subtle": "#a50827",
|
|
89
95
|
"text-danger-strong": "#2e1414",
|
|
90
96
|
"text-danger-subtle-on-emphasis": "#ffcbc9",
|
|
91
|
-
"text-danger-strong-on-emphasis": "#ffffff"
|
|
97
|
+
"text-danger-strong-on-emphasis": "#ffffff",
|
|
98
|
+
"text-link": "#0070a9",
|
|
99
|
+
"text-disabled": "#aeaeae"
|
|
92
100
|
}
|
|
@@ -83,7 +83,11 @@
|
|
|
83
83
|
"Hover": "#9a1026",
|
|
84
84
|
"Active": "#8e1525"
|
|
85
85
|
}
|
|
86
|
-
}
|
|
86
|
+
},
|
|
87
|
+
"Floating": "#ffffff",
|
|
88
|
+
"Backdrop": "#aeaeae",
|
|
89
|
+
"Input": "#f5f5f5",
|
|
90
|
+
"Disabled": "#e1e1e1"
|
|
87
91
|
},
|
|
88
92
|
"Border": {
|
|
89
93
|
"Neutral": {
|
|
@@ -115,7 +119,9 @@
|
|
|
115
119
|
"Subtle": "#ffbcba",
|
|
116
120
|
"Medium": "#ff7a7d",
|
|
117
121
|
"Strong": "#c6002d"
|
|
118
|
-
}
|
|
122
|
+
},
|
|
123
|
+
"Focus": "#6fb6e9",
|
|
124
|
+
"Disabled": "#aeaeae"
|
|
119
125
|
},
|
|
120
126
|
"Text": {
|
|
121
127
|
"Neutral": {
|
|
@@ -153,6 +159,8 @@
|
|
|
153
159
|
"Strong": "#2e1414",
|
|
154
160
|
"Subtle on emphasis": "#ffcbc9",
|
|
155
161
|
"Strong on emphasis": "#ffffff"
|
|
156
|
-
}
|
|
162
|
+
},
|
|
163
|
+
"Link": "#0070a9",
|
|
164
|
+
"Disabled": "#aeaeae"
|
|
157
165
|
}
|
|
158
166
|
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export const color = {
|
|
6
|
+
bgFloating: '#202223',
|
|
7
|
+
bgBackdrop: '#738696',
|
|
8
|
+
bgInput: '#0b0b0b',
|
|
9
|
+
borderFocus: '#2d8bc5',
|
|
10
|
+
textLink: '#5abbfb',
|
|
11
|
+
bgDisabled: '#525c65',
|
|
12
|
+
borderDisabled: '#738696',
|
|
13
|
+
textDisabled: '#738696',
|
|
14
|
+
accent: {
|
|
15
|
+
'1': '#0a0b0b',
|
|
16
|
+
'2': '#1e2323',
|
|
17
|
+
'3': '#3c6266',
|
|
18
|
+
'4': '#3e7378',
|
|
19
|
+
'5': '#41878e',
|
|
20
|
+
'6': '#3c6266',
|
|
21
|
+
'7': '#439199',
|
|
22
|
+
'8': '#6ec0c9',
|
|
23
|
+
'9': '#8cd2da',
|
|
24
|
+
'10': '#ace3e9',
|
|
25
|
+
'11': '#c7f1f6',
|
|
26
|
+
'12': '#bcebf1',
|
|
27
|
+
'13': '#e6ffff',
|
|
28
|
+
'14': '#2c3839',
|
|
29
|
+
'15': '#030303',
|
|
30
|
+
},
|
|
31
|
+
neutral: {
|
|
32
|
+
'1': '#0b0b0b',
|
|
33
|
+
'2': '#202223',
|
|
34
|
+
'3': '#525c65',
|
|
35
|
+
'4': '#5d6b76',
|
|
36
|
+
'5': '#6b7d8b',
|
|
37
|
+
'6': '#525c65',
|
|
38
|
+
'7': '#738696',
|
|
39
|
+
'8': '#9fb4c6',
|
|
40
|
+
'9': '#b4c7d7',
|
|
41
|
+
'10': '#cadae7',
|
|
42
|
+
'11': '#deeaf4',
|
|
43
|
+
'12': '#d6e3ee',
|
|
44
|
+
'13': '#f5fdff',
|
|
45
|
+
'14': '#333639',
|
|
46
|
+
'15': '#030303',
|
|
47
|
+
},
|
|
48
|
+
info: {
|
|
49
|
+
'1': '#0a0b0c',
|
|
50
|
+
'2': '#1d2226',
|
|
51
|
+
'3': '#33607e',
|
|
52
|
+
'4': '#316f98',
|
|
53
|
+
'5': '#2e82b7',
|
|
54
|
+
'6': '#33607e',
|
|
55
|
+
'7': '#2d8bc5',
|
|
56
|
+
'8': '#5abbfb',
|
|
57
|
+
'9': '#7dceff',
|
|
58
|
+
'10': '#a2e0ff',
|
|
59
|
+
'11': '#c4eeff',
|
|
60
|
+
'12': '#b7e8ff',
|
|
61
|
+
'13': '#ecffff',
|
|
62
|
+
'14': '#2a3741',
|
|
63
|
+
'15': '#030304',
|
|
64
|
+
},
|
|
65
|
+
success: {
|
|
66
|
+
'1': '#0a0c0a',
|
|
67
|
+
'2': '#1e231e',
|
|
68
|
+
'3': '#3c673a',
|
|
69
|
+
'4': '#3e793c',
|
|
70
|
+
'5': '#418e3e',
|
|
71
|
+
'6': '#3c673a',
|
|
72
|
+
'7': '#439941',
|
|
73
|
+
'8': '#6eca6a',
|
|
74
|
+
'9': '#8cdb87',
|
|
75
|
+
'10': '#aceba8',
|
|
76
|
+
'11': '#c7f7c3',
|
|
77
|
+
'12': '#bcf2b8',
|
|
78
|
+
'13': '#e6ffe3',
|
|
79
|
+
'14': '#2c392b',
|
|
80
|
+
'15': '#030303',
|
|
81
|
+
},
|
|
82
|
+
warning: {
|
|
83
|
+
'1': '#0c0b0a',
|
|
84
|
+
'2': '#27201b',
|
|
85
|
+
'3': '#7e4e25',
|
|
86
|
+
'4': '#97571b',
|
|
87
|
+
'5': '#b46201',
|
|
88
|
+
'6': '#7e4e25',
|
|
89
|
+
'7': '#c36800',
|
|
90
|
+
'8': '#f99539',
|
|
91
|
+
'9': '#ffad63',
|
|
92
|
+
'10': '#ffc791',
|
|
93
|
+
'11': '#ffddb9',
|
|
94
|
+
'12': '#ffd4aa',
|
|
95
|
+
'13': '#fff7e6',
|
|
96
|
+
'14': '#413226',
|
|
97
|
+
'15': '#040303',
|
|
98
|
+
},
|
|
99
|
+
danger: {
|
|
100
|
+
'1': '#0d0a0a',
|
|
101
|
+
'2': '#2a1e1e',
|
|
102
|
+
'3': '#923a3c',
|
|
103
|
+
'4': '#b03940',
|
|
104
|
+
'5': '#d43745',
|
|
105
|
+
'6': '#923a3c',
|
|
106
|
+
'7': '#e53748',
|
|
107
|
+
'8': '#ff8082',
|
|
108
|
+
'9': '#ffa3a1',
|
|
109
|
+
'10': '#ffc1bf',
|
|
110
|
+
'11': '#ffd9d7',
|
|
111
|
+
'12': '#ffd0ce',
|
|
112
|
+
'13': '#fff5f4',
|
|
113
|
+
'14': '#492d2c',
|
|
114
|
+
'15': '#040303',
|
|
115
|
+
},
|
|
116
|
+
} as const
|