@equinor/eds-tokens 2.3.0-beta.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Equinor ASA
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.
@@ -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
  }
@@ -88,6 +88,10 @@ export const color = {
88
88
  active: '#ffd9d7',
89
89
  },
90
90
  },
91
+ floating: '#202223',
92
+ backdrop: '#738696',
93
+ input: '#0b0b0b',
94
+ disabled: '#525c65',
91
95
  },
92
96
  border: {
93
97
  neutral: {
@@ -120,6 +124,8 @@ export const color = {
120
124
  medium: '#e53748',
121
125
  strong: '#ff8082',
122
126
  },
127
+ focus: '#2d8bc5',
128
+ disabled: '#738696',
123
129
  },
124
130
  text: {
125
131
  neutral: {
@@ -158,5 +164,7 @@ export const color = {
158
164
  subtleOnEmphasis: '#492d2c',
159
165
  strongOnEmphasis: '#040303',
160
166
  },
167
+ link: '#5abbfb',
168
+ disabled: '#738696',
161
169
  },
162
170
  } as const
@@ -88,6 +88,10 @@ export const color = {
88
88
  active: '#8e1525',
89
89
  },
90
90
  },
91
+ floating: '#ffffff',
92
+ backdrop: '#aeaeae',
93
+ input: '#f5f5f5',
94
+ disabled: '#e1e1e1',
91
95
  },
