@drivy/cobalt 0.42.5 → 0.42.7
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/cjs/tokens/palette.js +3 -3
- package/cjs/tokens/theme.js +9 -0
- package/cjs/tokens/theme.js.map +1 -1
- package/package.json +3 -3
- package/styles/components/Icon/iconColors.scss +4 -0
- package/styles/core/_colors-map.scss +9 -0
- package/styles/core/default-theme.scss +7 -0
- package/styles/core/palette.scss +3 -3
- package/styles/core/theme.scss +14 -0
- package/tokens/palette.js +3 -3
- package/tokens/theme.js +9 -0
- package/tokens/theme.js.map +1 -1
- package/types/src/components/Icon/index.d.ts +1 -1
- package/types/src/tokens/index.d.ts +9 -0
- package/utilities.css +26 -3
package/cjs/tokens/palette.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const white = "#
|
|
5
|
+
const white = "#FFF";
|
|
6
6
|
const purple = {
|
|
7
7
|
"100": "#F6E5F5",
|
|
8
8
|
"300": "#CA6BC3",
|
|
@@ -73,7 +73,7 @@ const black = {
|
|
|
73
73
|
"100": "#363036",
|
|
74
74
|
"300": "#282127",
|
|
75
75
|
"500": "#191218",
|
|
76
|
-
"1000": "#
|
|
76
|
+
"1000": "#000"
|
|
77
77
|
};
|
|
78
78
|
const grey = {
|
|
79
79
|
"50": "#F8F9FA",
|
|
@@ -104,7 +104,7 @@ const season = {
|
|
|
104
104
|
"400": "#54A949",
|
|
105
105
|
"700": "#0B7011",
|
|
106
106
|
"800": "#005100",
|
|
107
|
-
"900": "#
|
|
107
|
+
"900": "#030",
|
|
108
108
|
"1000": "#001900"
|
|
109
109
|
};
|
|
110
110
|
var _palette = {
|
package/cjs/tokens/theme.js
CHANGED
|
@@ -101,6 +101,7 @@ const icon = {
|
|
|
101
101
|
connectAlt: "turquoise.900/turquoise.50",
|
|
102
102
|
driver: "navy.700/navy.700",
|
|
103
103
|
owner: "white/white",
|
|
104
|
+
inversed: "white/white",
|
|
104
105
|
disabled: "navy.100/black.50",
|
|
105
106
|
disabledAlt: "navy.300/grey.500",
|
|
106
107
|
warning: "orange.500/orange.300",
|
|
@@ -151,9 +152,15 @@ const stroke = {
|
|
|
151
152
|
DEFAULT: "purple.500/purpleDeep.500",
|
|
152
153
|
hover: "purple.700/purpleDeep.400",
|
|
153
154
|
press: "purple.900/purpleDeep.400"
|
|
155
|
+
},
|
|
156
|
+
strongInteractive: {
|
|
157
|
+
DEFAULT: "navy.300/navy.200",
|
|
158
|
+
hover: "navy.500/purpleDeep.400",
|
|
159
|
+
press: "navy.700/purpleDeep.400"
|
|
154
160
|
}
|
|
155
161
|
};
|
|
156
162
|
const buttonIcon = {
|
|
163
|
+
selected: "purple.500/grey.100",
|
|
157
164
|
primary: "white/grey.100",
|
|
158
165
|
secondary: "purple.500/purpleDeep.400",
|
|
159
166
|
tertiary: "purple.500/white",
|
|
@@ -189,6 +196,7 @@ const buttonIcon = {
|
|
|
189
196
|
}
|
|
190
197
|
};
|
|
191
198
|
const buttonLabel = {
|
|
199
|
+
selected: "purple.500/grey.100",
|
|
192
200
|
primary: "white/grey.100",
|
|
193
201
|
secondary: "purple.500/purpleDeep.400",
|
|
194
202
|
tertiary: "purple.500/white",
|
|
@@ -224,6 +232,7 @@ const buttonLabel = {
|
|
|
224
232
|
}
|
|
225
233
|
};
|
|
226
234
|
const buttonBackground = {
|
|
235
|
+
selected: "purple.100/purpleDeep.900",
|
|
227
236
|
primary: "purple.500/purpleDeep.500",
|
|
228
237
|
secondary: "white/black.500",
|
|
229
238
|
tertiary: "white/white",
|
package/cjs/tokens/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drivy/cobalt",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.7",
|
|
4
4
|
"description": "Opinionated design system for Drivy's projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
|
-
"types": "types/index.d.ts",
|
|
6
|
+
"types": "types/src/index.d.ts",
|
|
7
7
|
"sideEffects": [
|
|
8
8
|
"*.css",
|
|
9
9
|
"*.scss"
|
|
10
10
|
],
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": "
|
|
12
|
+
"node": ">=18.16.0"
|
|
13
13
|
},
|
|
14
14
|
"packageManager": "pnpm@8.15.3",
|
|
15
15
|
"module": "src/index.js",
|
|
@@ -102,6 +102,7 @@ $theme-colors-map: (
|
|
|
102
102
|
connectAlt: var(--c-icon-connectAlt),
|
|
103
103
|
driver: var(--c-icon-driver),
|
|
104
104
|
owner: var(--c-icon-owner),
|
|
105
|
+
inversed: var(--c-icon-inversed),
|
|
105
106
|
disabled: var(--c-icon-disabled),
|
|
106
107
|
disabledAlt: var(--c-icon-disabledAlt),
|
|
107
108
|
warning: var(--c-icon-warning),
|
|
@@ -152,9 +153,15 @@ $theme-colors-map: (
|
|
|
152
153
|
DEFAULT: var(--c-stroke-accentInteractive),
|
|
153
154
|
hover: var(--c-stroke-accentInteractive--hover),
|
|
154
155
|
press: var(--c-stroke-accentInteractive--press)
|
|
156
|
+
),
|
|
157
|
+
strongInteractive: (
|
|
158
|
+
DEFAULT: var(--c-stroke-strongInteractive),
|
|
159
|
+
hover: var(--c-stroke-strongInteractive--hover),
|
|
160
|
+
press: var(--c-stroke-strongInteractive--press)
|
|
155
161
|
)
|
|
156
162
|
),
|
|
157
163
|
buttonIcon: (
|
|
164
|
+
selected: var(--c-buttonIcon-selected),
|
|
158
165
|
primary: var(--c-buttonIcon-primary),
|
|
159
166
|
secondary: var(--c-buttonIcon-secondary),
|
|
160
167
|
tertiary: var(--c-buttonIcon-tertiary),
|
|
@@ -190,6 +197,7 @@ $theme-colors-map: (
|
|
|
190
197
|
)
|
|
191
198
|
),
|
|
192
199
|
buttonLabel: (
|
|
200
|
+
selected: var(--c-buttonLabel-selected),
|
|
193
201
|
primary: var(--c-buttonLabel-primary),
|
|
194
202
|
secondary: var(--c-buttonLabel-secondary),
|
|
195
203
|
tertiary: var(--c-buttonLabel-tertiary),
|
|
@@ -225,6 +233,7 @@ $theme-colors-map: (
|
|
|
225
233
|
)
|
|
226
234
|
),
|
|
227
235
|
buttonBackground: (
|
|
236
|
+
selected: var(--c-buttonBackground-selected),
|
|
228
237
|
primary: var(--c-buttonBackground-primary),
|
|
229
238
|
secondary: var(--c-buttonBackground-secondary),
|
|
230
239
|
tertiary: var(--c-buttonBackground-tertiary),
|
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
--c-icon-connectAlt: var(--c-turquoise-900);
|
|
80
80
|
--c-icon-driver: var(--c-navy-700);
|
|
81
81
|
--c-icon-owner: var(--c-white);
|
|
82
|
+
--c-icon-inversed: var(--c-white);
|
|
82
83
|
--c-icon-disabled: var(--c-navy-100);
|
|
83
84
|
--c-icon-disabledAlt: var(--c-navy-300);
|
|
84
85
|
--c-icon-warning: var(--c-orange-500);
|
|
@@ -116,6 +117,10 @@
|
|
|
116
117
|
--c-stroke-accentInteractive: var(--c-purple-500);
|
|
117
118
|
--c-stroke-accentInteractive--hover: var(--c-purple-700);
|
|
118
119
|
--c-stroke-accentInteractive--press: var(--c-purple-900);
|
|
120
|
+
--c-stroke-strongInteractive: var(--c-navy-300);
|
|
121
|
+
--c-stroke-strongInteractive--hover: var(--c-navy-500);
|
|
122
|
+
--c-stroke-strongInteractive--press: var(--c-navy-700);
|
|
123
|
+
--c-buttonIcon-selected: var(--c-purple-500);
|
|
119
124
|
--c-buttonIcon-primary: var(--c-white);
|
|
120
125
|
--c-buttonIcon-secondary: var(--c-purple-500);
|
|
121
126
|
--c-buttonIcon-tertiary: var(--c-purple-500);
|
|
@@ -139,6 +144,7 @@
|
|
|
139
144
|
--c-buttonIcon-successAltInteractive: var(--c-green-900);
|
|
140
145
|
--c-buttonIcon-successAltInteractive--hover: var(--c-green-900);
|
|
141
146
|
--c-buttonIcon-successAltInteractive--press: var(--c-green-900);
|
|
147
|
+
--c-buttonLabel-selected: var(--c-purple-500);
|
|
142
148
|
--c-buttonLabel-primary: var(--c-white);
|
|
143
149
|
--c-buttonLabel-secondary: var(--c-purple-500);
|
|
144
150
|
--c-buttonLabel-tertiary: var(--c-purple-500);
|
|
@@ -162,6 +168,7 @@
|
|
|
162
168
|
--c-buttonLabel-successAltInteractive: var(--c-green-900);
|
|
163
169
|
--c-buttonLabel-successAltInteractive--hover: var(--c-green-900);
|
|
164
170
|
--c-buttonLabel-successAltInteractive--press: var(--c-green-900);
|
|
171
|
+
--c-buttonBackground-selected: var(--c-purple-100);
|
|
165
172
|
--c-buttonBackground-primary: var(--c-purple-500);
|
|
166
173
|
--c-buttonBackground-secondary: var(--c-white);
|
|
167
174
|
--c-buttonBackground-tertiary: var(--c-white);
|
package/styles/core/palette.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/*** DO NOT MODIFY IT DIRECTLY ****/
|
|
4
4
|
/**********************************/
|
|
5
5
|
:root {
|
|
6
|
-
--c-white: #
|
|
6
|
+
--c-white: #fff;
|
|
7
7
|
--c-purple-100: #f6e5f5;
|
|
8
8
|
--c-purple-300: #ca6bc3;
|
|
9
9
|
--c-purple-400: #c04fb8;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
--c-black-100: #363036;
|
|
58
58
|
--c-black-300: #282127;
|
|
59
59
|
--c-black-500: #191218;
|
|
60
|
-
--c-black-1000: #
|
|
60
|
+
--c-black-1000: #000;
|
|
61
61
|
--c-grey-50: #f8f9fa;
|
|
62
62
|
--c-grey-100: #e3e2e3;
|
|
63
63
|
--c-grey-300: #a9a6a9;
|
|
@@ -80,6 +80,6 @@
|
|
|
80
80
|
--c-season-400: #54a949;
|
|
81
81
|
--c-season-700: #0b7011;
|
|
82
82
|
--c-season-800: #005100;
|
|
83
|
-
--c-season-900: #
|
|
83
|
+
--c-season-900: #030;
|
|
84
84
|
--c-season-1000: #001900;
|
|
85
85
|
}
|
package/styles/core/theme.scss
CHANGED
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
--c-icon-connectAlt: var(--c-turquoise-900);
|
|
80
80
|
--c-icon-driver: var(--c-navy-700);
|
|
81
81
|
--c-icon-owner: var(--c-white);
|
|
82
|
+
--c-icon-inversed: var(--c-white);
|
|
82
83
|
--c-icon-disabled: var(--c-navy-100);
|
|
83
84
|
--c-icon-disabledAlt: var(--c-navy-300);
|
|
84
85
|
--c-icon-warning: var(--c-orange-500);
|
|
@@ -116,6 +117,10 @@
|
|
|
116
117
|
--c-stroke-accentInteractive: var(--c-purple-500);
|
|
117
118
|
--c-stroke-accentInteractive--hover: var(--c-purple-700);
|
|
118
119
|
--c-stroke-accentInteractive--press: var(--c-purple-900);
|
|
120
|
+
--c-stroke-strongInteractive: var(--c-navy-300);
|
|
121
|
+
--c-stroke-strongInteractive--hover: var(--c-navy-500);
|
|
122
|
+
--c-stroke-strongInteractive--press: var(--c-navy-700);
|
|
123
|
+
--c-buttonIcon-selected: var(--c-purple-500);
|
|
119
124
|
--c-buttonIcon-primary: var(--c-white);
|
|
120
125
|
--c-buttonIcon-secondary: var(--c-purple-500);
|
|
121
126
|
--c-buttonIcon-tertiary: var(--c-purple-500);
|
|
@@ -139,6 +144,7 @@
|
|
|
139
144
|
--c-buttonIcon-successAltInteractive: var(--c-green-900);
|
|
140
145
|
--c-buttonIcon-successAltInteractive--hover: var(--c-green-900);
|
|
141
146
|
--c-buttonIcon-successAltInteractive--press: var(--c-green-900);
|
|
147
|
+
--c-buttonLabel-selected: var(--c-purple-500);
|
|
142
148
|
--c-buttonLabel-primary: var(--c-white);
|
|
143
149
|
--c-buttonLabel-secondary: var(--c-purple-500);
|
|
144
150
|
--c-buttonLabel-tertiary: var(--c-purple-500);
|
|
@@ -162,6 +168,7 @@
|
|
|
162
168
|
--c-buttonLabel-successAltInteractive: var(--c-green-900);
|
|
163
169
|
--c-buttonLabel-successAltInteractive--hover: var(--c-green-900);
|
|
164
170
|
--c-buttonLabel-successAltInteractive--press: var(--c-green-900);
|
|
171
|
+
--c-buttonBackground-selected: var(--c-purple-100);
|
|
165
172
|
--c-buttonBackground-primary: var(--c-purple-500);
|
|
166
173
|
--c-buttonBackground-secondary: var(--c-white);
|
|
167
174
|
--c-buttonBackground-tertiary: var(--c-white);
|
|
@@ -281,6 +288,7 @@
|
|
|
281
288
|
--c-icon-connectAlt: var(--c-turquoise-50);
|
|
282
289
|
--c-icon-driver: var(--c-navy-700);
|
|
283
290
|
--c-icon-owner: var(--c-white);
|
|
291
|
+
--c-icon-inversed: var(--c-white);
|
|
284
292
|
--c-icon-disabled: var(--c-black-50);
|
|
285
293
|
--c-icon-disabledAlt: var(--c-grey-500);
|
|
286
294
|
--c-icon-warning: var(--c-orange-300);
|
|
@@ -318,6 +326,10 @@
|
|
|
318
326
|
--c-stroke-accentInteractive: var(--c-purpleDeep-500);
|
|
319
327
|
--c-stroke-accentInteractive--hover: var(--c-purpleDeep-400);
|
|
320
328
|
--c-stroke-accentInteractive--press: var(--c-purpleDeep-400);
|
|
329
|
+
--c-stroke-strongInteractive: var(--c-navy-200);
|
|
330
|
+
--c-stroke-strongInteractive--hover: var(--c-purpleDeep-400);
|
|
331
|
+
--c-stroke-strongInteractive--press: var(--c-purpleDeep-400);
|
|
332
|
+
--c-buttonIcon-selected: var(--c-grey-100);
|
|
321
333
|
--c-buttonIcon-primary: var(--c-grey-100);
|
|
322
334
|
--c-buttonIcon-secondary: var(--c-purpleDeep-400);
|
|
323
335
|
--c-buttonIcon-tertiary: var(--c-white);
|
|
@@ -341,6 +353,7 @@
|
|
|
341
353
|
--c-buttonIcon-successAltInteractive: var(--c-green-100);
|
|
342
354
|
--c-buttonIcon-successAltInteractive--hover: var(--c-green-100);
|
|
343
355
|
--c-buttonIcon-successAltInteractive--press: var(--c-green-100);
|
|
356
|
+
--c-buttonLabel-selected: var(--c-grey-100);
|
|
344
357
|
--c-buttonLabel-primary: var(--c-grey-100);
|
|
345
358
|
--c-buttonLabel-secondary: var(--c-purpleDeep-400);
|
|
346
359
|
--c-buttonLabel-tertiary: var(--c-white);
|
|
@@ -364,6 +377,7 @@
|
|
|
364
377
|
--c-buttonLabel-successAltInteractive: var(--c-green-100);
|
|
365
378
|
--c-buttonLabel-successAltInteractive--hover: var(--c-green-100);
|
|
366
379
|
--c-buttonLabel-successAltInteractive--press: var(--c-green-100);
|
|
380
|
+
--c-buttonBackground-selected: var(--c-purpleDeep-900);
|
|
367
381
|
--c-buttonBackground-primary: var(--c-purpleDeep-500);
|
|
368
382
|
--c-buttonBackground-secondary: var(--c-black-500);
|
|
369
383
|
--c-buttonBackground-tertiary: var(--c-white);
|
package/tokens/palette.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const white = "#
|
|
1
|
+
const white = "#FFF";
|
|
2
2
|
const purple = {
|
|
3
3
|
"100": "#F6E5F5",
|
|
4
4
|
"300": "#CA6BC3",
|
|
@@ -69,7 +69,7 @@ const black = {
|
|
|
69
69
|
"100": "#363036",
|
|
70
70
|
"300": "#282127",
|
|
71
71
|
"500": "#191218",
|
|
72
|
-
"1000": "#
|
|
72
|
+
"1000": "#000"
|
|
73
73
|
};
|
|
74
74
|
const grey = {
|
|
75
75
|
"50": "#F8F9FA",
|
|
@@ -100,7 +100,7 @@ const season = {
|
|
|
100
100
|
"400": "#54A949",
|
|
101
101
|
"700": "#0B7011",
|
|
102
102
|
"800": "#005100",
|
|
103
|
-
"900": "#
|
|
103
|
+
"900": "#030",
|
|
104
104
|
"1000": "#001900"
|
|
105
105
|
};
|
|
106
106
|
var _palette = {
|
package/tokens/theme.js
CHANGED
|
@@ -97,6 +97,7 @@ const icon = {
|
|
|
97
97
|
connectAlt: "turquoise.900/turquoise.50",
|
|
98
98
|
driver: "navy.700/navy.700",
|
|
99
99
|
owner: "white/white",
|
|
100
|
+
inversed: "white/white",
|
|
100
101
|
disabled: "navy.100/black.50",
|
|
101
102
|
disabledAlt: "navy.300/grey.500",
|
|
102
103
|
warning: "orange.500/orange.300",
|
|
@@ -147,9 +148,15 @@ const stroke = {
|
|
|
147
148
|
DEFAULT: "purple.500/purpleDeep.500",
|
|
148
149
|
hover: "purple.700/purpleDeep.400",
|
|
149
150
|
press: "purple.900/purpleDeep.400"
|
|
151
|
+
},
|
|
152
|
+
strongInteractive: {
|
|
153
|
+
DEFAULT: "navy.300/navy.200",
|
|
154
|
+
hover: "navy.500/purpleDeep.400",
|
|
155
|
+
press: "navy.700/purpleDeep.400"
|
|
150
156
|
}
|
|
151
157
|
};
|
|
152
158
|
const buttonIcon = {
|
|
159
|
+
selected: "purple.500/grey.100",
|
|
153
160
|
primary: "white/grey.100",
|
|
154
161
|
secondary: "purple.500/purpleDeep.400",
|
|
155
162
|
tertiary: "purple.500/white",
|
|
@@ -185,6 +192,7 @@ const buttonIcon = {
|
|
|
185
192
|
}
|
|
186
193
|
};
|
|
187
194
|
const buttonLabel = {
|
|
195
|
+
selected: "purple.500/grey.100",
|
|
188
196
|
primary: "white/grey.100",
|
|
189
197
|
secondary: "purple.500/purpleDeep.400",
|
|
190
198
|
tertiary: "purple.500/white",
|
|
@@ -220,6 +228,7 @@ const buttonLabel = {
|
|
|
220
228
|
}
|
|
221
229
|
};
|
|
222
230
|
const buttonBackground = {
|
|
231
|
+
selected: "purple.100/purpleDeep.900",
|
|
223
232
|
primary: "purple.500/purpleDeep.500",
|
|
224
233
|
secondary: "white/black.500",
|
|
225
234
|
tertiary: "white/white",
|
package/tokens/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,7 @@ interface IconsMap {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const BUNDLED_ICONS: IconsMap;
|
|
7
7
|
export type IconSources = keyof typeof iconTokens.icons;
|
|
8
|
-
export declare const iconColors: ("amber" | "blue" | "coral" | "graphite" | "graphiteLight" | "green" | "greenDark" | "greenLight" | "grey" | "greyDark" | "greyLight" | "greyLighter" | "indigo" | "indigoDark" | "purple" | "purpleLight" | "red" | "turquoise" | "white" | "base" | "subdued" | "accent" | "accentAlt" | "info" | "error" | "errorAlt" | "success" | "successAlt" | "connect" | "connectAlt" | "driver" | "owner" | "disabled" | "disabledAlt" | "warning" | "infoAlt" | "onAccent" | "rideshare" | "onRideshare" | "onSuccess" | "onError" | "baseInteractive" | "subduedInteractive" | "accentInteractive" | "accentAltInteractive")[];
|
|
8
|
+
export declare const iconColors: ("amber" | "blue" | "coral" | "graphite" | "graphiteLight" | "green" | "greenDark" | "greenLight" | "grey" | "greyDark" | "greyLight" | "greyLighter" | "indigo" | "indigoDark" | "purple" | "purpleLight" | "red" | "turquoise" | "white" | "base" | "subdued" | "accent" | "accentAlt" | "info" | "error" | "errorAlt" | "success" | "successAlt" | "connect" | "connectAlt" | "driver" | "owner" | "inversed" | "disabled" | "disabledAlt" | "warning" | "infoAlt" | "onAccent" | "rideshare" | "onRideshare" | "onSuccess" | "onError" | "baseInteractive" | "subduedInteractive" | "accentInteractive" | "accentAltInteractive")[];
|
|
9
9
|
export type IconColorsType = (typeof iconColors)[number];
|
|
10
10
|
export interface IconProps {
|
|
11
11
|
source: IconSources;
|
|
@@ -573,6 +573,7 @@ export declare const theme: {
|
|
|
573
573
|
connectAlt: string;
|
|
574
574
|
driver: string;
|
|
575
575
|
owner: string;
|
|
576
|
+
inversed: string;
|
|
576
577
|
disabled: string;
|
|
577
578
|
disabledAlt: string;
|
|
578
579
|
warning: string;
|
|
@@ -624,8 +625,14 @@ export declare const theme: {
|
|
|
624
625
|
hover: string;
|
|
625
626
|
press: string;
|
|
626
627
|
};
|
|
628
|
+
strongInteractive: {
|
|
629
|
+
DEFAULT: string;
|
|
630
|
+
hover: string;
|
|
631
|
+
press: string;
|
|
632
|
+
};
|
|
627
633
|
};
|
|
628
634
|
buttonIcon: {
|
|
635
|
+
selected: string;
|
|
629
636
|
primary: string;
|
|
630
637
|
secondary: string;
|
|
631
638
|
tertiary: string;
|
|
@@ -661,6 +668,7 @@ export declare const theme: {
|
|
|
661
668
|
};
|
|
662
669
|
};
|
|
663
670
|
buttonLabel: {
|
|
671
|
+
selected: string;
|
|
664
672
|
primary: string;
|
|
665
673
|
secondary: string;
|
|
666
674
|
tertiary: string;
|
|
@@ -696,6 +704,7 @@ export declare const theme: {
|
|
|
696
704
|
};
|
|
697
705
|
};
|
|
698
706
|
buttonBackground: {
|
|
707
|
+
selected: string;
|
|
699
708
|
primary: string;
|
|
700
709
|
secondary: string;
|
|
701
710
|
tertiary: string;
|
package/utilities.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/**********************************/
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
--c-white: #
|
|
10
|
+
--c-white: #fff;
|
|
11
11
|
--c-purple-100: #f6e5f5;
|
|
12
12
|
--c-purple-300: #ca6bc3;
|
|
13
13
|
--c-purple-400: #c04fb8;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
--c-black-100: #363036;
|
|
62
62
|
--c-black-300: #282127;
|
|
63
63
|
--c-black-500: #191218;
|
|
64
|
-
--c-black-1000: #
|
|
64
|
+
--c-black-1000: #000;
|
|
65
65
|
--c-grey-50: #f8f9fa;
|
|
66
66
|
--c-grey-100: #e3e2e3;
|
|
67
67
|
--c-grey-300: #a9a6a9;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
--c-season-400: #54a949;
|
|
85
85
|
--c-season-700: #0b7011;
|
|
86
86
|
--c-season-800: #005100;
|
|
87
|
-
--c-season-900: #
|
|
87
|
+
--c-season-900: #030;
|
|
88
88
|
--c-season-1000: #001900;
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -173,6 +173,7 @@
|
|
|
173
173
|
--c-icon-connectAlt: var(--c-turquoise-900);
|
|
174
174
|
--c-icon-driver: var(--c-navy-700);
|
|
175
175
|
--c-icon-owner: var(--c-white);
|
|
176
|
+
--c-icon-inversed: var(--c-white);
|
|
176
177
|
--c-icon-disabled: var(--c-navy-100);
|
|
177
178
|
--c-icon-disabledAlt: var(--c-navy-300);
|
|
178
179
|
--c-icon-warning: var(--c-orange-500);
|
|
@@ -210,6 +211,10 @@
|
|
|
210
211
|
--c-stroke-accentInteractive: var(--c-purple-500);
|
|
211
212
|
--c-stroke-accentInteractive--hover: var(--c-purple-700);
|
|
212
213
|
--c-stroke-accentInteractive--press: var(--c-purple-900);
|
|
214
|
+
--c-stroke-strongInteractive: var(--c-navy-300);
|
|
215
|
+
--c-stroke-strongInteractive--hover: var(--c-navy-500);
|
|
216
|
+
--c-stroke-strongInteractive--press: var(--c-navy-700);
|
|
217
|
+
--c-buttonIcon-selected: var(--c-purple-500);
|
|
213
218
|
--c-buttonIcon-primary: var(--c-white);
|
|
214
219
|
--c-buttonIcon-secondary: var(--c-purple-500);
|
|
215
220
|
--c-buttonIcon-tertiary: var(--c-purple-500);
|
|
@@ -233,6 +238,7 @@
|
|
|
233
238
|
--c-buttonIcon-successAltInteractive: var(--c-green-900);
|
|
234
239
|
--c-buttonIcon-successAltInteractive--hover: var(--c-green-900);
|
|
235
240
|
--c-buttonIcon-successAltInteractive--press: var(--c-green-900);
|
|
241
|
+
--c-buttonLabel-selected: var(--c-purple-500);
|
|
236
242
|
--c-buttonLabel-primary: var(--c-white);
|
|
237
243
|
--c-buttonLabel-secondary: var(--c-purple-500);
|
|
238
244
|
--c-buttonLabel-tertiary: var(--c-purple-500);
|
|
@@ -256,6 +262,7 @@
|
|
|
256
262
|
--c-buttonLabel-successAltInteractive: var(--c-green-900);
|
|
257
263
|
--c-buttonLabel-successAltInteractive--hover: var(--c-green-900);
|
|
258
264
|
--c-buttonLabel-successAltInteractive--press: var(--c-green-900);
|
|
265
|
+
--c-buttonBackground-selected: var(--c-purple-100);
|
|
259
266
|
--c-buttonBackground-primary: var(--c-purple-500);
|
|
260
267
|
--c-buttonBackground-secondary: var(--c-white);
|
|
261
268
|
--c-buttonBackground-tertiary: var(--c-white);
|
|
@@ -5254,6 +5261,22 @@
|
|
|
5254
5261
|
border-color: var(--c-stroke-accentInteractive--press);
|
|
5255
5262
|
}
|
|
5256
5263
|
|
|
5264
|
+
.c-border-strongInteractive {
|
|
5265
|
+
border-color: var(--c-stroke-strongInteractive);
|
|
5266
|
+
}
|
|
5267
|
+
|
|
5268
|
+
.c-border-strongInteractive:hover {
|
|
5269
|
+
border-color: var(--c-stroke-strongInteractive--hover);
|
|
5270
|
+
}
|
|
5271
|
+
|
|
5272
|
+
.c-border-strongInteractive:focus {
|
|
5273
|
+
border-color: var(--c-stroke-strongInteractive--hover);
|
|
5274
|
+
}
|
|
5275
|
+
|
|
5276
|
+
.c-border-strongInteractive:active {
|
|
5277
|
+
border-color: var(--c-stroke-strongInteractive--press);
|
|
5278
|
+
}
|
|
5279
|
+
|
|
5257
5280
|
.c-bg-primary {
|
|
5258
5281
|
background-color: var(--c-background-primary);
|
|
5259
5282
|
}
|