@autofleet/theme 0.3.14 → 0.3.16
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/dist/fonts.module.css +48 -1
- package/dist/fonts.module.css.map +1 -0
- package/dist/index.d.ts +345 -77
- package/dist/index.js +7 -1401
- package/dist/index.js.map +1 -1
- package/dist/main.css +1694 -1
- package/dist/main.css.map +1 -0
- package/package.json +4 -2
- package/dist/colors/atomic-colors.d.ts +0 -132
- package/dist/colors/index.d.ts +0 -12
- package/dist/colors/tokens/color-token-mapping.d.ts +0 -8
- package/dist/colors/tokens/color-tokens.d.ts +0 -17
- package/dist/colors-utils.d.ts +0 -57
- package/dist/const.d.ts +0 -4
- package/dist/fonts/atomic-fonts.d.ts +0 -13
- package/dist/fonts/index.d.ts +0 -20
- package/dist/shadow/index.d.ts +0 -19
- package/dist/spacing/border-radius.d.ts +0 -9
- package/dist/spacing/index.d.ts +0 -29
- package/dist/spacing/spacing.d.ts +0 -15
package/dist/index.js
CHANGED
|
@@ -1,1401 +1,7 @@
|
|
|
1
|
-
const $ = (a) => {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
100
|
|
7
|
-
|
|
8
|
-
}, C = (a, r, t) => {
|
|
9
|
-
const e = r / 100, o = t / 100, p = (c) => (c + a / 30) % 12, l = e * Math.min(o, 1 - o), h = (c) => o - l * Math.max(
|
|
10
|
-
-1,
|
|
11
|
-
Math.min(p(c) - 3, Math.min(9 - p(c), 1))
|
|
12
|
-
), n = 255 * h(0), v = 255 * h(8), O = 255 * h(4);
|
|
13
|
-
return [n, v, O];
|
|
14
|
-
}, L = (a) => {
|
|
15
|
-
const r = $(a), t = r[2] + r[2] * -24 / 100, [e, o, p] = C(r[0], r[1], t);
|
|
16
|
-
return `${e}, ${o}, ${p}`;
|
|
17
|
-
}, T = {
|
|
18
|
-
info: {
|
|
19
|
-
light: "rgba(231, 246, 255, 1)",
|
|
20
|
-
dark: "rgba(30, 55, 75, 1)"
|
|
21
|
-
},
|
|
22
|
-
error: {
|
|
23
|
-
light: "rgba(254, 235, 236, 1)",
|
|
24
|
-
dark: "rgba(67, 37, 45, 1)"
|
|
25
|
-
},
|
|
26
|
-
success: {
|
|
27
|
-
light: "rgba(233, 248, 239, 1)",
|
|
28
|
-
dark: "rgba(34, 58, 50, 1)"
|
|
29
|
-
},
|
|
30
|
-
warning: {
|
|
31
|
-
light: "rgba(254, 246, 231, 1)",
|
|
32
|
-
dark: "rgba(68, 55, 37, 1)"
|
|
33
|
-
},
|
|
34
|
-
primary: {
|
|
35
|
-
light: "rgba(231, 246, 255, 1)",
|
|
36
|
-
dark: "rgba(30, 55, 75, 1)"
|
|
37
|
-
}
|
|
38
|
-
}, S = (a, r, t) => ({
|
|
39
|
-
[`${a}Color`]: `rgba(${r}, 1)`,
|
|
40
|
-
[`${a}ColorHover`]: `rgba(${L(r)}, 1)`,
|
|
41
|
-
[`${a}ColorOpacityWeak`]: `rgba(${r}, 0.32)`,
|
|
42
|
-
[`${a}ColorOpacityStrong`]: `rgba(${r}, ${t === "light" ? 0.1 : 0.16})`,
|
|
43
|
-
[`${a}HoverComponentBgColor`]: T[a][t]
|
|
44
|
-
}), N = [
|
|
45
|
-
["info", "17, 164, 255"],
|
|
46
|
-
["error", "248, 55, 67"],
|
|
47
|
-
["success", "37, 184, 97"],
|
|
48
|
-
["warning", "250, 166, 19"]
|
|
49
|
-
], y = (a) => {
|
|
50
|
-
const [r, t, e] = a.split(",").map((l) => parseInt(l, 10));
|
|
51
|
-
return (0.2126 * r + 0.7152 * t + 0.0722 * e) / 255 > 0.6 ? "#000000" : "#FFFFFF";
|
|
52
|
-
}, E = {
|
|
53
|
-
primaryTextColor: (a) => a ? "rgba(244, 245, 248, 1)" : "rgba(33, 34, 41, 1)",
|
|
54
|
-
secondaryTextColor: (a) => a ? "rgba(173, 174, 186, 1)" : "rgba(102, 105, 117, 1)",
|
|
55
|
-
disabledTextColor: (a) => a ? "rgba(102, 105, 117, 1)" : "rgba(173, 174, 186, 1)",
|
|
56
|
-
placeholderTextColor: (a) => a ? "rgba(102, 105, 117, 1)" : "rgba(173, 174, 186, 1)",
|
|
57
|
-
primaryBackgroundColor: (a) => a ? "rgba(33, 34, 41, 1)" : "rgba(255, 255, 255, 1)",
|
|
58
|
-
secondaryBackgroundColor: (a) => a ? "rgba(43, 45, 51, 1)" : "rgba(244, 245, 248, 1)",
|
|
59
|
-
dividerColor: (a) => a ? "rgba(125, 139, 172, 0.32)" : "rgba(125, 139, 172, 0.24)",
|
|
60
|
-
secondaryButtonsHoverColor: (a) => a ? "rgba(124, 134, 163, 0.16)" : "rgba(124, 134, 163, 0.1)"
|
|
61
|
-
}, M = (a) => Object.fromEntries(
|
|
62
|
-
Object.entries(E).map(
|
|
63
|
-
([r, t]) => [r, t(a === "dark")]
|
|
64
|
-
)
|
|
65
|
-
), j = (a, r) => ({
|
|
66
|
-
...[
|
|
67
|
-
...N,
|
|
68
|
-
["primary", a]
|
|
69
|
-
].map(([e, o]) => S(e, o, r)).reduce((e, o) => ({ ...e, ...o }), {}),
|
|
70
|
-
primaryBackgroundText: y(a),
|
|
71
|
-
primaryBackgroundHoverText: y(
|
|
72
|
-
L(a)
|
|
73
|
-
),
|
|
74
|
-
...M(r)
|
|
75
|
-
}), H = {
|
|
76
|
-
// neutral colors
|
|
77
|
-
"n-00": "rgba(255, 255, 255, 1)",
|
|
78
|
-
"n-01": "rgba(244, 245, 248, 1)",
|
|
79
|
-
"n-02": "rgba(173, 174, 186, 1)",
|
|
80
|
-
"n-03": "rgba(102, 105, 117, 1)",
|
|
81
|
-
"n-04": "rgba(52, 55, 64, 1)",
|
|
82
|
-
"n-05": "rgba(33, 34, 41, 1)",
|
|
83
|
-
"n-opa-10": "rgba(124, 134, 163, 0.1)",
|
|
84
|
-
"n-opa-16": "rgba(124, 134, 163, 0.16)",
|
|
85
|
-
"n-opa-24": "rgba(124, 134, 163, 0.24)",
|
|
86
|
-
"n-opa-32": "rgba(125, 139, 172, 0.32)",
|
|
87
|
-
"n-00-opa-32": "rgba(255, 255, 255, 0.32)",
|
|
88
|
-
// brand colors
|
|
89
|
-
brand: "rgba(17, 164, 255, 1)",
|
|
90
|
-
"brand-hover": "rgba(0, 132, 214, 1)",
|
|
91
|
-
"brand-opa-10": "rgba(17, 164, 255, 0.1)",
|
|
92
|
-
"brand-opa-16": "rgba(17, 164, 255, 0.16)",
|
|
93
|
-
"brand-opa-24": "rgba(17, 164, 255, 0.24)",
|
|
94
|
-
"brand-opa-32": "rgba(17, 164, 255, 0.32)",
|
|
95
|
-
// blue colors
|
|
96
|
-
"b-01": "rgba(231, 246, 255, 1)",
|
|
97
|
-
"b-02": "rgba(17, 164, 255, 1)",
|
|
98
|
-
"b-03": "rgba(0, 132, 214, 1)",
|
|
99
|
-
"b-04": "rgba(30, 55, 75, 1)",
|
|
100
|
-
"b-05": "rgba(66, 183, 255, 1)",
|
|
101
|
-
"b-06": "rgba(0, 75, 122, 1)",
|
|
102
|
-
"b-07": "rgba(158, 218, 255, 1)",
|
|
103
|
-
"b-opa-10": "rgba(17, 164, 255, 0.1)",
|
|
104
|
-
"b-opa-16": "rgba(17, 164, 255, 0.16)",
|
|
105
|
-
"b-opa-24": "rgba(17, 164, 255, 0.24)",
|
|
106
|
-
"b-opa-32": "rgba(17, 164, 255, 0.32)",
|
|
107
|
-
// green colors
|
|
108
|
-
"g-01": "rgba(233, 248, 239, 1)",
|
|
109
|
-
"g-02": "rgba(37, 184, 97, 1)",
|
|
110
|
-
"g-03": "rgba(28, 140, 74, 1)",
|
|
111
|
-
"g-04": "rgba(34, 58, 50, 1)",
|
|
112
|
-
"g-05": "rgba(55, 215, 120, 1)",
|
|
113
|
-
"g-06": "rgba(17, 85, 44, 1)",
|
|
114
|
-
"g-07": "rgba(136, 231, 174, 1)",
|
|
115
|
-
"g-opa-10": "rgba(37, 184, 97, 0.1)",
|
|
116
|
-
"g-opa-16": "rgba(37, 184, 97, 0.16)",
|
|
117
|
-
"g-opa-24": "rgba(37, 184, 97, 0.24)",
|
|
118
|
-
"g-opa-32": "rgba(37, 184, 97, 0.32)",
|
|
119
|
-
// yellow colors
|
|
120
|
-
"y-01": "rgba(254, 246, 231, 1)",
|
|
121
|
-
"y-02": "rgba(244, 156, 0, 1)",
|
|
122
|
-
"y-03": "rgba(214, 138, 5, 1)",
|
|
123
|
-
"y-04": "rgba(68, 55, 37, 1)",
|
|
124
|
-
"y-05": "rgba(251, 185, 70, 1)",
|
|
125
|
-
"y-06": "rgba(107, 68, 0, 1)",
|
|
126
|
-
"y-07": "rgba(255, 210, 133, 1)",
|
|
127
|
-
"y-opa-10": "rgba(244, 156, 0, 0.1)",
|
|
128
|
-
"y-opa-16": "rgba(244, 156, 0, 0.16)",
|
|
129
|
-
"y-opa-24": "rgba(244, 156, 0, 0.24)",
|
|
130
|
-
"y-opa-32": "rgba(244, 156, 0, 0.32)",
|
|
131
|
-
// red colors
|
|
132
|
-
"r-01": "rgba(254, 235, 236, 1)",
|
|
133
|
-
"r-02": "rgba(248, 55, 67, 1)",
|
|
134
|
-
"r-03": "rgba(197, 7, 19, 1)",
|
|
135
|
-
"r-04": "rgba(67, 37, 45, 1)",
|
|
136
|
-
"r-05": "rgba(249, 103, 112, 1)",
|
|
137
|
-
"r-06": "rgba(137, 6, 14, 1)",
|
|
138
|
-
"r-07": "rgba(248, 180, 186, 1)",
|
|
139
|
-
"r-opa-10": "rgba(248, 55, 67, 0.1)",
|
|
140
|
-
"r-opa-16": "rgba(248, 55, 67, 0.16)",
|
|
141
|
-
"r-opa-24": "rgba(248, 55, 67, 0.24)",
|
|
142
|
-
"r-opa-32": "rgba(248, 55, 67, 0.32)",
|
|
143
|
-
// purple colors
|
|
144
|
-
"pu-02": "rgba(143, 101, 255, 1)",
|
|
145
|
-
"pu-06": "rgba(58, 0, 219, 1)",
|
|
146
|
-
"pu-07": "rgba(209, 194, 255, 1)",
|
|
147
|
-
"pu-opa-10": "rgba(143, 101, 255, 0.1)",
|
|
148
|
-
"pu-opa-16": "rgba(143, 101, 255, 0.16)",
|
|
149
|
-
"pu-opa-24": "rgba(143, 101, 255, 0.24)",
|
|
150
|
-
// orange colors
|
|
151
|
-
"or-02": "rgba(255, 116, 87, 1)",
|
|
152
|
-
"or-06": "rgba(143, 24, 0, 1)",
|
|
153
|
-
"or-07": "rgba(255, 198, 189, 1)",
|
|
154
|
-
"or-opa-10": "rgba(255, 117, 87, 0.1)",
|
|
155
|
-
"or-opa-16": "rgba(255, 117, 87, 0.16)",
|
|
156
|
-
"or-opa-24": "rgba(255, 117, 87, 0.24)",
|
|
157
|
-
// turquoise colors
|
|
158
|
-
"tu-02": "rgba(0, 198, 181, 1)",
|
|
159
|
-
"tu-06": "rgba(0, 82, 72, 1)",
|
|
160
|
-
"tu-07": "rgba(0, 245, 224, 1)",
|
|
161
|
-
"tu-opa-10": "rgba(0, 198, 181, 0.1)",
|
|
162
|
-
"tu-opa-16": "rgba(0, 198, 181, 0.16)",
|
|
163
|
-
"tu-opa-24": "rgba(0, 198, 181, 0.24)",
|
|
164
|
-
// pink colors
|
|
165
|
-
"pi-02": "rgba(255, 85, 138, 1)",
|
|
166
|
-
"pi-06": "rgba(143, 0, 45, 1)",
|
|
167
|
-
"pi-07": "rgba(255, 189, 210, 1)",
|
|
168
|
-
"pi-opa-10": "rgba(255, 85, 138, 0.1)",
|
|
169
|
-
"pi-opa-16": "rgba(255, 85, 138, 0.16)",
|
|
170
|
-
"pi-opa-24": "rgba(255, 85, 138, 0.24)",
|
|
171
|
-
// ultramarine colors
|
|
172
|
-
"ul-02": "rgba(84, 119, 255, 1)",
|
|
173
|
-
"ul-06": "rgba(0, 41, 204, 1)",
|
|
174
|
-
"ul-07": "rgba(184, 198, 255, 1)",
|
|
175
|
-
"ul-opa-10": "rgba(84, 119, 255, 0.1)",
|
|
176
|
-
"ul-opa-16": "rgba(84, 119, 255, 0.16)",
|
|
177
|
-
"ul-opa-24": "rgba(84, 119, 255, 0.24)",
|
|
178
|
-
// peach colors
|
|
179
|
-
"pe-02": "rgba(255, 147, 69, 1)",
|
|
180
|
-
"pe-06": "rgba(128, 53, 0, 1)",
|
|
181
|
-
"pe-07": "rgba(255, 209, 179, 1)",
|
|
182
|
-
"pe-opa-10": "rgba(255, 147, 69, 0.1)",
|
|
183
|
-
"pe-opa-16": "rgba(255, 147, 69, 0.16)",
|
|
184
|
-
"pe-opa-24": "rgba(255, 147, 69, 0.24)",
|
|
185
|
-
// apple colors
|
|
186
|
-
"ap-02": "rgba(127, 185, 81, 1)",
|
|
187
|
-
"ap-06": "rgba(54, 81, 31, 1)",
|
|
188
|
-
"ap-07": "rgba(198, 225, 173, 1)",
|
|
189
|
-
"ap-opa-10": "rgba(127, 185, 81, 0.1)",
|
|
190
|
-
"ap-opa-16": "rgba(127, 185, 81, 0.16)",
|
|
191
|
-
"ap-opa-24": "rgba(127, 185, 81, 0.24)",
|
|
192
|
-
// bubblegum colors
|
|
193
|
-
"bu-02": "rgba(238, 91, 197, 1)",
|
|
194
|
-
"bu-06": "rgba(135, 13, 100, 1)",
|
|
195
|
-
"bu-07": "rgba(249, 190, 234, 1)",
|
|
196
|
-
"bu-opa-10": "rgba(238, 91, 197, 0.1)",
|
|
197
|
-
"bu-opa-16": "rgba(238, 91, 197, 0.16)",
|
|
198
|
-
"bu-opa-24": "rgba(238, 91, 197, 0.24)",
|
|
199
|
-
// ocher colors
|
|
200
|
-
"oc-02": "rgba(251, 171, 0, 1)",
|
|
201
|
-
"oc-06": "rgba(102, 70, 0, 1)",
|
|
202
|
-
"oc-07": "rgba(255, 218, 138, 1)",
|
|
203
|
-
"oc-opa-10": "rgba(251, 171, 0, 0.1)",
|
|
204
|
-
"oc-opa-16": "rgba(251, 171, 0, 0.16)",
|
|
205
|
-
"oc-opa-24": "rgba(251, 171, 0, 0.24)",
|
|
206
|
-
// bluberry colors
|
|
207
|
-
"br-02": "rgba(101, 98, 255, 1)",
|
|
208
|
-
"br-06": "rgba(4, 0, 230, 1)",
|
|
209
|
-
"br-07": "rgba(95, 194, 255, 1)",
|
|
210
|
-
"br-opa-10": "rgba(101, 98, 255, 0.1)",
|
|
211
|
-
"br-opa-16": "rgba(101, 98, 255, 0.16)",
|
|
212
|
-
"br-opa-24": "rgba(101, 98, 255, 0.24)"
|
|
213
|
-
}, d = ({ red: a, green: r, blue: t }, e) => `rgba(${a}, ${r}, ${t}, ${e})`, R = (a) => ({
|
|
214
|
-
brand: d(a, 1),
|
|
215
|
-
"brand-hover": `rgba(${L(
|
|
216
|
-
`${a.red}, ${a.green}, ${a.blue}`
|
|
217
|
-
)}, 1)`,
|
|
218
|
-
"brand-opa-10": d(a, 0.1),
|
|
219
|
-
"brand-opa-16": d(a, 0.16),
|
|
220
|
-
"brand-opa-24": d(a, 0.24),
|
|
221
|
-
"brand-opa-32": d(a, 0.32)
|
|
222
|
-
}), f = {
|
|
223
|
-
"bg-primary": {
|
|
224
|
-
autofleet: {
|
|
225
|
-
light: "n-00",
|
|
226
|
-
dark: "n-05"
|
|
227
|
-
},
|
|
228
|
-
whiteLabel: {
|
|
229
|
-
light: "n-00",
|
|
230
|
-
dark: "n-05"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
"bg-secondary": {
|
|
234
|
-
autofleet: {
|
|
235
|
-
light: "n-01",
|
|
236
|
-
dark: "n-04"
|
|
237
|
-
},
|
|
238
|
-
whiteLabel: {
|
|
239
|
-
light: "n-01",
|
|
240
|
-
dark: "n-04"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"bg-info": {
|
|
244
|
-
autofleet: {
|
|
245
|
-
light: "b-01",
|
|
246
|
-
dark: "b-04"
|
|
247
|
-
},
|
|
248
|
-
whiteLabel: {
|
|
249
|
-
light: "b-01",
|
|
250
|
-
dark: "b-04"
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
"bg-success": {
|
|
254
|
-
autofleet: {
|
|
255
|
-
light: "g-01",
|
|
256
|
-
dark: "g-04"
|
|
257
|
-
},
|
|
258
|
-
whiteLabel: {
|
|
259
|
-
light: "g-01",
|
|
260
|
-
dark: "g-04"
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
"bg-warning": {
|
|
264
|
-
autofleet: {
|
|
265
|
-
light: "y-01",
|
|
266
|
-
dark: "y-04"
|
|
267
|
-
},
|
|
268
|
-
whiteLabel: {
|
|
269
|
-
light: "y-01",
|
|
270
|
-
dark: "y-04"
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
"bg-error": {
|
|
274
|
-
autofleet: {
|
|
275
|
-
light: "r-01",
|
|
276
|
-
dark: "r-04"
|
|
277
|
-
},
|
|
278
|
-
whiteLabel: {
|
|
279
|
-
light: "r-01",
|
|
280
|
-
dark: "r-04"
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
"divider-neutral": {
|
|
284
|
-
autofleet: {
|
|
285
|
-
light: "n-opa-32",
|
|
286
|
-
dark: "n-opa-32"
|
|
287
|
-
},
|
|
288
|
-
whiteLabel: {
|
|
289
|
-
light: "n-opa-32",
|
|
290
|
-
dark: "n-opa-32"
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
"divider-invert": {
|
|
294
|
-
autofleet: {
|
|
295
|
-
light: "n-00-opa-32",
|
|
296
|
-
dark: "n-00-opa-32"
|
|
297
|
-
},
|
|
298
|
-
whiteLabel: {
|
|
299
|
-
light: "n-00-opa-32",
|
|
300
|
-
dark: "n-00-opa-32"
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
"divider-brand": {
|
|
304
|
-
autofleet: {
|
|
305
|
-
light: "brand-opa-32",
|
|
306
|
-
dark: "brand-opa-32"
|
|
307
|
-
},
|
|
308
|
-
whiteLabel: {
|
|
309
|
-
light: "brand-opa-32",
|
|
310
|
-
dark: "brand-opa-32"
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
"divider-info": {
|
|
314
|
-
autofleet: {
|
|
315
|
-
light: "b-opa-32",
|
|
316
|
-
dark: "b-opa-32"
|
|
317
|
-
},
|
|
318
|
-
whiteLabel: {
|
|
319
|
-
light: "b-opa-32",
|
|
320
|
-
dark: "b-opa-32"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"divider-success": {
|
|
324
|
-
autofleet: {
|
|
325
|
-
light: "g-opa-32",
|
|
326
|
-
dark: "g-opa-32"
|
|
327
|
-
},
|
|
328
|
-
whiteLabel: {
|
|
329
|
-
light: "g-opa-32",
|
|
330
|
-
dark: "g-opa-32"
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
"divider-warning": {
|
|
334
|
-
autofleet: {
|
|
335
|
-
light: "y-opa-32",
|
|
336
|
-
dark: "y-opa-32"
|
|
337
|
-
},
|
|
338
|
-
whiteLabel: {
|
|
339
|
-
light: "y-opa-32",
|
|
340
|
-
dark: "y-opa-32"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
"divider-error": {
|
|
344
|
-
autofleet: {
|
|
345
|
-
light: "r-opa-32",
|
|
346
|
-
dark: "r-opa-32"
|
|
347
|
-
},
|
|
348
|
-
whiteLabel: {
|
|
349
|
-
light: "r-opa-32",
|
|
350
|
-
dark: "r-opa-32"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"primary-btn": {
|
|
354
|
-
autofleet: {
|
|
355
|
-
light: "brand",
|
|
356
|
-
dark: "brand"
|
|
357
|
-
},
|
|
358
|
-
whiteLabel: {
|
|
359
|
-
light: "brand",
|
|
360
|
-
dark: "brand"
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"primary-btn-hover": {
|
|
364
|
-
autofleet: {
|
|
365
|
-
light: "brand-hover",
|
|
366
|
-
dark: "brand-hover"
|
|
367
|
-
},
|
|
368
|
-
whiteLabel: {
|
|
369
|
-
light: "brand-hover",
|
|
370
|
-
dark: "brand-hover"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
"primary-btn-opa-01": {
|
|
374
|
-
autofleet: {
|
|
375
|
-
light: "brand-opa-10",
|
|
376
|
-
dark: "brand-opa-16"
|
|
377
|
-
},
|
|
378
|
-
whiteLabel: {
|
|
379
|
-
light: "brand-opa-10",
|
|
380
|
-
dark: "brand-opa-16"
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
"primary-btn-opa-02": {
|
|
384
|
-
autofleet: {
|
|
385
|
-
light: "brand-opa-24",
|
|
386
|
-
dark: "brand-opa-24"
|
|
387
|
-
},
|
|
388
|
-
whiteLabel: {
|
|
389
|
-
light: "brand-opa-24",
|
|
390
|
-
dark: "brand-opa-24"
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
other: {
|
|
394
|
-
autofleet: {
|
|
395
|
-
light: "brand",
|
|
396
|
-
dark: "brand"
|
|
397
|
-
},
|
|
398
|
-
whiteLabel: {
|
|
399
|
-
light: "n-05",
|
|
400
|
-
dark: "n-00"
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
"other-hover": {
|
|
404
|
-
autofleet: {
|
|
405
|
-
light: "brand-hover",
|
|
406
|
-
dark: "brand-hover"
|
|
407
|
-
},
|
|
408
|
-
whiteLabel: {
|
|
409
|
-
light: "n-03",
|
|
410
|
-
dark: "n-02"
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
"other-opa-01": {
|
|
414
|
-
autofleet: {
|
|
415
|
-
light: "brand-opa-10",
|
|
416
|
-
dark: "brand-opa-16"
|
|
417
|
-
},
|
|
418
|
-
whiteLabel: {
|
|
419
|
-
light: "n-opa-10",
|
|
420
|
-
dark: "n-opa-16"
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
"other-opa-02": {
|
|
424
|
-
autofleet: {
|
|
425
|
-
light: "brand-opa-24",
|
|
426
|
-
dark: "brand-opa-24"
|
|
427
|
-
},
|
|
428
|
-
whiteLabel: {
|
|
429
|
-
light: "n-opa-24",
|
|
430
|
-
dark: "n-opa-24"
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
"other-text": {
|
|
434
|
-
autofleet: {
|
|
435
|
-
light: "b-06",
|
|
436
|
-
dark: "b-07"
|
|
437
|
-
},
|
|
438
|
-
whiteLabel: {
|
|
439
|
-
light: "n-05",
|
|
440
|
-
dark: "b-07"
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
"neutral-dark": {
|
|
444
|
-
autofleet: {
|
|
445
|
-
light: "n-05",
|
|
446
|
-
dark: "n-00"
|
|
447
|
-
},
|
|
448
|
-
whiteLabel: {
|
|
449
|
-
light: "n-05",
|
|
450
|
-
dark: "n-00"
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
"neutral-charcoal": {
|
|
454
|
-
autofleet: {
|
|
455
|
-
light: "n-03",
|
|
456
|
-
dark: "n-02"
|
|
457
|
-
},
|
|
458
|
-
whiteLabel: {
|
|
459
|
-
light: "n-03",
|
|
460
|
-
dark: "n-02"
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
"neutral-light": {
|
|
464
|
-
autofleet: {
|
|
465
|
-
light: "n-02",
|
|
466
|
-
dark: "n-03"
|
|
467
|
-
},
|
|
468
|
-
whiteLabel: {
|
|
469
|
-
light: "n-02",
|
|
470
|
-
dark: "n-03"
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
"neutral-invert": {
|
|
474
|
-
autofleet: {
|
|
475
|
-
light: "n-00",
|
|
476
|
-
dark: "n-05"
|
|
477
|
-
},
|
|
478
|
-
whiteLabel: {
|
|
479
|
-
light: "n-00",
|
|
480
|
-
dark: "n-05"
|
|
481
|
-
}
|
|
482
|
-
},
|
|
483
|
-
"neutral-opa-01": {
|
|
484
|
-
autofleet: {
|
|
485
|
-
light: "n-opa-10",
|
|
486
|
-
dark: "n-opa-16"
|
|
487
|
-
},
|
|
488
|
-
whiteLabel: {
|
|
489
|
-
light: "n-opa-10",
|
|
490
|
-
dark: "n-opa-16"
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
"neutral-opa-02": {
|
|
494
|
-
autofleet: {
|
|
495
|
-
light: "n-opa-24",
|
|
496
|
-
dark: "n-opa-24"
|
|
497
|
-
},
|
|
498
|
-
whiteLabel: {
|
|
499
|
-
light: "n-opa-24",
|
|
500
|
-
dark: "n-opa-24"
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
"info-hover": {
|
|
504
|
-
autofleet: {
|
|
505
|
-
light: "b-03",
|
|
506
|
-
dark: "b-05"
|
|
507
|
-
},
|
|
508
|
-
whiteLabel: {
|
|
509
|
-
light: "b-03",
|
|
510
|
-
dark: "b-05"
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
info: {
|
|
514
|
-
autofleet: {
|
|
515
|
-
light: "b-02",
|
|
516
|
-
dark: "b-02"
|
|
517
|
-
},
|
|
518
|
-
whiteLabel: {
|
|
519
|
-
light: "b-02",
|
|
520
|
-
dark: "b-02"
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
"info-opa-01": {
|
|
524
|
-
autofleet: {
|
|
525
|
-
light: "b-opa-10",
|
|
526
|
-
dark: "b-opa-16"
|
|
527
|
-
},
|
|
528
|
-
whiteLabel: {
|
|
529
|
-
light: "b-opa-10",
|
|
530
|
-
dark: "b-opa-16"
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
"info-opa-02": {
|
|
534
|
-
autofleet: {
|
|
535
|
-
light: "b-opa-24",
|
|
536
|
-
dark: "b-opa-24"
|
|
537
|
-
},
|
|
538
|
-
whiteLabel: {
|
|
539
|
-
light: "b-opa-24",
|
|
540
|
-
dark: "b-opa-24"
|
|
541
|
-
}
|
|
542
|
-
},
|
|
543
|
-
"info-text": {
|
|
544
|
-
autofleet: {
|
|
545
|
-
light: "b-06",
|
|
546
|
-
dark: "b-07"
|
|
547
|
-
},
|
|
548
|
-
whiteLabel: {
|
|
549
|
-
light: "b-06",
|
|
550
|
-
dark: "b-07"
|
|
551
|
-
}
|
|
552
|
-
},
|
|
553
|
-
"success-hover": {
|
|
554
|
-
autofleet: {
|
|
555
|
-
light: "g-03",
|
|
556
|
-
dark: "g-05"
|
|
557
|
-
},
|
|
558
|
-
whiteLabel: {
|
|
559
|
-
light: "g-03",
|
|
560
|
-
dark: "g-05"
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
success: {
|
|
564
|
-
autofleet: {
|
|
565
|
-
light: "g-02",
|
|
566
|
-
dark: "g-02"
|
|
567
|
-
},
|
|
568
|
-
whiteLabel: {
|
|
569
|
-
light: "g-02",
|
|
570
|
-
dark: "g-02"
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
"success-opa-01": {
|
|
574
|
-
autofleet: {
|
|
575
|
-
light: "g-opa-10",
|
|
576
|
-
dark: "g-opa-16"
|
|
577
|
-
},
|
|
578
|
-
whiteLabel: {
|
|
579
|
-
light: "g-opa-10",
|
|
580
|
-
dark: "g-opa-16"
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
"success-opa-02": {
|
|
584
|
-
autofleet: {
|
|
585
|
-
light: "g-opa-24",
|
|
586
|
-
dark: "g-opa-24"
|
|
587
|
-
},
|
|
588
|
-
whiteLabel: {
|
|
589
|
-
light: "g-opa-24",
|
|
590
|
-
dark: "g-opa-24"
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
"success-text": {
|
|
594
|
-
autofleet: {
|
|
595
|
-
light: "g-06",
|
|
596
|
-
dark: "g-07"
|
|
597
|
-
},
|
|
598
|
-
whiteLabel: {
|
|
599
|
-
light: "g-06",
|
|
600
|
-
dark: "g-07"
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
"warning-hover": {
|
|
604
|
-
autofleet: {
|
|
605
|
-
light: "y-03",
|
|
606
|
-
dark: "y-05"
|
|
607
|
-
},
|
|
608
|
-
whiteLabel: {
|
|
609
|
-
light: "y-03",
|
|
610
|
-
dark: "y-05"
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
warning: {
|
|
614
|
-
autofleet: {
|
|
615
|
-
light: "y-02",
|
|
616
|
-
dark: "y-02"
|
|
617
|
-
},
|
|
618
|
-
whiteLabel: {
|
|
619
|
-
light: "y-02",
|
|
620
|
-
dark: "y-02"
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
"warning-opa-01": {
|
|
624
|
-
autofleet: {
|
|
625
|
-
light: "y-opa-10",
|
|
626
|
-
dark: "y-opa-16"
|
|
627
|
-
},
|
|
628
|
-
whiteLabel: {
|
|
629
|
-
light: "y-opa-10",
|
|
630
|
-
dark: "y-opa-16"
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
"warning-opa-02": {
|
|
634
|
-
autofleet: {
|
|
635
|
-
light: "y-opa-24",
|
|
636
|
-
dark: "y-opa-24"
|
|
637
|
-
},
|
|
638
|
-
whiteLabel: {
|
|
639
|
-
light: "y-opa-24",
|
|
640
|
-
dark: "y-opa-24"
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
"warning-text": {
|
|
644
|
-
autofleet: {
|
|
645
|
-
light: "y-06",
|
|
646
|
-
dark: "y-07"
|
|
647
|
-
},
|
|
648
|
-
whiteLabel: {
|
|
649
|
-
light: "y-06",
|
|
650
|
-
dark: "y-07"
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
"error-hover": {
|
|
654
|
-
autofleet: {
|
|
655
|
-
light: "r-03",
|
|
656
|
-
dark: "r-05"
|
|
657
|
-
},
|
|
658
|
-
whiteLabel: {
|
|
659
|
-
light: "r-03",
|
|
660
|
-
dark: "r-05"
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
error: {
|
|
664
|
-
autofleet: {
|
|
665
|
-
light: "r-02",
|
|
666
|
-
dark: "r-02"
|
|
667
|
-
},
|
|
668
|
-
whiteLabel: {
|
|
669
|
-
light: "r-02",
|
|
670
|
-
dark: "r-02"
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
"error-opa-01": {
|
|
674
|
-
autofleet: {
|
|
675
|
-
light: "r-opa-10",
|
|
676
|
-
dark: "r-opa-16"
|
|
677
|
-
},
|
|
678
|
-
whiteLabel: {
|
|
679
|
-
light: "r-opa-10",
|
|
680
|
-
dark: "r-opa-16"
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
"error-opa-02": {
|
|
684
|
-
autofleet: {
|
|
685
|
-
light: "r-opa-24",
|
|
686
|
-
dark: "r-opa-24"
|
|
687
|
-
},
|
|
688
|
-
whiteLabel: {
|
|
689
|
-
light: "r-opa-24",
|
|
690
|
-
dark: "r-opa-24"
|
|
691
|
-
}
|
|
692
|
-
},
|
|
693
|
-
"error-text": {
|
|
694
|
-
autofleet: {
|
|
695
|
-
light: "r-06",
|
|
696
|
-
dark: "r-07"
|
|
697
|
-
},
|
|
698
|
-
whiteLabel: {
|
|
699
|
-
light: "r-06",
|
|
700
|
-
dark: "r-07"
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
purple: {
|
|
704
|
-
autofleet: {
|
|
705
|
-
light: "pu-02",
|
|
706
|
-
dark: "pu-02"
|
|
707
|
-
},
|
|
708
|
-
whiteLabel: {
|
|
709
|
-
light: "pu-02",
|
|
710
|
-
dark: "pu-02"
|
|
711
|
-
}
|
|
712
|
-
},
|
|
713
|
-
"purple-opa-01": {
|
|
714
|
-
autofleet: {
|
|
715
|
-
light: "pu-opa-10",
|
|
716
|
-
dark: "pu-opa-16"
|
|
717
|
-
},
|
|
718
|
-
whiteLabel: {
|
|
719
|
-
light: "pu-opa-10",
|
|
720
|
-
dark: "pu-opa-16"
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
"purple-opa-02": {
|
|
724
|
-
autofleet: {
|
|
725
|
-
light: "pu-opa-24",
|
|
726
|
-
dark: "pu-opa-24"
|
|
727
|
-
},
|
|
728
|
-
whiteLabel: {
|
|
729
|
-
light: "pu-opa-24",
|
|
730
|
-
dark: "pu-opa-24"
|
|
731
|
-
}
|
|
732
|
-
},
|
|
733
|
-
"purple-text": {
|
|
734
|
-
autofleet: {
|
|
735
|
-
light: "pu-06",
|
|
736
|
-
dark: "pu-07"
|
|
737
|
-
},
|
|
738
|
-
whiteLabel: {
|
|
739
|
-
light: "pu-06",
|
|
740
|
-
dark: "pu-07"
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
orange: {
|
|
744
|
-
autofleet: {
|
|
745
|
-
light: "or-02",
|
|
746
|
-
dark: "or-02"
|
|
747
|
-
},
|
|
748
|
-
whiteLabel: {
|
|
749
|
-
light: "or-02",
|
|
750
|
-
dark: "or-02"
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
"orange-opa-01": {
|
|
754
|
-
autofleet: {
|
|
755
|
-
light: "or-opa-10",
|
|
756
|
-
dark: "or-opa-16"
|
|
757
|
-
},
|
|
758
|
-
whiteLabel: {
|
|
759
|
-
light: "or-opa-10",
|
|
760
|
-
dark: "or-opa-16"
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
"orange-opa-02": {
|
|
764
|
-
autofleet: {
|
|
765
|
-
light: "or-opa-24",
|
|
766
|
-
dark: "or-opa-24"
|
|
767
|
-
},
|
|
768
|
-
whiteLabel: {
|
|
769
|
-
light: "or-opa-24",
|
|
770
|
-
dark: "or-opa-24"
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
"orange-text": {
|
|
774
|
-
autofleet: {
|
|
775
|
-
light: "or-06",
|
|
776
|
-
dark: "or-07"
|
|
777
|
-
},
|
|
778
|
-
whiteLabel: {
|
|
779
|
-
light: "or-06",
|
|
780
|
-
dark: "or-07"
|
|
781
|
-
}
|
|
782
|
-
},
|
|
783
|
-
turquoise: {
|
|
784
|
-
autofleet: {
|
|
785
|
-
light: "tu-02",
|
|
786
|
-
dark: "tu-02"
|
|
787
|
-
},
|
|
788
|
-
whiteLabel: {
|
|
789
|
-
light: "tu-02",
|
|
790
|
-
dark: "tu-02"
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
"turquoise-opa-01": {
|
|
794
|
-
autofleet: {
|
|
795
|
-
light: "tu-opa-10",
|
|
796
|
-
dark: "tu-opa-16"
|
|
797
|
-
},
|
|
798
|
-
whiteLabel: {
|
|
799
|
-
light: "tu-opa-10",
|
|
800
|
-
dark: "tu-opa-16"
|
|
801
|
-
}
|
|
802
|
-
},
|
|
803
|
-
"turquoise-opa-02": {
|
|
804
|
-
autofleet: {
|
|
805
|
-
light: "tu-opa-24",
|
|
806
|
-
dark: "tu-opa-24"
|
|
807
|
-
},
|
|
808
|
-
whiteLabel: {
|
|
809
|
-
light: "tu-opa-24",
|
|
810
|
-
dark: "tu-opa-24"
|
|
811
|
-
}
|
|
812
|
-
},
|
|
813
|
-
"turquoise-text": {
|
|
814
|
-
autofleet: {
|
|
815
|
-
light: "tu-06",
|
|
816
|
-
dark: "tu-07"
|
|
817
|
-
},
|
|
818
|
-
whiteLabel: {
|
|
819
|
-
light: "tu-06",
|
|
820
|
-
dark: "tu-07"
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
pink: {
|
|
824
|
-
autofleet: {
|
|
825
|
-
light: "pi-02",
|
|
826
|
-
dark: "pi-02"
|
|
827
|
-
},
|
|
828
|
-
whiteLabel: {
|
|
829
|
-
light: "pi-02",
|
|
830
|
-
dark: "pi-02"
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
"pink-opa-01": {
|
|
834
|
-
autofleet: {
|
|
835
|
-
light: "pi-opa-10",
|
|
836
|
-
dark: "pi-opa-16"
|
|
837
|
-
},
|
|
838
|
-
whiteLabel: {
|
|
839
|
-
light: "pi-opa-10",
|
|
840
|
-
dark: "pi-opa-16"
|
|
841
|
-
}
|
|
842
|
-
},
|
|
843
|
-
"pink-opa-02": {
|
|
844
|
-
autofleet: {
|
|
845
|
-
light: "pi-opa-24",
|
|
846
|
-
dark: "pi-opa-24"
|
|
847
|
-
},
|
|
848
|
-
whiteLabel: {
|
|
849
|
-
light: "pi-opa-24",
|
|
850
|
-
dark: "pi-opa-24"
|
|
851
|
-
}
|
|
852
|
-
},
|
|
853
|
-
"pink-text": {
|
|
854
|
-
autofleet: {
|
|
855
|
-
light: "pi-06",
|
|
856
|
-
dark: "pi-07"
|
|
857
|
-
},
|
|
858
|
-
whiteLabel: {
|
|
859
|
-
light: "pi-06",
|
|
860
|
-
dark: "pi-07"
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
ultramarine: {
|
|
864
|
-
autofleet: {
|
|
865
|
-
light: "ul-02",
|
|
866
|
-
dark: "ul-02"
|
|
867
|
-
},
|
|
868
|
-
whiteLabel: {
|
|
869
|
-
light: "ul-02",
|
|
870
|
-
dark: "ul-02"
|
|
871
|
-
}
|
|
872
|
-
},
|
|
873
|
-
"ultramarine-opa-01": {
|
|
874
|
-
autofleet: {
|
|
875
|
-
light: "ul-opa-10",
|
|
876
|
-
dark: "ul-opa-16"
|
|
877
|
-
},
|
|
878
|
-
whiteLabel: {
|
|
879
|
-
light: "ul-opa-10",
|
|
880
|
-
dark: "ul-opa-16"
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
"ultramarine-opa-02": {
|
|
884
|
-
autofleet: {
|
|
885
|
-
light: "ul-opa-24",
|
|
886
|
-
dark: "ul-opa-24"
|
|
887
|
-
},
|
|
888
|
-
whiteLabel: {
|
|
889
|
-
light: "ul-opa-24",
|
|
890
|
-
dark: "ul-opa-24"
|
|
891
|
-
}
|
|
892
|
-
},
|
|
893
|
-
"ultramarine-text": {
|
|
894
|
-
autofleet: {
|
|
895
|
-
light: "ul-06",
|
|
896
|
-
dark: "ul-07"
|
|
897
|
-
},
|
|
898
|
-
whiteLabel: {
|
|
899
|
-
light: "ul-06",
|
|
900
|
-
dark: "ul-07"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
peach: {
|
|
904
|
-
autofleet: {
|
|
905
|
-
light: "pe-02",
|
|
906
|
-
dark: "pe-02"
|
|
907
|
-
},
|
|
908
|
-
whiteLabel: {
|
|
909
|
-
light: "pe-02",
|
|
910
|
-
dark: "pe-02"
|
|
911
|
-
}
|
|
912
|
-
},
|
|
913
|
-
"peach-opa-01": {
|
|
914
|
-
autofleet: {
|
|
915
|
-
light: "pe-opa-10",
|
|
916
|
-
dark: "pe-opa-16"
|
|
917
|
-
},
|
|
918
|
-
whiteLabel: {
|
|
919
|
-
light: "pe-opa-10",
|
|
920
|
-
dark: "pe-opa-16"
|
|
921
|
-
}
|
|
922
|
-
},
|
|
923
|
-
"peach-opa-02": {
|
|
924
|
-
autofleet: {
|
|
925
|
-
light: "pe-opa-24",
|
|
926
|
-
dark: "pe-opa-24"
|
|
927
|
-
},
|
|
928
|
-
whiteLabel: {
|
|
929
|
-
light: "pe-opa-24",
|
|
930
|
-
dark: "pe-opa-24"
|
|
931
|
-
}
|
|
932
|
-
},
|
|
933
|
-
"peach-text": {
|
|
934
|
-
autofleet: {
|
|
935
|
-
light: "pe-06",
|
|
936
|
-
dark: "pe-07"
|
|
937
|
-
},
|
|
938
|
-
whiteLabel: {
|
|
939
|
-
light: "pe-06",
|
|
940
|
-
dark: "pe-07"
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
apple: {
|
|
944
|
-
autofleet: {
|
|
945
|
-
light: "ap-02",
|
|
946
|
-
dark: "ap-02"
|
|
947
|
-
},
|
|
948
|
-
whiteLabel: {
|
|
949
|
-
light: "ap-02",
|
|
950
|
-
dark: "ap-02"
|
|
951
|
-
}
|
|
952
|
-
},
|
|
953
|
-
"apple-opa-01": {
|
|
954
|
-
autofleet: {
|
|
955
|
-
light: "ap-opa-10",
|
|
956
|
-
dark: "ap-opa-16"
|
|
957
|
-
},
|
|
958
|
-
whiteLabel: {
|
|
959
|
-
light: "ap-opa-10",
|
|
960
|
-
dark: "ap-opa-16"
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
"apple-opa-02": {
|
|
964
|
-
autofleet: {
|
|
965
|
-
light: "ap-opa-24",
|
|
966
|
-
dark: "ap-opa-24"
|
|
967
|
-
},
|
|
968
|
-
whiteLabel: {
|
|
969
|
-
light: "ap-opa-24",
|
|
970
|
-
dark: "ap-opa-24"
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
"apple-text": {
|
|
974
|
-
autofleet: {
|
|
975
|
-
light: "ap-06",
|
|
976
|
-
dark: "ap-07"
|
|
977
|
-
},
|
|
978
|
-
whiteLabel: {
|
|
979
|
-
light: "ap-06",
|
|
980
|
-
dark: "ap-07"
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
bubblegum: {
|
|
984
|
-
autofleet: {
|
|
985
|
-
light: "bu-02",
|
|
986
|
-
dark: "bu-02"
|
|
987
|
-
},
|
|
988
|
-
whiteLabel: {
|
|
989
|
-
light: "bu-02",
|
|
990
|
-
dark: "bu-02"
|
|
991
|
-
}
|
|
992
|
-
},
|
|
993
|
-
"bubblegum-opa-01": {
|
|
994
|
-
autofleet: {
|
|
995
|
-
light: "bu-opa-10",
|
|
996
|
-
dark: "bu-opa-16"
|
|
997
|
-
},
|
|
998
|
-
whiteLabel: {
|
|
999
|
-
light: "bu-opa-10",
|
|
1000
|
-
dark: "bu-opa-16"
|
|
1001
|
-
}
|
|
1002
|
-
},
|
|
1003
|
-
"bubblegum-opa-02": {
|
|
1004
|
-
autofleet: {
|
|
1005
|
-
light: "bu-opa-24",
|
|
1006
|
-
dark: "bu-opa-24"
|
|
1007
|
-
},
|
|
1008
|
-
whiteLabel: {
|
|
1009
|
-
light: "bu-opa-24",
|
|
1010
|
-
dark: "bu-opa-24"
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
|
-
"bubblegum-text": {
|
|
1014
|
-
autofleet: {
|
|
1015
|
-
light: "bu-06",
|
|
1016
|
-
dark: "bu-07"
|
|
1017
|
-
},
|
|
1018
|
-
whiteLabel: {
|
|
1019
|
-
light: "bu-06",
|
|
1020
|
-
dark: "bu-07"
|
|
1021
|
-
}
|
|
1022
|
-
},
|
|
1023
|
-
ocher: {
|
|
1024
|
-
autofleet: {
|
|
1025
|
-
light: "oc-02",
|
|
1026
|
-
dark: "oc-02"
|
|
1027
|
-
},
|
|
1028
|
-
whiteLabel: {
|
|
1029
|
-
light: "oc-02",
|
|
1030
|
-
dark: "oc-02"
|
|
1031
|
-
}
|
|
1032
|
-
},
|
|
1033
|
-
"ocher-opa-01": {
|
|
1034
|
-
autofleet: {
|
|
1035
|
-
light: "oc-opa-10",
|
|
1036
|
-
dark: "oc-opa-16"
|
|
1037
|
-
},
|
|
1038
|
-
whiteLabel: {
|
|
1039
|
-
light: "oc-opa-10",
|
|
1040
|
-
dark: "oc-opa-16"
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
"ocher-opa-02": {
|
|
1044
|
-
autofleet: {
|
|
1045
|
-
light: "oc-opa-24",
|
|
1046
|
-
dark: "oc-opa-24"
|
|
1047
|
-
},
|
|
1048
|
-
whiteLabel: {
|
|
1049
|
-
light: "oc-opa-24",
|
|
1050
|
-
dark: "oc-opa-24"
|
|
1051
|
-
}
|
|
1052
|
-
},
|
|
1053
|
-
"ocher-text": {
|
|
1054
|
-
autofleet: {
|
|
1055
|
-
light: "oc-06",
|
|
1056
|
-
dark: "oc-07"
|
|
1057
|
-
},
|
|
1058
|
-
whiteLabel: {
|
|
1059
|
-
light: "oc-06",
|
|
1060
|
-
dark: "oc-07"
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
blueberry: {
|
|
1064
|
-
autofleet: {
|
|
1065
|
-
light: "br-02",
|
|
1066
|
-
dark: "br-02"
|
|
1067
|
-
},
|
|
1068
|
-
whiteLabel: {
|
|
1069
|
-
light: "br-02",
|
|
1070
|
-
dark: "br-02"
|
|
1071
|
-
}
|
|
1072
|
-
},
|
|
1073
|
-
"blueberry-opa-01": {
|
|
1074
|
-
autofleet: {
|
|
1075
|
-
light: "br-opa-10",
|
|
1076
|
-
dark: "br-opa-16"
|
|
1077
|
-
},
|
|
1078
|
-
whiteLabel: {
|
|
1079
|
-
light: "br-opa-10",
|
|
1080
|
-
dark: "br-opa-16"
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
"blueberry-opa-02": {
|
|
1084
|
-
autofleet: {
|
|
1085
|
-
light: "br-opa-24",
|
|
1086
|
-
dark: "br-opa-24"
|
|
1087
|
-
},
|
|
1088
|
-
whiteLabel: {
|
|
1089
|
-
light: "br-opa-24",
|
|
1090
|
-
dark: "br-opa-24"
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
"blueberry-text": {
|
|
1094
|
-
autofleet: {
|
|
1095
|
-
light: "br-06",
|
|
1096
|
-
dark: "br-07"
|
|
1097
|
-
},
|
|
1098
|
-
whiteLabel: {
|
|
1099
|
-
light: "br-06",
|
|
1100
|
-
dark: "br-07"
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
}, A = {
|
|
1104
|
-
...f,
|
|
1105
|
-
"neutral-text": f["neutral-dark"],
|
|
1106
|
-
neutral: f["neutral-light"]
|
|
1107
|
-
}, _ = (a) => {
|
|
1108
|
-
const { lightMode: r, label: t, primaryColor: e } = a, o = {
|
|
1109
|
-
...H,
|
|
1110
|
-
...e ? R(e) : {}
|
|
1111
|
-
};
|
|
1112
|
-
return Object.fromEntries(
|
|
1113
|
-
Object.entries(A).map(([p, l]) => {
|
|
1114
|
-
const h = l[t][r], n = o[h];
|
|
1115
|
-
return [p, n];
|
|
1116
|
-
})
|
|
1117
|
-
);
|
|
1118
|
-
}, X = {
|
|
1119
|
-
AUTOFLEET: "autofleet"
|
|
1120
|
-
}, b = ({
|
|
1121
|
-
size: a,
|
|
1122
|
-
style: r,
|
|
1123
|
-
weight: t,
|
|
1124
|
-
lineHeight: e,
|
|
1125
|
-
family: o = "Montserrat, sans-serif !important"
|
|
1126
|
-
}) => `
|
|
1127
|
-
font-family: ${o};
|
|
1128
|
-
font-size: ${a};
|
|
1129
|
-
font-style: ${r};
|
|
1130
|
-
font-weight: ${t};
|
|
1131
|
-
line-height: ${e};`, i = {
|
|
1132
|
-
"typo-11": b({
|
|
1133
|
-
size: "48px",
|
|
1134
|
-
style: "normal",
|
|
1135
|
-
weight: "700",
|
|
1136
|
-
lineHeight: "60px"
|
|
1137
|
-
}),
|
|
1138
|
-
"typo-10": b({
|
|
1139
|
-
size: "24px",
|
|
1140
|
-
style: "normal",
|
|
1141
|
-
weight: "700",
|
|
1142
|
-
lineHeight: "60px"
|
|
1143
|
-
}),
|
|
1144
|
-
"typo-9": b({
|
|
1145
|
-
size: "24px",
|
|
1146
|
-
style: "normal",
|
|
1147
|
-
weight: "400",
|
|
1148
|
-
lineHeight: "30px"
|
|
1149
|
-
}),
|
|
1150
|
-
"typo-8": b({
|
|
1151
|
-
size: "20px",
|
|
1152
|
-
style: "normal",
|
|
1153
|
-
weight: "700",
|
|
1154
|
-
lineHeight: "26px"
|
|
1155
|
-
}),
|
|
1156
|
-
"typo-7": b({
|
|
1157
|
-
size: "18px",
|
|
1158
|
-
style: "normal",
|
|
1159
|
-
weight: "700",
|
|
1160
|
-
lineHeight: "24px"
|
|
1161
|
-
}),
|
|
1162
|
-
"typo-6": b({
|
|
1163
|
-
size: "16px",
|
|
1164
|
-
style: "normal",
|
|
1165
|
-
weight: "500",
|
|
1166
|
-
lineHeight: "24px"
|
|
1167
|
-
}),
|
|
1168
|
-
"typo-5": b({
|
|
1169
|
-
size: "16px",
|
|
1170
|
-
style: "normal",
|
|
1171
|
-
weight: "700",
|
|
1172
|
-
lineHeight: "24px"
|
|
1173
|
-
}),
|
|
1174
|
-
"typo-4": b({
|
|
1175
|
-
size: "14px",
|
|
1176
|
-
style: "normal",
|
|
1177
|
-
weight: "500",
|
|
1178
|
-
lineHeight: "20px"
|
|
1179
|
-
}),
|
|
1180
|
-
"typo-3": b({
|
|
1181
|
-
size: "14px",
|
|
1182
|
-
style: "normal",
|
|
1183
|
-
weight: "700",
|
|
1184
|
-
lineHeight: "20px"
|
|
1185
|
-
}),
|
|
1186
|
-
"typo-2": b({
|
|
1187
|
-
size: "12px",
|
|
1188
|
-
style: "normal",
|
|
1189
|
-
weight: "700",
|
|
1190
|
-
lineHeight: "16px"
|
|
1191
|
-
}),
|
|
1192
|
-
"typo-1": b({
|
|
1193
|
-
size: "12px",
|
|
1194
|
-
style: "normal",
|
|
1195
|
-
weight: "500",
|
|
1196
|
-
lineHeight: "16px"
|
|
1197
|
-
})
|
|
1198
|
-
}, B = () => ({
|
|
1199
|
-
desktop: {
|
|
1200
|
-
largeTitle: i["typo-11"],
|
|
1201
|
-
mediumTitle: i["typo-10"],
|
|
1202
|
-
placeHolderTitleInput: i["typo-9"],
|
|
1203
|
-
smallTitle: i["typo-7"],
|
|
1204
|
-
fine: i["typo-1"],
|
|
1205
|
-
fineStrong: i["typo-2"],
|
|
1206
|
-
bodyStrong: i["typo-3"],
|
|
1207
|
-
body: i["typo-4"]
|
|
1208
|
-
},
|
|
1209
|
-
mobile: {
|
|
1210
|
-
bodyStrong: i["typo-5"],
|
|
1211
|
-
body: i["typo-6"],
|
|
1212
|
-
smallTitle: i["typo-8"],
|
|
1213
|
-
largeTitle: i["typo-10"],
|
|
1214
|
-
fineStrong: i["typo-3"],
|
|
1215
|
-
fine: i["typo-4"]
|
|
1216
|
-
}
|
|
1217
|
-
}), g = {
|
|
1218
|
-
NONE: "0px",
|
|
1219
|
-
XS: "2px",
|
|
1220
|
-
SM: "4px",
|
|
1221
|
-
MD: "6px",
|
|
1222
|
-
LG: "8px",
|
|
1223
|
-
XL: "12px",
|
|
1224
|
-
"2XL": "16px",
|
|
1225
|
-
"3XL": "24px",
|
|
1226
|
-
"4XL": "32px",
|
|
1227
|
-
"5XL": "40px",
|
|
1228
|
-
"6XL": "48px",
|
|
1229
|
-
"7XL": "56px",
|
|
1230
|
-
"8XL": "64px"
|
|
1231
|
-
}, w = (a, r) => a.startsWith("rgba(") ? a.replace(
|
|
1232
|
-
/(rgba\(\d{1,3},\s?\d{1,3},\s?\d{1,3}(?:,|\s?\/)\s?)((?:\d\.)?\d)(\))/,
|
|
1233
|
-
`$1${r}$3`
|
|
1234
|
-
) : a, u = (a, r = 12) => `${g.NONE} ${g.XS} ${g.SM} ${w(
|
|
1235
|
-
a,
|
|
1236
|
-
r / 100
|
|
1237
|
-
)}`, s = (a, r = 12) => `${g.NONE} ${g.SM} ${g.LG} ${w(
|
|
1238
|
-
a,
|
|
1239
|
-
r / 100
|
|
1240
|
-
)}`, k = (a, r = 16) => `${g.NONE} ${g.LG} ${g["5XL"]} ${w(
|
|
1241
|
-
a,
|
|
1242
|
-
r / 100
|
|
1243
|
-
)}`, F = (a) => ({
|
|
1244
|
-
"shadow-map-element": `${g.NONE} 3px ${g.LG} ${w(
|
|
1245
|
-
a["neutral-dark"],
|
|
1246
|
-
0.32
|
|
1247
|
-
)}`,
|
|
1248
|
-
// Neutral
|
|
1249
|
-
"shadow-neutral-low": u(a["neutral-dark"], 8),
|
|
1250
|
-
"shadow-neutral-medium": s(a["neutral-dark"], 8),
|
|
1251
|
-
"shadow-neutral-high": k(a["neutral-dark"]),
|
|
1252
|
-
// Info
|
|
1253
|
-
"shadow-info-low": u(a.info),
|
|
1254
|
-
"shadow-info-medium": s(a.info),
|
|
1255
|
-
"shadow-info-high": k(a.info),
|
|
1256
|
-
// Success
|
|
1257
|
-
"shadow-success-low": u(a.success),
|
|
1258
|
-
"shadow-success-medium": s(a.success),
|
|
1259
|
-
"shadow-success-high": k(a.success),
|
|
1260
|
-
// Warning
|
|
1261
|
-
"shadow-warning-low": u(a.warning),
|
|
1262
|
-
"shadow-warning-medium": s(a.warning),
|
|
1263
|
-
"shadow-warning-high": k(a.warning),
|
|
1264
|
-
// Error
|
|
1265
|
-
"shadow-error-low": u(a.error),
|
|
1266
|
-
"shadow-error-medium": s(a.error),
|
|
1267
|
-
"shadow-error-high": k(a.error)
|
|
1268
|
-
}), x = {
|
|
1269
|
-
NONE: "0px",
|
|
1270
|
-
XS: "2px",
|
|
1271
|
-
SM: "4px",
|
|
1272
|
-
MD: "6px",
|
|
1273
|
-
LG: "8px",
|
|
1274
|
-
XL: "16px",
|
|
1275
|
-
"2XL": "24px"
|
|
1276
|
-
}, m = (a) => Object.fromEntries(
|
|
1277
|
-
Object.entries(a).map(([r, t]) => [r, parseInt(t, 10)])
|
|
1278
|
-
), z = () => ({
|
|
1279
|
-
borderRadius: x,
|
|
1280
|
-
spacings: g,
|
|
1281
|
-
spacingNumbers: m(g),
|
|
1282
|
-
borderRadiusNumbers: m(x)
|
|
1283
|
-
}), I = [
|
|
1284
|
-
"bg-primary",
|
|
1285
|
-
"bg-secondary",
|
|
1286
|
-
"bg-info",
|
|
1287
|
-
"bg-success",
|
|
1288
|
-
"bg-warning",
|
|
1289
|
-
"bg-error",
|
|
1290
|
-
"divider-neutral",
|
|
1291
|
-
"divider-invert",
|
|
1292
|
-
"divider-brand",
|
|
1293
|
-
"divider-info",
|
|
1294
|
-
"divider-success",
|
|
1295
|
-
"divider-warning",
|
|
1296
|
-
"divider-error",
|
|
1297
|
-
"primary-btn",
|
|
1298
|
-
"primary-btn-hover",
|
|
1299
|
-
"primary-btn-opa-01",
|
|
1300
|
-
"primary-btn-opa-02",
|
|
1301
|
-
"other",
|
|
1302
|
-
"other-hover",
|
|
1303
|
-
"other-opa-01",
|
|
1304
|
-
"other-opa-02",
|
|
1305
|
-
"other-text",
|
|
1306
|
-
"neutral",
|
|
1307
|
-
"neutral-dark",
|
|
1308
|
-
"neutral-text",
|
|
1309
|
-
"neutral-charcoal",
|
|
1310
|
-
"neutral-light",
|
|
1311
|
-
"neutral-invert",
|
|
1312
|
-
"neutral-opa-01",
|
|
1313
|
-
"neutral-opa-02",
|
|
1314
|
-
"info-hover",
|
|
1315
|
-
"info",
|
|
1316
|
-
"info-opa-01",
|
|
1317
|
-
"info-opa-02",
|
|
1318
|
-
"info-text",
|
|
1319
|
-
"success-hover",
|
|
1320
|
-
"success",
|
|
1321
|
-
"success-opa-01",
|
|
1322
|
-
"success-opa-02",
|
|
1323
|
-
"success-text",
|
|
1324
|
-
"warning-hover",
|
|
1325
|
-
"warning",
|
|
1326
|
-
"warning-opa-01",
|
|
1327
|
-
"warning-opa-02",
|
|
1328
|
-
"warning-text",
|
|
1329
|
-
"error-hover",
|
|
1330
|
-
"error",
|
|
1331
|
-
"error-opa-01",
|
|
1332
|
-
"error-opa-02",
|
|
1333
|
-
"error-text",
|
|
1334
|
-
"purple",
|
|
1335
|
-
"purple-opa-01",
|
|
1336
|
-
"purple-opa-02",
|
|
1337
|
-
"purple-text",
|
|
1338
|
-
"orange",
|
|
1339
|
-
"orange-opa-01",
|
|
1340
|
-
"orange-opa-02",
|
|
1341
|
-
"orange-text",
|
|
1342
|
-
"turquoise",
|
|
1343
|
-
"turquoise-opa-01",
|
|
1344
|
-
"turquoise-opa-02",
|
|
1345
|
-
"turquoise-text",
|
|
1346
|
-
"pink",
|
|
1347
|
-
"pink-opa-01",
|
|
1348
|
-
"pink-opa-02",
|
|
1349
|
-
"pink-text",
|
|
1350
|
-
"ultramarine",
|
|
1351
|
-
"ultramarine-opa-01",
|
|
1352
|
-
"ultramarine-opa-02",
|
|
1353
|
-
"ultramarine-text",
|
|
1354
|
-
"peach",
|
|
1355
|
-
"peach-opa-01",
|
|
1356
|
-
"peach-opa-02",
|
|
1357
|
-
"peach-text",
|
|
1358
|
-
"apple",
|
|
1359
|
-
"apple-opa-01",
|
|
1360
|
-
"apple-opa-02",
|
|
1361
|
-
"apple-text",
|
|
1362
|
-
"bubblegum",
|
|
1363
|
-
"bubblegum-opa-01",
|
|
1364
|
-
"bubblegum-opa-02",
|
|
1365
|
-
"bubblegum-text",
|
|
1366
|
-
"ocher",
|
|
1367
|
-
"ocher-opa-01",
|
|
1368
|
-
"ocher-opa-02",
|
|
1369
|
-
"ocher-text",
|
|
1370
|
-
"blueberry",
|
|
1371
|
-
"blueberry-opa-01",
|
|
1372
|
-
"blueberry-opa-02",
|
|
1373
|
-
"blueberry-text"
|
|
1374
|
-
], G = I.filter(
|
|
1375
|
-
(a) => !a.includes("-")
|
|
1376
|
-
), V = ({
|
|
1377
|
-
isDarkMode: a,
|
|
1378
|
-
label: r = X.AUTOFLEET,
|
|
1379
|
-
primaryColor: t
|
|
1380
|
-
}) => {
|
|
1381
|
-
const e = _({
|
|
1382
|
-
lightMode: a ? "dark" : "light",
|
|
1383
|
-
label: r,
|
|
1384
|
-
primaryColor: t
|
|
1385
|
-
});
|
|
1386
|
-
return {
|
|
1387
|
-
...z(),
|
|
1388
|
-
colors: e,
|
|
1389
|
-
fonts: B(),
|
|
1390
|
-
shadows: F(e)
|
|
1391
|
-
};
|
|
1392
|
-
};
|
|
1393
|
-
export {
|
|
1394
|
-
E as COLORS_DARK_MODE_HANDLED,
|
|
1395
|
-
I as COLOR_TOKENS,
|
|
1396
|
-
L as adjustBrightness,
|
|
1397
|
-
j as getColorVariants,
|
|
1398
|
-
V as loadThemeStyles,
|
|
1399
|
-
G as mainColorTokens
|
|
1400
|
-
};
|
|
1401
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
const e=e=>{let t=e.split(`,`).map(e=>parseInt(e,10)),n=t[0]/255,r=t[1]/255,i=t[2]/255,a=Math.max(n,r,i),o=a-Math.min(n,r,i),s=o?a===n?(r-i)/o:a===r?2+(i-n)/o:4+(n-r)/o:0;return[60*s<0?60*s+360:60*s,100*(o?a<=.5?o/(2*a-o):o/(2-(2*a-o)):0),100*(2*a-o)/2]},t=(e,t,n)=>{let r=t/100,i=n/100,a=t=>(t+e/30)%12,o=r*Math.min(i,1-i),s=e=>i-o*Math.max(-1,Math.min(a(e)-3,Math.min(9-a(e),1))),c=255*s(0),l=255*s(8),u=255*s(4);return[c,l,u]},n=n=>{let r=e(n),i=r[2]+r[2]*-24/100,[a,o,s]=t(r[0],r[1],i);return`${a}, ${o}, ${s}`},r={info:{light:`rgba(231, 246, 255, 1)`,dark:`rgba(30, 55, 75, 1)`},error:{light:`rgba(254, 235, 236, 1)`,dark:`rgba(67, 37, 45, 1)`},success:{light:`rgba(233, 248, 239, 1)`,dark:`rgba(34, 58, 50, 1)`},warning:{light:`rgba(254, 246, 231, 1)`,dark:`rgba(68, 55, 37, 1)`},primary:{light:`rgba(231, 246, 255, 1)`,dark:`rgba(30, 55, 75, 1)`}},i=(e,t,i)=>({[`${e}Color`]:`rgba(${t}, 1)`,[`${e}ColorHover`]:`rgba(${n(t)}, 1)`,[`${e}ColorOpacityWeak`]:`rgba(${t}, 0.32)`,[`${e}ColorOpacityStrong`]:`rgba(${t}, ${i===`light`?.1:.16})`,[`${e}HoverComponentBgColor`]:r[e][i]}),a=[[`info`,`17, 164, 255`],[`error`,`248, 55, 67`],[`success`,`37, 184, 97`],[`warning`,`250, 166, 19`]],o=e=>{let[t,n,r]=e.split(`,`).map(e=>parseInt(e,10)),i=(.2126*t+.7152*n+.0722*r)/255,a=i>.6?`#000000`:`#FFFFFF`;return a},s={primaryTextColor:e=>e?`rgba(244, 245, 248, 1)`:`rgba(33, 34, 41, 1)`,secondaryTextColor:e=>e?`rgba(173, 174, 186, 1)`:`rgba(102, 105, 117, 1)`,disabledTextColor:e=>e?`rgba(102, 105, 117, 1)`:`rgba(173, 174, 186, 1)`,placeholderTextColor:e=>e?`rgba(102, 105, 117, 1)`:`rgba(173, 174, 186, 1)`,primaryBackgroundColor:e=>e?`rgba(33, 34, 41, 1)`:`rgba(255, 255, 255, 1)`,secondaryBackgroundColor:e=>e?`rgba(43, 45, 51, 1)`:`rgba(244, 245, 248, 1)`,dividerColor:e=>e?`rgba(125, 139, 172, 0.32)`:`rgba(125, 139, 172, 0.24)`,secondaryButtonsHoverColor:e=>e?`rgba(124, 134, 163, 0.16)`:`rgba(124, 134, 163, 0.1)`},c=e=>Object.fromEntries(Object.entries(s).map(([t,n])=>[t,n(e===`dark`)])),l=(e,t)=>{let r=[...a,[`primary`,e]].map(([e,n])=>i(e,n,t)).reduce((e,t)=>({...e,...t}),{});return{...r,primaryBackgroundText:o(e),primaryBackgroundHoverText:o(n(e)),...c(t)}},u={"n-00":`rgba(255, 255, 255, 1)`,"n-01":`rgba(244, 245, 248, 1)`,"n-02":`rgba(173, 174, 186, 1)`,"n-03":`rgba(102, 105, 117, 1)`,"n-04":`rgba(52, 55, 64, 1)`,"n-05":`rgba(33, 34, 41, 1)`,"n-opa-10":`rgba(124, 134, 163, 0.1)`,"n-opa-16":`rgba(124, 134, 163, 0.16)`,"n-opa-24":`rgba(124, 134, 163, 0.24)`,"n-opa-32":`rgba(125, 139, 172, 0.32)`,"n-00-opa-32":`rgba(255, 255, 255, 0.32)`,brand:`rgba(17, 164, 255, 1)`,"brand-hover":`rgba(0, 132, 214, 1)`,"brand-opa-10":`rgba(17, 164, 255, 0.1)`,"brand-opa-16":`rgba(17, 164, 255, 0.16)`,"brand-opa-24":`rgba(17, 164, 255, 0.24)`,"brand-opa-32":`rgba(17, 164, 255, 0.32)`,"b-01":`rgba(231, 246, 255, 1)`,"b-02":`rgba(17, 164, 255, 1)`,"b-03":`rgba(0, 132, 214, 1)`,"b-04":`rgba(30, 55, 75, 1)`,"b-05":`rgba(66, 183, 255, 1)`,"b-06":`rgba(0, 75, 122, 1)`,"b-07":`rgba(158, 218, 255, 1)`,"b-opa-10":`rgba(17, 164, 255, 0.1)`,"b-opa-16":`rgba(17, 164, 255, 0.16)`,"b-opa-24":`rgba(17, 164, 255, 0.24)`,"b-opa-32":`rgba(17, 164, 255, 0.32)`,"g-01":`rgba(233, 248, 239, 1)`,"g-02":`rgba(37, 184, 97, 1)`,"g-03":`rgba(28, 140, 74, 1)`,"g-04":`rgba(34, 58, 50, 1)`,"g-05":`rgba(55, 215, 120, 1)`,"g-06":`rgba(17, 85, 44, 1)`,"g-07":`rgba(136, 231, 174, 1)`,"g-opa-10":`rgba(37, 184, 97, 0.1)`,"g-opa-16":`rgba(37, 184, 97, 0.16)`,"g-opa-24":`rgba(37, 184, 97, 0.24)`,"g-opa-32":`rgba(37, 184, 97, 0.32)`,"y-01":`rgba(254, 246, 231, 1)`,"y-02":`rgba(244, 156, 0, 1)`,"y-03":`rgba(214, 138, 5, 1)`,"y-04":`rgba(68, 55, 37, 1)`,"y-05":`rgba(251, 185, 70, 1)`,"y-06":`rgba(107, 68, 0, 1)`,"y-07":`rgba(255, 210, 133, 1)`,"y-opa-10":`rgba(244, 156, 0, 0.1)`,"y-opa-16":`rgba(244, 156, 0, 0.16)`,"y-opa-24":`rgba(244, 156, 0, 0.24)`,"y-opa-32":`rgba(244, 156, 0, 0.32)`,"r-01":`rgba(254, 235, 236, 1)`,"r-02":`rgba(248, 55, 67, 1)`,"r-03":`rgba(197, 7, 19, 1)`,"r-04":`rgba(67, 37, 45, 1)`,"r-05":`rgba(249, 103, 112, 1)`,"r-06":`rgba(137, 6, 14, 1)`,"r-07":`rgba(248, 180, 186, 1)`,"r-opa-10":`rgba(248, 55, 67, 0.1)`,"r-opa-16":`rgba(248, 55, 67, 0.16)`,"r-opa-24":`rgba(248, 55, 67, 0.24)`,"r-opa-32":`rgba(248, 55, 67, 0.32)`,"pu-02":`rgba(143, 101, 255, 1)`,"pu-06":`rgba(58, 0, 219, 1)`,"pu-07":`rgba(209, 194, 255, 1)`,"pu-opa-10":`rgba(143, 101, 255, 0.1)`,"pu-opa-16":`rgba(143, 101, 255, 0.16)`,"pu-opa-24":`rgba(143, 101, 255, 0.24)`,"or-02":`rgba(255, 116, 87, 1)`,"or-06":`rgba(143, 24, 0, 1)`,"or-07":`rgba(255, 198, 189, 1)`,"or-opa-10":`rgba(255, 117, 87, 0.1)`,"or-opa-16":`rgba(255, 117, 87, 0.16)`,"or-opa-24":`rgba(255, 117, 87, 0.24)`,"tu-02":`rgba(0, 198, 181, 1)`,"tu-06":`rgba(0, 82, 72, 1)`,"tu-07":`rgba(0, 245, 224, 1)`,"tu-opa-10":`rgba(0, 198, 181, 0.1)`,"tu-opa-16":`rgba(0, 198, 181, 0.16)`,"tu-opa-24":`rgba(0, 198, 181, 0.24)`,"pi-02":`rgba(255, 85, 138, 1)`,"pi-06":`rgba(143, 0, 45, 1)`,"pi-07":`rgba(255, 189, 210, 1)`,"pi-opa-10":`rgba(255, 85, 138, 0.1)`,"pi-opa-16":`rgba(255, 85, 138, 0.16)`,"pi-opa-24":`rgba(255, 85, 138, 0.24)`,"ul-02":`rgba(84, 119, 255, 1)`,"ul-06":`rgba(0, 41, 204, 1)`,"ul-07":`rgba(184, 198, 255, 1)`,"ul-opa-10":`rgba(84, 119, 255, 0.1)`,"ul-opa-16":`rgba(84, 119, 255, 0.16)`,"ul-opa-24":`rgba(84, 119, 255, 0.24)`,"pe-02":`rgba(255, 147, 69, 1)`,"pe-06":`rgba(128, 53, 0, 1)`,"pe-07":`rgba(255, 209, 179, 1)`,"pe-opa-10":`rgba(255, 147, 69, 0.1)`,"pe-opa-16":`rgba(255, 147, 69, 0.16)`,"pe-opa-24":`rgba(255, 147, 69, 0.24)`,"ap-02":`rgba(127, 185, 81, 1)`,"ap-06":`rgba(54, 81, 31, 1)`,"ap-07":`rgba(198, 225, 173, 1)`,"ap-opa-10":`rgba(127, 185, 81, 0.1)`,"ap-opa-16":`rgba(127, 185, 81, 0.16)`,"ap-opa-24":`rgba(127, 185, 81, 0.24)`,"bu-02":`rgba(238, 91, 197, 1)`,"bu-06":`rgba(135, 13, 100, 1)`,"bu-07":`rgba(249, 190, 234, 1)`,"bu-opa-10":`rgba(238, 91, 197, 0.1)`,"bu-opa-16":`rgba(238, 91, 197, 0.16)`,"bu-opa-24":`rgba(238, 91, 197, 0.24)`,"oc-02":`rgba(251, 171, 0, 1)`,"oc-06":`rgba(102, 70, 0, 1)`,"oc-07":`rgba(255, 218, 138, 1)`,"oc-opa-10":`rgba(251, 171, 0, 0.1)`,"oc-opa-16":`rgba(251, 171, 0, 0.16)`,"oc-opa-24":`rgba(251, 171, 0, 0.24)`,"br-02":`rgba(101, 98, 255, 1)`,"br-06":`rgba(4, 0, 230, 1)`,"br-07":`rgba(95, 194, 255, 1)`,"br-opa-10":`rgba(101, 98, 255, 0.1)`,"br-opa-16":`rgba(101, 98, 255, 0.16)`,"br-opa-24":`rgba(101, 98, 255, 0.24)`},d=({red:e,green:t,blue:n},r)=>`rgba(${e}, ${t}, ${n}, ${r})`,f=e=>({brand:d(e,1),"brand-hover":`rgba(${n(`${e.red}, ${e.green}, ${e.blue}`)}, 1)`,"brand-opa-10":d(e,.1),"brand-opa-16":d(e,.16),"brand-opa-24":d(e,.24),"brand-opa-32":d(e,.32)}),p={"bg-primary":{autofleet:{light:`n-00`,dark:`n-05`},whiteLabel:{light:`n-00`,dark:`n-05`}},"bg-secondary":{autofleet:{light:`n-01`,dark:`n-04`},whiteLabel:{light:`n-01`,dark:`n-04`}},"bg-info":{autofleet:{light:`b-01`,dark:`b-04`},whiteLabel:{light:`b-01`,dark:`b-04`}},"bg-success":{autofleet:{light:`g-01`,dark:`g-04`},whiteLabel:{light:`g-01`,dark:`g-04`}},"bg-warning":{autofleet:{light:`y-01`,dark:`y-04`},whiteLabel:{light:`y-01`,dark:`y-04`}},"bg-error":{autofleet:{light:`r-01`,dark:`r-04`},whiteLabel:{light:`r-01`,dark:`r-04`}},"divider-neutral":{autofleet:{light:`n-opa-32`,dark:`n-opa-32`},whiteLabel:{light:`n-opa-32`,dark:`n-opa-32`}},"divider-invert":{autofleet:{light:`n-00-opa-32`,dark:`n-00-opa-32`},whiteLabel:{light:`n-00-opa-32`,dark:`n-00-opa-32`}},"divider-brand":{autofleet:{light:`brand-opa-32`,dark:`brand-opa-32`},whiteLabel:{light:`brand-opa-32`,dark:`brand-opa-32`}},"divider-info":{autofleet:{light:`b-opa-32`,dark:`b-opa-32`},whiteLabel:{light:`b-opa-32`,dark:`b-opa-32`}},"divider-success":{autofleet:{light:`g-opa-32`,dark:`g-opa-32`},whiteLabel:{light:`g-opa-32`,dark:`g-opa-32`}},"divider-warning":{autofleet:{light:`y-opa-32`,dark:`y-opa-32`},whiteLabel:{light:`y-opa-32`,dark:`y-opa-32`}},"divider-error":{autofleet:{light:`r-opa-32`,dark:`r-opa-32`},whiteLabel:{light:`r-opa-32`,dark:`r-opa-32`}},"primary-btn":{autofleet:{light:`brand`,dark:`brand`},whiteLabel:{light:`brand`,dark:`brand`}},"primary-btn-hover":{autofleet:{light:`brand-hover`,dark:`brand-hover`},whiteLabel:{light:`brand-hover`,dark:`brand-hover`}},"primary-btn-opa-01":{autofleet:{light:`brand-opa-10`,dark:`brand-opa-16`},whiteLabel:{light:`brand-opa-10`,dark:`brand-opa-16`}},"primary-btn-opa-02":{autofleet:{light:`brand-opa-24`,dark:`brand-opa-24`},whiteLabel:{light:`brand-opa-24`,dark:`brand-opa-24`}},other:{autofleet:{light:`brand`,dark:`brand`},whiteLabel:{light:`n-05`,dark:`n-00`}},"other-hover":{autofleet:{light:`brand-hover`,dark:`brand-hover`},whiteLabel:{light:`n-03`,dark:`n-02`}},"other-opa-01":{autofleet:{light:`brand-opa-10`,dark:`brand-opa-16`},whiteLabel:{light:`n-opa-10`,dark:`n-opa-16`}},"other-opa-02":{autofleet:{light:`brand-opa-24`,dark:`brand-opa-24`},whiteLabel:{light:`n-opa-24`,dark:`n-opa-24`}},"other-text":{autofleet:{light:`b-06`,dark:`b-07`},whiteLabel:{light:`n-05`,dark:`b-07`}},"neutral-dark":{autofleet:{light:`n-05`,dark:`n-00`},whiteLabel:{light:`n-05`,dark:`n-00`}},"neutral-charcoal":{autofleet:{light:`n-03`,dark:`n-02`},whiteLabel:{light:`n-03`,dark:`n-02`}},"neutral-light":{autofleet:{light:`n-02`,dark:`n-03`},whiteLabel:{light:`n-02`,dark:`n-03`}},"neutral-invert":{autofleet:{light:`n-00`,dark:`n-05`},whiteLabel:{light:`n-00`,dark:`n-05`}},"neutral-opa-01":{autofleet:{light:`n-opa-10`,dark:`n-opa-16`},whiteLabel:{light:`n-opa-10`,dark:`n-opa-16`}},"neutral-opa-02":{autofleet:{light:`n-opa-24`,dark:`n-opa-24`},whiteLabel:{light:`n-opa-24`,dark:`n-opa-24`}},"info-hover":{autofleet:{light:`b-03`,dark:`b-05`},whiteLabel:{light:`b-03`,dark:`b-05`}},info:{autofleet:{light:`b-02`,dark:`b-02`},whiteLabel:{light:`b-02`,dark:`b-02`}},"info-opa-01":{autofleet:{light:`b-opa-10`,dark:`b-opa-16`},whiteLabel:{light:`b-opa-10`,dark:`b-opa-16`}},"info-opa-02":{autofleet:{light:`b-opa-24`,dark:`b-opa-24`},whiteLabel:{light:`b-opa-24`,dark:`b-opa-24`}},"info-text":{autofleet:{light:`b-06`,dark:`b-07`},whiteLabel:{light:`b-06`,dark:`b-07`}},"success-hover":{autofleet:{light:`g-03`,dark:`g-05`},whiteLabel:{light:`g-03`,dark:`g-05`}},success:{autofleet:{light:`g-02`,dark:`g-02`},whiteLabel:{light:`g-02`,dark:`g-02`}},"success-opa-01":{autofleet:{light:`g-opa-10`,dark:`g-opa-16`},whiteLabel:{light:`g-opa-10`,dark:`g-opa-16`}},"success-opa-02":{autofleet:{light:`g-opa-24`,dark:`g-opa-24`},whiteLabel:{light:`g-opa-24`,dark:`g-opa-24`}},"success-text":{autofleet:{light:`g-06`,dark:`g-07`},whiteLabel:{light:`g-06`,dark:`g-07`}},"warning-hover":{autofleet:{light:`y-03`,dark:`y-05`},whiteLabel:{light:`y-03`,dark:`y-05`}},warning:{autofleet:{light:`y-02`,dark:`y-02`},whiteLabel:{light:`y-02`,dark:`y-02`}},"warning-opa-01":{autofleet:{light:`y-opa-10`,dark:`y-opa-16`},whiteLabel:{light:`y-opa-10`,dark:`y-opa-16`}},"warning-opa-02":{autofleet:{light:`y-opa-24`,dark:`y-opa-24`},whiteLabel:{light:`y-opa-24`,dark:`y-opa-24`}},"warning-text":{autofleet:{light:`y-06`,dark:`y-07`},whiteLabel:{light:`y-06`,dark:`y-07`}},"error-hover":{autofleet:{light:`r-03`,dark:`r-05`},whiteLabel:{light:`r-03`,dark:`r-05`}},error:{autofleet:{light:`r-02`,dark:`r-02`},whiteLabel:{light:`r-02`,dark:`r-02`}},"error-opa-01":{autofleet:{light:`r-opa-10`,dark:`r-opa-16`},whiteLabel:{light:`r-opa-10`,dark:`r-opa-16`}},"error-opa-02":{autofleet:{light:`r-opa-24`,dark:`r-opa-24`},whiteLabel:{light:`r-opa-24`,dark:`r-opa-24`}},"error-text":{autofleet:{light:`r-06`,dark:`r-07`},whiteLabel:{light:`r-06`,dark:`r-07`}},purple:{autofleet:{light:`pu-02`,dark:`pu-02`},whiteLabel:{light:`pu-02`,dark:`pu-02`}},"purple-opa-01":{autofleet:{light:`pu-opa-10`,dark:`pu-opa-16`},whiteLabel:{light:`pu-opa-10`,dark:`pu-opa-16`}},"purple-opa-02":{autofleet:{light:`pu-opa-24`,dark:`pu-opa-24`},whiteLabel:{light:`pu-opa-24`,dark:`pu-opa-24`}},"purple-text":{autofleet:{light:`pu-06`,dark:`pu-07`},whiteLabel:{light:`pu-06`,dark:`pu-07`}},orange:{autofleet:{light:`or-02`,dark:`or-02`},whiteLabel:{light:`or-02`,dark:`or-02`}},"orange-opa-01":{autofleet:{light:`or-opa-10`,dark:`or-opa-16`},whiteLabel:{light:`or-opa-10`,dark:`or-opa-16`}},"orange-opa-02":{autofleet:{light:`or-opa-24`,dark:`or-opa-24`},whiteLabel:{light:`or-opa-24`,dark:`or-opa-24`}},"orange-text":{autofleet:{light:`or-06`,dark:`or-07`},whiteLabel:{light:`or-06`,dark:`or-07`}},turquoise:{autofleet:{light:`tu-02`,dark:`tu-02`},whiteLabel:{light:`tu-02`,dark:`tu-02`}},"turquoise-opa-01":{autofleet:{light:`tu-opa-10`,dark:`tu-opa-16`},whiteLabel:{light:`tu-opa-10`,dark:`tu-opa-16`}},"turquoise-opa-02":{autofleet:{light:`tu-opa-24`,dark:`tu-opa-24`},whiteLabel:{light:`tu-opa-24`,dark:`tu-opa-24`}},"turquoise-text":{autofleet:{light:`tu-06`,dark:`tu-07`},whiteLabel:{light:`tu-06`,dark:`tu-07`}},pink:{autofleet:{light:`pi-02`,dark:`pi-02`},whiteLabel:{light:`pi-02`,dark:`pi-02`}},"pink-opa-01":{autofleet:{light:`pi-opa-10`,dark:`pi-opa-16`},whiteLabel:{light:`pi-opa-10`,dark:`pi-opa-16`}},"pink-opa-02":{autofleet:{light:`pi-opa-24`,dark:`pi-opa-24`},whiteLabel:{light:`pi-opa-24`,dark:`pi-opa-24`}},"pink-text":{autofleet:{light:`pi-06`,dark:`pi-07`},whiteLabel:{light:`pi-06`,dark:`pi-07`}},ultramarine:{autofleet:{light:`ul-02`,dark:`ul-02`},whiteLabel:{light:`ul-02`,dark:`ul-02`}},"ultramarine-opa-01":{autofleet:{light:`ul-opa-10`,dark:`ul-opa-16`},whiteLabel:{light:`ul-opa-10`,dark:`ul-opa-16`}},"ultramarine-opa-02":{autofleet:{light:`ul-opa-24`,dark:`ul-opa-24`},whiteLabel:{light:`ul-opa-24`,dark:`ul-opa-24`}},"ultramarine-text":{autofleet:{light:`ul-06`,dark:`ul-07`},whiteLabel:{light:`ul-06`,dark:`ul-07`}},peach:{autofleet:{light:`pe-02`,dark:`pe-02`},whiteLabel:{light:`pe-02`,dark:`pe-02`}},"peach-opa-01":{autofleet:{light:`pe-opa-10`,dark:`pe-opa-16`},whiteLabel:{light:`pe-opa-10`,dark:`pe-opa-16`}},"peach-opa-02":{autofleet:{light:`pe-opa-24`,dark:`pe-opa-24`},whiteLabel:{light:`pe-opa-24`,dark:`pe-opa-24`}},"peach-text":{autofleet:{light:`pe-06`,dark:`pe-07`},whiteLabel:{light:`pe-06`,dark:`pe-07`}},apple:{autofleet:{light:`ap-02`,dark:`ap-02`},whiteLabel:{light:`ap-02`,dark:`ap-02`}},"apple-opa-01":{autofleet:{light:`ap-opa-10`,dark:`ap-opa-16`},whiteLabel:{light:`ap-opa-10`,dark:`ap-opa-16`}},"apple-opa-02":{autofleet:{light:`ap-opa-24`,dark:`ap-opa-24`},whiteLabel:{light:`ap-opa-24`,dark:`ap-opa-24`}},"apple-text":{autofleet:{light:`ap-06`,dark:`ap-07`},whiteLabel:{light:`ap-06`,dark:`ap-07`}},bubblegum:{autofleet:{light:`bu-02`,dark:`bu-02`},whiteLabel:{light:`bu-02`,dark:`bu-02`}},"bubblegum-opa-01":{autofleet:{light:`bu-opa-10`,dark:`bu-opa-16`},whiteLabel:{light:`bu-opa-10`,dark:`bu-opa-16`}},"bubblegum-opa-02":{autofleet:{light:`bu-opa-24`,dark:`bu-opa-24`},whiteLabel:{light:`bu-opa-24`,dark:`bu-opa-24`}},"bubblegum-text":{autofleet:{light:`bu-06`,dark:`bu-07`},whiteLabel:{light:`bu-06`,dark:`bu-07`}},ocher:{autofleet:{light:`oc-02`,dark:`oc-02`},whiteLabel:{light:`oc-02`,dark:`oc-02`}},"ocher-opa-01":{autofleet:{light:`oc-opa-10`,dark:`oc-opa-16`},whiteLabel:{light:`oc-opa-10`,dark:`oc-opa-16`}},"ocher-opa-02":{autofleet:{light:`oc-opa-24`,dark:`oc-opa-24`},whiteLabel:{light:`oc-opa-24`,dark:`oc-opa-24`}},"ocher-text":{autofleet:{light:`oc-06`,dark:`oc-07`},whiteLabel:{light:`oc-06`,dark:`oc-07`}},blueberry:{autofleet:{light:`br-02`,dark:`br-02`},whiteLabel:{light:`br-02`,dark:`br-02`}},"blueberry-opa-01":{autofleet:{light:`br-opa-10`,dark:`br-opa-16`},whiteLabel:{light:`br-opa-10`,dark:`br-opa-16`}},"blueberry-opa-02":{autofleet:{light:`br-opa-24`,dark:`br-opa-24`},whiteLabel:{light:`br-opa-24`,dark:`br-opa-24`}},"blueberry-text":{autofleet:{light:`br-06`,dark:`br-07`},whiteLabel:{light:`br-06`,dark:`br-07`}}},m={...p,"neutral-text":p[`neutral-dark`],neutral:p[`neutral-light`]},h=e=>{let{lightMode:t,label:n,primaryColor:r}=e,i={...u,...r?f(r):{}};return Object.fromEntries(Object.entries(m).map(([e,r])=>{let a=r[n][t],o=i[a];return[e,o]}))},g={AUTOFLEET:`autofleet`,WHITE_LABELED:`whiteLabel`},_=({size:e,style:t,weight:n,lineHeight:r,family:i=`Montserrat, sans-serif !important`})=>`
|
|
2
|
+
font-family: ${i};
|
|
3
|
+
font-size: ${e};
|
|
4
|
+
font-style: ${t};
|
|
5
|
+
font-weight: ${n};
|
|
6
|
+
line-height: ${r};`,v={"typo-11":_({size:`48px`,style:`normal`,weight:`700`,lineHeight:`60px`}),"typo-10":_({size:`24px`,style:`normal`,weight:`700`,lineHeight:`60px`}),"typo-9":_({size:`24px`,style:`normal`,weight:`400`,lineHeight:`30px`}),"typo-8":_({size:`20px`,style:`normal`,weight:`700`,lineHeight:`26px`}),"typo-7":_({size:`18px`,style:`normal`,weight:`700`,lineHeight:`24px`}),"typo-6":_({size:`16px`,style:`normal`,weight:`500`,lineHeight:`24px`}),"typo-5":_({size:`16px`,style:`normal`,weight:`700`,lineHeight:`24px`}),"typo-4":_({size:`14px`,style:`normal`,weight:`500`,lineHeight:`20px`}),"typo-3":_({size:`14px`,style:`normal`,weight:`700`,lineHeight:`20px`}),"typo-2":_({size:`12px`,style:`normal`,weight:`700`,lineHeight:`16px`}),"typo-1":_({size:`12px`,style:`normal`,weight:`500`,lineHeight:`16px`})},y=()=>({desktop:{largeTitle:v[`typo-11`],mediumTitle:v[`typo-10`],placeHolderTitleInput:v[`typo-9`],smallTitle:v[`typo-7`],fine:v[`typo-1`],fineStrong:v[`typo-2`],bodyStrong:v[`typo-3`],body:v[`typo-4`]},mobile:{bodyStrong:v[`typo-5`],body:v[`typo-6`],smallTitle:v[`typo-8`],largeTitle:v[`typo-10`],fineStrong:v[`typo-3`],fine:v[`typo-4`]}}),b={NONE:`0px`,XS:`2px`,SM:`4px`,MD:`6px`,LG:`8px`,XL:`12px`,"2XL":`16px`,"3XL":`24px`,"4XL":`32px`,"5XL":`40px`,"6XL":`48px`,"7XL":`56px`,"8XL":`64px`},x=(e,t)=>e.startsWith(`rgba(`)?e.replace(/(rgba\(\d{1,3},\s?\d{1,3},\s?\d{1,3}(?:,|\s?\/)\s?)((?:\d\.)?\d)(\))/,`$1${t}$3`):e,S=(e,t=12)=>`${b.NONE} ${b.XS} ${b.SM} ${x(e,t/100)}`,C=(e,t=12)=>`${b.NONE} ${b.SM} ${b.LG} ${x(e,t/100)}`,w=(e,t=16)=>`${b.NONE} ${b.LG} ${b[`5XL`]} ${x(e,t/100)}`,T=e=>({"shadow-map-element":`${b.NONE} 3px ${b.LG} ${x(e[`neutral-dark`],.32)}`,"shadow-neutral-low":S(e[`neutral-dark`],8),"shadow-neutral-medium":C(e[`neutral-dark`],8),"shadow-neutral-high":w(e[`neutral-dark`]),"shadow-info-low":S(e.info),"shadow-info-medium":C(e.info),"shadow-info-high":w(e.info),"shadow-success-low":S(e.success),"shadow-success-medium":C(e.success),"shadow-success-high":w(e.success),"shadow-warning-low":S(e.warning),"shadow-warning-medium":C(e.warning),"shadow-warning-high":w(e.warning),"shadow-error-low":S(e.error),"shadow-error-medium":C(e.error),"shadow-error-high":w(e.error)}),E={NONE:`0px`,XS:`2px`,SM:`4px`,MD:`6px`,LG:`8px`,XL:`16px`,"2XL":`24px`},D=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,parseInt(t,10)])),O=()=>({borderRadius:E,spacings:b,spacingNumbers:D(b),borderRadiusNumbers:D(E)}),k=`bg-primary.bg-secondary.bg-info.bg-success.bg-warning.bg-error.divider-neutral.divider-invert.divider-brand.divider-info.divider-success.divider-warning.divider-error.primary-btn.primary-btn-hover.primary-btn-opa-01.primary-btn-opa-02.other.other-hover.other-opa-01.other-opa-02.other-text.neutral.neutral-dark.neutral-text.neutral-charcoal.neutral-light.neutral-invert.neutral-opa-01.neutral-opa-02.info-hover.info.info-opa-01.info-opa-02.info-text.success-hover.success.success-opa-01.success-opa-02.success-text.warning-hover.warning.warning-opa-01.warning-opa-02.warning-text.error-hover.error.error-opa-01.error-opa-02.error-text.purple.purple-opa-01.purple-opa-02.purple-text.orange.orange-opa-01.orange-opa-02.orange-text.turquoise.turquoise-opa-01.turquoise-opa-02.turquoise-text.pink.pink-opa-01.pink-opa-02.pink-text.ultramarine.ultramarine-opa-01.ultramarine-opa-02.ultramarine-text.peach.peach-opa-01.peach-opa-02.peach-text.apple.apple-opa-01.apple-opa-02.apple-text.bubblegum.bubblegum-opa-01.bubblegum-opa-02.bubblegum-text.ocher.ocher-opa-01.ocher-opa-02.ocher-text.blueberry.blueberry-opa-01.blueberry-opa-02.blueberry-text`.split(`.`),A=k.filter(e=>!e.includes(`-`)),j=({isDarkMode:e,label:t=g.AUTOFLEET,primaryColor:n})=>{let r=h({lightMode:e?`dark`:`light`,label:t,primaryColor:n});return{...O(),colors:r,fonts:y(),shadows:T(r)}};export{s as COLORS_DARK_MODE_HANDLED,k as COLOR_TOKENS,n as adjustBrightness,l as getColorVariants,j as loadThemeStyles,A as mainColorTokens};
|
|
7
|
+
//# sourceMappingURL=index.js.map
|