92
96
  border: {
93
97
  neutral: {
@@ -120,6 +124,8 @@ export const color = {
120
124
  medium: '#ff7a7d',
121
125
  strong: '#c6002d',
122
126
  },
127
+ focus: '#6fb6e9',
128
+ disabled: '#aeaeae',
123
129
  },
124
130
  text: {
125
131
  neutral: {
@@ -158,5 +164,7 @@ export const color = {
158
164
  subtleOnEmphasis: '#ffcbc9',
159
165
  strongOnEmphasis: '#ffffff',
160
166
  },
167
+ link: '#0070a9',
168
+ disabled: '#aeaeae',
161
169
  },
162
170
  } as const
@@ -0,0 +1,170 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ export const color = {
6
+ bg: {
7
+ neutral: {
8
+ canvas: '#f5f5f5',
9
+ surface: '#ffffff',
10
+ fillMuted: {
11
+ default: '#e1e1e1',
12
+ hover: '#d4d4d4',
13
+ active: '#c4c4c4',
14
+ },
15
+ fillEmphasis: {
16
+ default: '#636363',
17
+ hover: '#525252',
18
+ active: '#4d4d4d',
19
+ },
20
+ },
21
+ accent: {
22
+ canvas: '#eaf8fa',
23
+ surface: '#f6ffff',
24
+ fillMuted: {
25
+ default: '#cfe7e9',
26
+ hover: '#bbdbdf',
27
+ active: '#a2cdd2',
28
+ },
29
+ fillEmphasis: {
30
+ default: '#206f77',
31
+ hover: '#205c62',
32
+ active: '#20565c',
33
+ },
34
+ },
35
+ success: {
36
+ canvas: '#eafbe8',
37
+ surface: '#f6fff5',
38
+ fillMuted: {
39
+ default: '#cfeacc',
40
+ hover: '#bbe0b8',
41
+ active: '#a2d49e',
42
+ },
43
+ fillEmphasis: {
44
+ default: '#207720',
45
+ hover: '#20621f',
46
+ active: '#215c1f',
47
+ },
48
+ },
49
+ info: {
50
+ canvas: '#e7f8ff',
51
+ surface: '#f4ffff',
52
+ fillMuted: {
53
+ default: '#cae6fa',
54
+ hover: '#b5daf5',
55
+ active: '#99cbf0',
56
+ },
57
+ fillEmphasis: {
58
+ default: '#006aa0',
59
+ hover: '#085883',
60
+ active: '#0e5279',
61
+ },
62
+ },
63
+ warning: {
64
+ canvas: '#fff1e2',
65
+ surface: '#fffcf0',
66
+ fillMuted: {
67
+ default: '#fbdac1',
68
+ hover: '#f6caaa',
69
+ active: '#f0b689',
70
+ },
71
+ fillEmphasis: {
72
+ default: '#9b4900',
73
+ hover: '#813e00',
74
+ active: '#773a00',
75
+ },
76
+ },
77
+ danger: {
78
+ canvas: '#ffecea',
79
+ surface: '#fff9f8',
80
+ fillMuted: {
81
+ default: '#ffd0ce',
82
+ hover: '#ffbcba',
83
+ active: '#ffa3a1',
84
+ },
85
+ fillEmphasis: {
86
+ default: '#bc002a',
87
+ hover: '#9a1026',
88
+ active: '#8e1525',
89
+ },
90
+ },
91
+ floating: '#ffffff',
92
+ backdrop: '#aeaeae',
93
+ input: '#f5f5f5',
94
+ disabled: '#e1e1e1',
95
+ },
96
+ border: {
97
+ neutral: {
98
+ subtle: '#d4d4d4',
99
+ medium: '#aeaeae',
100
+ strong: '#696969',
101
+ },
102
+ accent: {
103
+ subtle: '#bbdbdf',
104
+ medium: '#7cbac1',
105
+ strong: '#21767e',
106
+ },
107
+ success: {
108
+ subtle: '#bbe0b8',
109
+ medium: '#7cc278',
110
+ strong: '#227e22',
111
+ },
112
+ info: {
113
+ subtle: '#b5daf5',
114
+ medium: '#6fb6e9',
115
+ strong: '#0070a9',
116
+ },
117
+ warning: {
118
+ subtle: '#f6caaa',
119
+ medium: '#e89959',
120
+ strong: '#a34e00',
121
+ },
122
+ danger: {
123
+ subtle: '#ffbcba',
124
+ medium: '#ff7a7d',
125
+ strong: '#c6002d',
126
+ },
127
+ focus: '#6fb6e9',
128
+ disabled: '#aeaeae',
129
+ },
130
+ text: {
131
+ neutral: {
132
+ subtle: '#585858',
133
+ strong: '#1d1d1d',
134
+ subtleOnEmphasis: '#dedede',
135
+ strongOnEmphasis: '#ffffff',
136
+ },
137
+ accent: {
138
+ subtle: '#1f6369',
139
+ strong: '#141f20',
140
+ subtleOnEmphasis: '#cae4e7',
141
+ strongOnEmphasis: '#ffffff',
142
+ },
143
+ success: {
144
+ subtle: '#20691f',
145
+ strong: '#142114',
146
+ subtleOnEmphasis: '#cae8c7',
147
+ strongOnEmphasis: '#ffffff',
148
+ },
149
+ info: {
150
+ subtle: '#015e8d',
151
+ strong: '#121e27',
152
+ subtleOnEmphasis: '#c5e3f9',
153
+ strongOnEmphasis: '#ffffff',
154
+ },
155
+ warning: {
156
+ subtle: '#8a4100',
157
+ strong: '#27190e',
158
+ subtleOnEmphasis: '#fad6bc',
159
+ strongOnEmphasis: '#ffffff',
160
+ },
161
+ danger: {
162
+ subtle: '#a50827',
163
+ strong: '#2e1414',
164
+ subtleOnEmphasis: '#ffcbc9',
165
+ strongOnEmphasis: '#ffffff',
166
+ },
167
+ link: '#0070a9',
168
+ disabled: '#aeaeae',
169
+ },
170
+ } as const
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/eds-tokens",
3
- "version": "2.3.0-beta.0",
3
+ "version": "2.3.0-beta.1",
4
4
  "description": "Design tokens for the Equinor Design System",
5
5
  "type": "module",
6
6
  "exports": {
@@ -45,6 +45,31 @@
45
45
  "tokens.css",
46
46
  "elements.css"
47
47
  ],
48
+ "keywords": [
49
+ "eds",
50
+ "design system",
51
+ "equinor",
52
+ "design tokens"
53
+ ],
54
+ "devDependencies": {
55
+ "@rollup/plugin-babel": "^6.1.0",
56
+ "@rollup/plugin-commonjs": "^29.0.0",
57
+ "@rollup/plugin-node-resolve": "^16.0.3",
58
+ "@types/node": "^25.3.3",
59
+ "copyfiles": "^2.4.1",
60
+ "lightningcss-cli": "^1.31.1",
61
+ "prettier": "3.8.1",
62
+ "rimraf": "^6.1.3",
63
+ "rollup": "^4.59.0",
64
+ "rollup-plugin-delete": "^3.0.2",
65
+ "style-dictionary": "^5.3.2",
66
+ "style-dictionary-utils": "^4.1.0",
67
+ "typescript": "^5.9.3",
68
+ "vite": "^7.3.1",
69
+ "@equinor/eds-tokens-sync": "^1.0.0",
70
+ "@equinor/eds-color-palette-generator": "^0.1.0",
71
+ "@equinor/eds-tokens-build": "^1.1.0"
72
+ },
48
73
  "scripts": {
49
74
  "build": "rollup -c && pnpm run types",
50
75
  "dev": "rollup -c -w",
@@ -80,30 +105,5 @@
80
105
  "update-figma:color-dynamic": "sync-tokens-to-figma --file-key nyPaQ3QnI1UAcxKW4a0d2c",
81
106
  "update-tokens": "pnpm run update-tokens:foundations && pnpm run update-tokens:color-static && pnpm run update-tokens:color-dynamic && pnpm run update-tokens:spacing-primitives && pnpm run update-tokens:spacing-modes",
82
107
  "update-figma": "pnpm run update-figma:foundations && pnpm run update-figma:color-static && pnpm run update-figma:color-dynamic && pnpm run update-figma:spacing-primitives && pnpm run update-figma:spacing-modes"
83
- },
84
- "keywords": [
85
- "eds",
86
- "design system",
87
- "equinor",
88
- "design tokens"
89
- ],
90
- "devDependencies": {
91
- "@equinor/eds-color-palette-generator": "workspace:^",
92
- "@equinor/eds-tokens-build": "workspace:^",
93
- "@equinor/eds-tokens-sync": "workspace:^",
94
- "@rollup/plugin-babel": "^6.1.0",
95
- "@rollup/plugin-commonjs": "^29.0.0",
96
- "@rollup/plugin-node-resolve": "^16.0.3",
97
- "@types/node": "^25.3.0",
98
- "copyfiles": "^2.4.1",
99
- "lightningcss-cli": "^1.31.1",
100
- "prettier": "3.8.1",
101
- "rimraf": "^6.1.3",
102
- "rollup": "^4.59.0",
103
- "rollup-plugin-delete": "^3.0.2",
104
- "style-dictionary": "^5.3.2",
105
- "style-dictionary-utils": "^4.1.0",
106
- "typescript": "^5.9.3",
107
- "vite": "^7.3.1"
108
108
  }
109
- }
109
+ }