@equinor/eds-tokens 2.3.2 → 3.0.0-beta.2
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/package.json +10 -3
- package/src/tokens/css/color-scheme/dark.css +100 -0
- package/src/tokens/css/color-scheme/light.css +100 -0
- package/src/tokens/css/colors/default.css +212 -0
- package/src/tokens/css/density/comfortable.css +51 -0
- package/src/tokens/css/density/compact.css +51 -0
- package/src/tokens/css/density/relaxed.css +51 -0
- package/src/tokens/css/font/default.css +7 -0
- package/src/tokens/css/primitives/default.css +84 -0
- package/src/tokens/css/semantic/default.css +115 -0
- package/src/tokens/css/variables.css +772 -0
- package/src/tokens/dtcg/color-scheme/dark.json +1092 -0
- package/src/tokens/dtcg/color-scheme/light.json +1092 -0
- package/src/tokens/dtcg/colors/default.json +2344 -0
- package/src/tokens/dtcg/density/comfortable.json +748 -0
- package/src/tokens/dtcg/density/compact.json +748 -0
- package/src/tokens/dtcg/density/relaxed.json +748 -0
- package/src/tokens/dtcg/font/default.json +76 -0
- package/src/tokens/dtcg/primitives/default.json +1181 -0
- package/src/tokens/dtcg/semantic/default.json +1667 -0
- package/src/tokens/ts/color-scheme/dark.ts +119 -0
- package/src/tokens/ts/color-scheme/light.ts +119 -0
- package/src/tokens/ts/colors/default.ts +251 -0
- package/src/tokens/ts/density/comfortable.ts +102 -0
- package/src/tokens/ts/density/compact.ts +102 -0
- package/src/tokens/ts/density/relaxed.ts +102 -0
- package/src/tokens/ts/font/default.ts +18 -0
- package/src/tokens/ts/primitives/default.ts +171 -0
- package/src/tokens/ts/semantic/dark.ts +214 -0
- package/src/tokens/ts/semantic/light.ts +214 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly — generated by scripts/generate-ts-tokens.mjs
|
|
3
|
+
* from the Tokens Studio DTCG + CSS exports.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const density = {
|
|
7
|
+
cornerRadius: {
|
|
8
|
+
none: 0,
|
|
9
|
+
pill: 9999,
|
|
10
|
+
rounded: 6,
|
|
11
|
+
roundedOuter: 8,
|
|
12
|
+
},
|
|
13
|
+
spacing: {
|
|
14
|
+
twoXl: 32,
|
|
15
|
+
twoXs: 8,
|
|
16
|
+
threeXl: 36,
|
|
17
|
+
threeXs: 6,
|
|
18
|
+
fourXs: 4,
|
|
19
|
+
lg: 24,
|
|
20
|
+
md: 20,
|
|
21
|
+
none: 0,
|
|
22
|
+
sm: 16,
|
|
23
|
+
xl: 28,
|
|
24
|
+
xs: 10,
|
|
25
|
+
},
|
|
26
|
+
typography: {
|
|
27
|
+
header: {
|
|
28
|
+
twoXl: {
|
|
29
|
+
fontSize: 28,
|
|
30
|
+
lineHeight: 32,
|
|
31
|
+
},
|
|
32
|
+
threeXl: {
|
|
33
|
+
fontSize: 32,
|
|
34
|
+
lineHeight: 32,
|
|
35
|
+
},
|
|
36
|
+
fourXl: {
|
|
37
|
+
fontSize: 36,
|
|
38
|
+
lineHeight: 36,
|
|
39
|
+
},
|
|
40
|
+
lg: {
|
|
41
|
+
fontSize: 21,
|
|
42
|
+
lineHeight: 24,
|
|
43
|
+
},
|
|
44
|
+
md: {
|
|
45
|
+
fontSize: 18,
|
|
46
|
+
lineHeight: 24,
|
|
47
|
+
},
|
|
48
|
+
sm: {
|
|
49
|
+
fontSize: 16,
|
|
50
|
+
lineHeight: 20,
|
|
51
|
+
},
|
|
52
|
+
xl: {
|
|
53
|
+
fontSize: 24,
|
|
54
|
+
lineHeight: 28,
|
|
55
|
+
},
|
|
56
|
+
xs: {
|
|
57
|
+
fontSize: 14,
|
|
58
|
+
lineHeight: 16,
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
ui: {
|
|
62
|
+
twoXl: {
|
|
63
|
+
fontSize: 24,
|
|
64
|
+
lineHeight: 32,
|
|
65
|
+
},
|
|
66
|
+
threeXl: {
|
|
67
|
+
fontSize: 28,
|
|
68
|
+
lineHeight: 32,
|
|
69
|
+
},
|
|
70
|
+
fourXl: {
|
|
71
|
+
fontSize: 32,
|
|
72
|
+
lineHeight: 36,
|
|
73
|
+
},
|
|
74
|
+
fiveXl: {
|
|
75
|
+
fontSize: 37,
|
|
76
|
+
lineHeight: 40,
|
|
77
|
+
},
|
|
78
|
+
lg: {
|
|
79
|
+
fontSize: 18,
|
|
80
|
+
lineHeight: 24,
|
|
81
|
+
},
|
|
82
|
+
md: {
|
|
83
|
+
fontSize: 16,
|
|
84
|
+
lineHeight: 24,
|
|
85
|
+
},
|
|
86
|
+
sm: {
|
|
87
|
+
fontSize: 14,
|
|
88
|
+
lineHeight: 20,
|
|
89
|
+
},
|
|
90
|
+
xl: {
|
|
91
|
+
fontSize: 21,
|
|
92
|
+
lineHeight: 28,
|
|
93
|
+
},
|
|
94
|
+
xs: {
|
|
95
|
+
fontSize: 12,
|
|
96
|
+
lineHeight: 16,
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
} as const
|
|
101
|
+
|
|
102
|
+
export type Density = typeof density
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly — generated by scripts/generate-ts-tokens.mjs
|
|
3
|
+
* from the Tokens Studio DTCG + CSS exports.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const font = {
|
|
7
|
+
family: {
|
|
8
|
+
header: 'Equinor',
|
|
9
|
+
ui: 'Inter',
|
|
10
|
+
},
|
|
11
|
+
weight: {
|
|
12
|
+
bolder: 500,
|
|
13
|
+
lighter: 300,
|
|
14
|
+
normal: 400,
|
|
15
|
+
},
|
|
16
|
+
} as const
|
|
17
|
+
|
|
18
|
+
export type Font = typeof font
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly — generated by scripts/generate-ts-tokens.mjs
|
|
3
|
+
* from the Tokens Studio DTCG + CSS exports.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const primitives = {
|
|
7
|
+
fontFamily: {
|
|
8
|
+
equinor: 'Equinor',
|
|
9
|
+
inter: 'Inter',
|
|
10
|
+
},
|
|
11
|
+
lineheightScale: {
|
|
12
|
+
'100': {
|
|
13
|
+
default: 12,
|
|
14
|
+
},
|
|
15
|
+
'200': {
|
|
16
|
+
default: 16,
|
|
17
|
+
},
|
|
18
|
+
'300': {
|
|
19
|
+
default: 16,
|
|
20
|
+
},
|
|
21
|
+
'400': {
|
|
22
|
+
default: 20,
|
|
23
|
+
},
|
|
24
|
+
'500': {
|
|
25
|
+
default: 24,
|
|
26
|
+
},
|
|
27
|
+
'600': {
|
|
28
|
+
default: 24,
|
|
29
|
+
},
|
|
30
|
+
'700': {
|
|
31
|
+
default: 28,
|
|
32
|
+
},
|
|
33
|
+
'800': {
|
|
34
|
+
default: 32,
|
|
35
|
+
},
|
|
36
|
+
'900': {
|
|
37
|
+
default: 32,
|
|
38
|
+
},
|
|
39
|
+
'1000': {
|
|
40
|
+
default: 36,
|
|
41
|
+
},
|
|
42
|
+
'1100': {
|
|
43
|
+
default: 40,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
spacing: {
|
|
47
|
+
'0': 0,
|
|
48
|
+
'6': 1,
|
|
49
|
+
'12': 2,
|
|
50
|
+
'19': 3,
|
|
51
|
+
'25': 4,
|
|
52
|
+
'37': 6,
|
|
53
|
+
'50': 8,
|
|
54
|
+
'62': 10,
|
|
55
|
+
'75': 12,
|
|
56
|
+
'87': 14,
|
|
57
|
+
'100': 16,
|
|
58
|
+
'125': 20,
|
|
59
|
+
'150': 24,
|
|
60
|
+
'175': 28,
|
|
61
|
+
'200': 32,
|
|
62
|
+
'225': 36,
|
|
63
|
+
'250': 40,
|
|
64
|
+
'275': 44,
|
|
65
|
+
'300': 48,
|
|
66
|
+
'325': 52,
|
|
67
|
+
'350': 56,
|
|
68
|
+
'375': 60,
|
|
69
|
+
'400': 64,
|
|
70
|
+
'450': 72,
|
|
71
|
+
'500': 80,
|
|
72
|
+
'550': 88,
|
|
73
|
+
'600': 96,
|
|
74
|
+
'700': 112,
|
|
75
|
+
'800': 128,
|
|
76
|
+
'900': 144,
|
|
77
|
+
'1000': 160,
|
|
78
|
+
'1100': 176,
|
|
79
|
+
'1200': 192,
|
|
80
|
+
'1300': 208,
|
|
81
|
+
'1400': 224,
|
|
82
|
+
'1500': 240,
|
|
83
|
+
'1600': 256,
|
|
84
|
+
'1700': 272,
|
|
85
|
+
'1800': 288,
|
|
86
|
+
'1900': 304,
|
|
87
|
+
'2000': 320,
|
|
88
|
+
'2100': 336,
|
|
89
|
+
'2200': 352,
|
|
90
|
+
},
|
|
91
|
+
typeScale: {
|
|
92
|
+
equinor: {
|
|
93
|
+
'100': {
|
|
94
|
+
fontSize: 10,
|
|
95
|
+
},
|
|
96
|
+
'200': {
|
|
97
|
+
fontSize: 12,
|
|
98
|
+
},
|
|
99
|
+
'300': {
|
|
100
|
+
fontSize: 14,
|
|
101
|
+
},
|
|
102
|
+
'400': {
|
|
103
|
+
fontSize: 16,
|
|
104
|
+
},
|
|
105
|
+
'500': {
|
|
106
|
+
fontSize: 18,
|
|
107
|
+
},
|
|
108
|
+
'600': {
|
|
109
|
+
fontSize: 21,
|
|
110
|
+
},
|
|
111
|
+
'700': {
|
|
112
|
+
fontSize: 24,
|
|
113
|
+
},
|
|
114
|
+
'800': {
|
|
115
|
+
fontSize: 28,
|
|
116
|
+
},
|
|
117
|
+
'900': {
|
|
118
|
+
fontSize: 32,
|
|
119
|
+
},
|
|
120
|
+
'1000': {
|
|
121
|
+
fontSize: 36,
|
|
122
|
+
},
|
|
123
|
+
'1100': {
|
|
124
|
+
fontSize: 42,
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
inter: {
|
|
128
|
+
'100': {
|
|
129
|
+
fontSize: 9,
|
|
130
|
+
},
|
|
131
|
+
'200': {
|
|
132
|
+
fontSize: 10,
|
|
133
|
+
},
|
|
134
|
+
'300': {
|
|
135
|
+
fontSize: 12,
|
|
136
|
+
},
|
|
137
|
+
'400': {
|
|
138
|
+
fontSize: 14,
|
|
139
|
+
},
|
|
140
|
+
'500': {
|
|
141
|
+
fontSize: 16,
|
|
142
|
+
},
|
|
143
|
+
'600': {
|
|
144
|
+
fontSize: 18,
|
|
145
|
+
},
|
|
146
|
+
'700': {
|
|
147
|
+
fontSize: 21,
|
|
148
|
+
},
|
|
149
|
+
'800': {
|
|
150
|
+
fontSize: 24,
|
|
151
|
+
},
|
|
152
|
+
'900': {
|
|
153
|
+
fontSize: 28,
|
|
154
|
+
},
|
|
155
|
+
'1000': {
|
|
156
|
+
fontSize: 32,
|
|
157
|
+
},
|
|
158
|
+
'1100': {
|
|
159
|
+
fontSize: 37,
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
trackingNormal: 0,
|
|
163
|
+
},
|
|
164
|
+
weightScale: {
|
|
165
|
+
bolder: 500,
|
|
166
|
+
lighter: 300,
|
|
167
|
+
normal: 400,
|
|
168
|
+
},
|
|
169
|
+
} as const
|
|
170
|
+
|
|
171
|
+
export type Primitives = typeof primitives
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly — generated by scripts/generate-ts-tokens.mjs
|
|
3
|
+
* from the Tokens Studio DTCG + CSS exports.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const semantic = {
|
|
7
|
+
background: {
|
|
8
|
+
container: {
|
|
9
|
+
canvas: {
|
|
10
|
+
default: '#131414',
|
|
11
|
+
},
|
|
12
|
+
card: {
|
|
13
|
+
default: '#030303',
|
|
14
|
+
},
|
|
15
|
+
popover: {
|
|
16
|
+
default: '#030303',
|
|
17
|
+
inverted: '#d6e3ee',
|
|
18
|
+
},
|
|
19
|
+
sheet: {
|
|
20
|
+
dialog: {
|
|
21
|
+
default: '#030303',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
surface: {
|
|
26
|
+
accent: {
|
|
27
|
+
default: {
|
|
28
|
+
default: '#2c3839',
|
|
29
|
+
hover: '#c7f1f6',
|
|
30
|
+
pressed: '#030303',
|
|
31
|
+
},
|
|
32
|
+
selected: {
|
|
33
|
+
default: '#41878e',
|
|
34
|
+
hover: '#3c6266',
|
|
35
|
+
pressed: '#439199',
|
|
36
|
+
},
|
|
37
|
+
subtle: {
|
|
38
|
+
default: '#191d1d',
|
|
39
|
+
hover: '#3e7378',
|
|
40
|
+
pressed: '#3c6266',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
default: {
|
|
44
|
+
active: '#1b1c1d',
|
|
45
|
+
default: '#131414',
|
|
46
|
+
disabled: '#131414',
|
|
47
|
+
hover: '#1b1c1d',
|
|
48
|
+
muted: '#131414',
|
|
49
|
+
pressed: '#525c65',
|
|
50
|
+
readOnly: '#131414',
|
|
51
|
+
selected: {
|
|
52
|
+
default: '#191d1d',
|
|
53
|
+
hover: '#3c6266',
|
|
54
|
+
pressed: '#3e7378',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
border: {
|
|
60
|
+
default: '#5d6b76',
|
|
61
|
+
disabled: '#738696',
|
|
62
|
+
emphasized: '#525c65',
|
|
63
|
+
focus: '#2d8bc5',
|
|
64
|
+
hover: '#738696',
|
|
65
|
+
selected: '#f1ffff',
|
|
66
|
+
subtle: '#1b1c1d',
|
|
67
|
+
},
|
|
68
|
+
cornerRadius: {
|
|
69
|
+
none: 0,
|
|
70
|
+
pill: 9999,
|
|
71
|
+
rounded: 4,
|
|
72
|
+
roundedOuter: 6,
|
|
73
|
+
},
|
|
74
|
+
fontFamily: {
|
|
75
|
+
header: 'Equinor',
|
|
76
|
+
ui: 'Inter',
|
|
77
|
+
},
|
|
78
|
+
fontWeight: {
|
|
79
|
+
bolder: 500,
|
|
80
|
+
lighter: 300,
|
|
81
|
+
normal: 400,
|
|
82
|
+
},
|
|
83
|
+
icon: {
|
|
84
|
+
accent: '#f1ffff',
|
|
85
|
+
accentHover: '#2c3839',
|
|
86
|
+
accentPressed: '#030303',
|
|
87
|
+
colorOnDark: '#333639',
|
|
88
|
+
colorOnLight: '#d6e3ee',
|
|
89
|
+
disabled: '#6b7d8b',
|
|
90
|
+
muted: '#738696',
|
|
91
|
+
onAccent: '#333639',
|
|
92
|
+
primary: '#cadae7',
|
|
93
|
+
secondary: '#9fb4c6',
|
|
94
|
+
},
|
|
95
|
+
overlay: {
|
|
96
|
+
scrim: '#1d1d1d1a',
|
|
97
|
+
},
|
|
98
|
+
spacing: {
|
|
99
|
+
twoXl: 28,
|
|
100
|
+
twoXs: 6,
|
|
101
|
+
threeXl: 32,
|
|
102
|
+
threeXs: 4,
|
|
103
|
+
fourXs: 2,
|
|
104
|
+
lg: 20,
|
|
105
|
+
md: 16,
|
|
106
|
+
none: 0,
|
|
107
|
+
sm: 12,
|
|
108
|
+
xl: 24,
|
|
109
|
+
xs: 8,
|
|
110
|
+
},
|
|
111
|
+
status: {
|
|
112
|
+
warning: {
|
|
113
|
+
default: '#161311',
|
|
114
|
+
emphased: {
|
|
115
|
+
default: '#f99539',
|
|
116
|
+
hover: '#ffdebe',
|
|
117
|
+
selected: '#ffd7b3',
|
|
118
|
+
},
|
|
119
|
+
hover: '#7e4e25',
|
|
120
|
+
selected: '#b46201',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
text: {
|
|
124
|
+
accent: '#5abbfb',
|
|
125
|
+
colorOnDark: '#333639',
|
|
126
|
+
colorOnLight: '#d6e3ee',
|
|
127
|
+
disabled: '#738696',
|
|
128
|
+
muted: '#738696',
|
|
129
|
+
onAccent: '#333639',
|
|
130
|
+
pressed: '#b0deff',
|
|
131
|
+
primary: '#d6e3ee',
|
|
132
|
+
secondary: '#9fb4c6',
|
|
133
|
+
status: {
|
|
134
|
+
onDark: '#040303',
|
|
135
|
+
onLight: '#ffdebe',
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
typography: {
|
|
139
|
+
header: {
|
|
140
|
+
twoXl: {
|
|
141
|
+
fontSize: 24,
|
|
142
|
+
lineHeight: 28,
|
|
143
|
+
},
|
|
144
|
+
threeXl: {
|
|
145
|
+
fontSize: 24,
|
|
146
|
+
lineHeight: 32,
|
|
147
|
+
},
|
|
148
|
+
fourXl: {
|
|
149
|
+
fontSize: 32,
|
|
150
|
+
lineHeight: 32,
|
|
151
|
+
},
|
|
152
|
+
lg: {
|
|
153
|
+
fontSize: 18,
|
|
154
|
+
lineHeight: 24,
|
|
155
|
+
},
|
|
156
|
+
md: {
|
|
157
|
+
fontSize: 16,
|
|
158
|
+
lineHeight: 20,
|
|
159
|
+
},
|
|
160
|
+
sm: {
|
|
161
|
+
fontSize: 14,
|
|
162
|
+
lineHeight: 16,
|
|
163
|
+
},
|
|
164
|
+
xl: {
|
|
165
|
+
fontSize: 21,
|
|
166
|
+
lineHeight: 24,
|
|
167
|
+
},
|
|
168
|
+
xs: {
|
|
169
|
+
fontSize: 12,
|
|
170
|
+
lineHeight: 16,
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
ui: {
|
|
174
|
+
twoXl: {
|
|
175
|
+
fontSize: 21,
|
|
176
|
+
lineHeight: 28,
|
|
177
|
+
},
|
|
178
|
+
threeXl: {
|
|
179
|
+
fontSize: 24,
|
|
180
|
+
lineHeight: 32,
|
|
181
|
+
},
|
|
182
|
+
fourXl: {
|
|
183
|
+
fontSize: 28,
|
|
184
|
+
lineHeight: 32,
|
|
185
|
+
},
|
|
186
|
+
fiveXl: {
|
|
187
|
+
fontSize: 32,
|
|
188
|
+
lineHeight: 36,
|
|
189
|
+
},
|
|
190
|
+
lg: {
|
|
191
|
+
fontSize: 16,
|
|
192
|
+
lineHeight: 24,
|
|
193
|
+
},
|
|
194
|
+
md: {
|
|
195
|
+
fontSize: 14,
|
|
196
|
+
lineHeight: 20,
|
|
197
|
+
},
|
|
198
|
+
sm: {
|
|
199
|
+
fontSize: 12,
|
|
200
|
+
lineHeight: 16,
|
|
201
|
+
},
|
|
202
|
+
xl: {
|
|
203
|
+
fontSize: 18,
|
|
204
|
+
lineHeight: 24,
|
|
205
|
+
},
|
|
206
|
+
xs: {
|
|
207
|
+
fontSize: 10,
|
|
208
|
+
lineHeight: 16,
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
} as const
|
|
213
|
+
|
|
214
|
+
export type Semantic = typeof semantic
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly — generated by scripts/generate-ts-tokens.mjs
|
|
3
|
+
* from the Tokens Studio DTCG + CSS exports.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const semantic = {
|
|
7
|
+
background: {
|
|
8
|
+
container: {
|
|
9
|
+
canvas: {
|
|
10
|
+
default: '#f8f8f8',
|
|
11
|
+
},
|
|
12
|
+
card: {
|
|
13
|
+
default: '#ffffff',
|
|
14
|
+
},
|
|
15
|
+
popover: {
|
|
16
|
+
default: '#ffffff',
|
|
17
|
+
inverted: '#404040',
|
|
18
|
+
},
|
|
19
|
+
sheet: {
|
|
20
|
+
dialog: {
|
|
21
|
+
default: '#ffffff',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
surface: {
|
|
26
|
+
accent: {
|
|
27
|
+
default: {
|
|
28
|
+
default: '#cae4e7',
|
|
29
|
+
hover: '#20565c',
|
|
30
|
+
pressed: '#ffffff',
|
|
31
|
+
},
|
|
32
|
+
selected: {
|
|
33
|
+
default: '#a2cdd2',
|
|
34
|
+
hover: '#87c0c6',
|
|
35
|
+
pressed: '#6cb2b9',
|
|
36
|
+
},
|
|
37
|
+
subtle: {
|
|
38
|
+
default: '#ddeff1',
|
|
39
|
+
hover: '#bbdbdf',
|
|
40
|
+
pressed: '#87c0c6',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
default: {
|
|
44
|
+
active: '#ebebeb',
|
|
45
|
+
default: '#f8f8f8',
|
|
46
|
+
disabled: '#f8f8f8',
|
|
47
|
+
hover: '#ebebeb',
|
|
48
|
+
muted: '#f8f8f8',
|
|
49
|
+
pressed: '#e1e1e1',
|
|
50
|
+
readOnly: '#f8f8f8',
|
|
51
|
+
selected: {
|
|
52
|
+
default: '#ddeff1',
|
|
53
|
+
hover: '#cfe7e9',
|
|
54
|
+
pressed: '#bbdbdf',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
border: {
|
|
60
|
+
default: '#d4d4d4',
|
|
61
|
+
disabled: '#a4a4a4',
|
|
62
|
+
emphasized: '#b4b4b4',
|
|
63
|
+
focus: '#5cade5',
|
|
64
|
+
hover: '#a4a4a4',
|
|
65
|
+
selected: '#1e383a',
|
|
66
|
+
subtle: '#ebebeb',
|
|
67
|
+
},
|
|
68
|
+
cornerRadius: {
|
|
69
|
+
none: 0,
|
|
70
|
+
pill: 9999,
|
|
71
|
+
rounded: 4,
|
|
72
|
+
roundedOuter: 6,
|
|
73
|
+
},
|
|
74
|
+
fontFamily: {
|
|
75
|
+
header: 'Equinor',
|
|
76
|
+
ui: 'Inter',
|
|
77
|
+
},
|
|
78
|
+
fontWeight: {
|
|
79
|
+
bolder: 500,
|
|
80
|
+
lighter: 300,
|
|
81
|
+
normal: 400,
|
|
82
|
+
},
|
|
83
|
+
icon: {
|
|
84
|
+
accent: '#1e383a',
|
|
85
|
+
accentHover: '#cae4e7',
|
|
86
|
+
accentPressed: '#ffffff',
|
|
87
|
+
colorOnDark: '#dedede',
|
|
88
|
+
colorOnLight: '#404040',
|
|
89
|
+
disabled: '#c4c4c4',
|
|
90
|
+
muted: '#a4a4a4',
|
|
91
|
+
onAccent: '#dedede',
|
|
92
|
+
primary: '#5b5b5b',
|
|
93
|
+
secondary: '#868686',
|
|
94
|
+
},
|
|
95
|
+
overlay: {
|
|
96
|
+
scrim: '#1d1d1d1a',
|
|
97
|
+
},
|
|
98
|
+
spacing: {
|
|
99
|
+
twoXl: 28,
|
|
100
|
+
twoXs: 6,
|
|
101
|
+
threeXl: 32,
|
|
102
|
+
threeXs: 4,
|
|
103
|
+
fourXs: 2,
|
|
104
|
+
lg: 20,
|
|
105
|
+
md: 16,
|
|
106
|
+
none: 0,
|
|
107
|
+
sm: 12,
|
|
108
|
+
xl: 24,
|
|
109
|
+
xs: 8,
|
|
110
|
+
},
|
|
111
|
+
status: {
|
|
112
|
+
warning: {
|
|
113
|
+
default: '#fff6f0',
|
|
114
|
+
emphased: {
|
|
115
|
+
default: '#c86a00',
|
|
116
|
+
hover: '#753c00',
|
|
117
|
+
selected: '#603204',
|
|
118
|
+
},
|
|
119
|
+
hover: '#fbdac1',
|
|
120
|
+
selected: '#f0b689',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
text: {
|
|
124
|
+
accent: '#1d8fcf',
|
|
125
|
+
colorOnDark: '#dedede',
|
|
126
|
+
colorOnLight: '#404040',
|
|
127
|
+
disabled: '#a4a4a4',
|
|
128
|
+
muted: '#a4a4a4',
|
|
129
|
+
onAccent: '#dedede',
|
|
130
|
+
pressed: '#006192',
|
|
131
|
+
primary: '#404040',
|
|
132
|
+
secondary: '#868686',
|
|
133
|
+
status: {
|
|
134
|
+
onDark: '#ffffff',
|
|
135
|
+
onLight: '#753c00',
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
typography: {
|
|
139
|
+
header: {
|
|
140
|
+
twoXl: {
|
|
141
|
+
fontSize: 24,
|
|
142
|
+
lineHeight: 28,
|
|
143
|
+
},
|
|
144
|
+
threeXl: {
|
|
145
|
+
fontSize: 24,
|
|
146
|
+
lineHeight: 32,
|
|
147
|
+
},
|
|
148
|
+
fourXl: {
|
|
149
|
+
fontSize: 32,
|
|
150
|
+
lineHeight: 32,
|
|
151
|
+
},
|
|
152
|
+
lg: {
|
|
153
|
+
fontSize: 18,
|
|
154
|
+
lineHeight: 24,
|
|
155
|
+
},
|
|
156
|
+
md: {
|
|
157
|
+
fontSize: 16,
|
|
158
|
+
lineHeight: 20,
|
|
159
|
+
},
|
|
160
|
+
sm: {
|
|
161
|
+
fontSize: 14,
|
|
162
|
+
lineHeight: 16,
|
|
163
|
+
},
|
|
164
|
+
xl: {
|
|
165
|
+
fontSize: 21,
|
|
166
|
+
lineHeight: 24,
|
|
167
|
+
},
|
|
168
|
+
xs: {
|
|
169
|
+
fontSize: 12,
|
|
170
|
+
lineHeight: 16,
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
ui: {
|
|
174
|
+
twoXl: {
|
|
175
|
+
fontSize: 21,
|
|
176
|
+
lineHeight: 28,
|
|
177
|
+
},
|
|
178
|
+
threeXl: {
|
|
179
|
+
fontSize: 24,
|
|
180
|
+
lineHeight: 32,
|
|
181
|
+
},
|
|
182
|
+
fourXl: {
|
|
183
|
+
fontSize: 28,
|
|
184
|
+
lineHeight: 32,
|
|
185
|
+
},
|
|
186
|
+
fiveXl: {
|
|
187
|
+
fontSize: 32,
|
|
188
|
+
lineHeight: 36,
|
|
189
|
+
},
|
|
190
|
+
lg: {
|
|
191
|
+
fontSize: 16,
|
|
192
|
+
lineHeight: 24,
|
|
193
|
+
},
|
|
194
|
+
md: {
|
|
195
|
+
fontSize: 14,
|
|
196
|
+
lineHeight: 20,
|
|
197
|
+
},
|
|
198
|
+
sm: {
|
|
199
|
+
fontSize: 12,
|
|
200
|
+
lineHeight: 16,
|
|
201
|
+
},
|
|
202
|
+
xl: {
|
|
203
|
+
fontSize: 18,
|
|
204
|
+
lineHeight: 24,
|
|
205
|
+
},
|
|
206
|
+
xs: {
|
|
207
|
+
fontSize: 10,
|
|
208
|
+
lineHeight: 16,
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
} as const
|
|
213
|
+
|
|
214
|
+
export type Semantic = typeof semantic
|