@companycam/slab-web 0.0.2-20
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/bundle.js +1413 -0
- package/package.json +62 -0
- package/shared/index.js +13 -0
- package/shared/legacyStyles.js +78 -0
- package/shared/package.json +3 -0
- package/shared/styles.js +40 -0
- package/shared/theming/CCThemeProvider.js +22 -0
- package/shared/theming/CCThemeProvider.native.js +22 -0
- package/shared/theming/themes/base.js +43 -0
- package/shared/theming/themes/dark_environment.js +51 -0
- package/shared/theming/themes/light_environment.js +51 -0
- package/shared/theming/useCCTheme.js +16 -0
- package/shared/theming/utils.js +23 -0
- package/shared/theming/withTheme.js +29 -0
- package/shared/tokens/build/css/base.css +362 -0
- package/shared/tokens/build/css/dark_environment.css +258 -0
- package/shared/tokens/build/css/light_environment.css +258 -0
- package/shared/tokens/build/docs/token_docs.js +993 -0
- package/shared/tokens/build/js/tokens.js +120 -0
- package/shared/tokens/build/json/tokens.json +117 -0
- package/shared/tokens/build/scss/tokens.scss +119 -0
- package/shared/tokens/config.js +231 -0
- package/shared/tokens/properties/color.json +316 -0
- package/shared/tokens/properties/size.json +113 -0
- package/web/components/Icon/Icon.js +92 -0
- package/web/components/Icon/index.js +3 -0
- package/web/components/Icon/names.js +3 -0
- package/web/components/Icon/utils.js +12 -0
- package/web/components/index.js +3 -0
- package/web/index.js +6 -0
package/dist/bundle.js
ADDED
|
@@ -0,0 +1,1413 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var PropTypes = require('prop-types');
|
|
7
|
+
var styled = require('styled-components');
|
|
8
|
+
var MdiIcon = require('@mdi/react');
|
|
9
|
+
var require$$0 = require('react-is');
|
|
10
|
+
var js = require('@mdi/js');
|
|
11
|
+
|
|
12
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
+
|
|
14
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
|
+
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
16
|
+
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
17
|
+
var MdiIcon__default = /*#__PURE__*/_interopDefaultLegacy(MdiIcon);
|
|
18
|
+
var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0);
|
|
19
|
+
|
|
20
|
+
var color_brand_primary = "#0967d2";
|
|
21
|
+
var color_brand_secondary = "#142334";
|
|
22
|
+
var color_brand_accent = "#ffd000";
|
|
23
|
+
var color_brand_upgrade = "#0ce8d6";
|
|
24
|
+
var color_utility_destroy = "#ef4e4e";
|
|
25
|
+
var color_utility_caution = "#ffd000";
|
|
26
|
+
var color_utility_success = "#3ebd93";
|
|
27
|
+
var color_utility_info_le = "#4d5a68";
|
|
28
|
+
var color_utility_info_de = "#4d5a68";
|
|
29
|
+
var color_background_1_le = "#ffffff";
|
|
30
|
+
var color_background_1_de = "#142334";
|
|
31
|
+
var color_background_2_le = "#f5f7fa";
|
|
32
|
+
var color_background_2_de = "#192d43";
|
|
33
|
+
var color_background_3_le = "#ebeff5";
|
|
34
|
+
var color_background_3_de = "#1f3751";
|
|
35
|
+
var color_background_backdrop = "rgba(31, 55, 81, 0.75)";
|
|
36
|
+
var color_text_default_le = "#142334";
|
|
37
|
+
var color_text_default_de = "#ffffff";
|
|
38
|
+
var color_text_subtle_le = "#4d5a68";
|
|
39
|
+
var color_text_subtle_de = "#c3c8cc";
|
|
40
|
+
var color_text_nonessential_le = "#8191a2";
|
|
41
|
+
var color_text_nonessential_de = "#a0a7af";
|
|
42
|
+
var color_button_background_primary_le = "#0967d2";
|
|
43
|
+
var color_button_background_primary_de = "#6fabf1";
|
|
44
|
+
var color_button_background_secondary_le = "#1f3751";
|
|
45
|
+
var color_button_background_secondary_de = "#ffffff";
|
|
46
|
+
var color_button_background_subtle_le = "#ebeff5";
|
|
47
|
+
var color_button_background_subtle_de = "#2a415a";
|
|
48
|
+
var color_button_background_destroy = "#ef4e4e";
|
|
49
|
+
var color_button_background_success = "#3ebd93";
|
|
50
|
+
var color_button_background_tint_le = "#e5f1ff";
|
|
51
|
+
var color_button_background_tint_de = "rgba(255, 255, 255, 0.1)";
|
|
52
|
+
var color_button_text_primary_le = "#ffffff";
|
|
53
|
+
var color_button_text_primary_de = "#142334";
|
|
54
|
+
var color_button_text_secondary_le = "#ffffff";
|
|
55
|
+
var color_button_text_secondary_de = "#142334";
|
|
56
|
+
var color_button_text_subtle_le = "#4d5a68";
|
|
57
|
+
var color_button_text_subtle_de = "#c3c8cc";
|
|
58
|
+
var color_button_text_destroy_le = "#ffffff";
|
|
59
|
+
var color_button_text_destroy_de = "#142334";
|
|
60
|
+
var color_button_text_success_le = "#ffffff";
|
|
61
|
+
var color_button_text_success_de = "#142334";
|
|
62
|
+
var color_link_primary_le = "#0967d2";
|
|
63
|
+
var color_link_primary_de = "#6fabf1";
|
|
64
|
+
var color_link_secondary_le = "#142334";
|
|
65
|
+
var color_link_secondary_de = "#ffffff";
|
|
66
|
+
var color_link_subtle_le = "#4d5a68";
|
|
67
|
+
var color_link_subtle_de = "#c3c8cc";
|
|
68
|
+
var color_border_default_le = "rgba(20, 35, 52, 0.12)";
|
|
69
|
+
var color_border_default_de = "rgba(255, 255, 255, 0.15)";
|
|
70
|
+
var color_border_input_inactive_le = "rgba(20, 35, 52, 0.2)";
|
|
71
|
+
var color_border_input_inactive_de = "rgba(255, 255, 255, 0.22)";
|
|
72
|
+
var color_border_input_active_le = "#0967d2";
|
|
73
|
+
var color_border_input_active_de = "#6fabf1";
|
|
74
|
+
var color_depth_1_le = "rgba(20, 35, 52, 0.13)";
|
|
75
|
+
var color_depth_1_de = "rgba(6, 10, 16, 0.5)";
|
|
76
|
+
var color_depth_2_le = "rgba(20, 35, 52, 0.13)";
|
|
77
|
+
var color_depth_2_de = "rgba(6, 10, 16, 0.6)";
|
|
78
|
+
var color_depth_3_le = "rgba(20, 35, 52, 0.2)";
|
|
79
|
+
var color_depth_3_de = "rgba(6, 10, 16, 0.7)";
|
|
80
|
+
var color_label_green = "#31a03c";
|
|
81
|
+
var color_label_blue = "#4191ed";
|
|
82
|
+
var color_label_purple = "#a227c5";
|
|
83
|
+
var color_label_navy = "#354b62";
|
|
84
|
+
var color_label_yellow = "#ffd000";
|
|
85
|
+
var color_label_orange = "#e76119";
|
|
86
|
+
var color_label_red = "#c73732";
|
|
87
|
+
var color_label_light_gray = "#828c95";
|
|
88
|
+
var color_label_dark_gray = "#4d5a68";
|
|
89
|
+
var color_collab_purple = "#a227c5";
|
|
90
|
+
var color_collab_orange = "#e76119";
|
|
91
|
+
var color_collab_green = "#31a03c";
|
|
92
|
+
var color_collab_blue = "#4191ed";
|
|
93
|
+
var color_collab_red = "#c73732";
|
|
94
|
+
var color_collab_yellow = "#d28e09";
|
|
95
|
+
var color_collab_navy = "#354b62";
|
|
96
|
+
var color_collab_plum = "#413ecf";
|
|
97
|
+
var color_collab_magenta = "#d63baa";
|
|
98
|
+
var color_collab_brown = "#745138";
|
|
99
|
+
var color_collab_owner = "#ffd000";
|
|
100
|
+
var size_spacing_xxs = 2;
|
|
101
|
+
var size_spacing_xs = 4;
|
|
102
|
+
var size_spacing_s = 8;
|
|
103
|
+
var size_spacing_m = 16;
|
|
104
|
+
var size_spacing_l = 24;
|
|
105
|
+
var size_spacing_xl = 32;
|
|
106
|
+
var size_spacing_xxl = 48;
|
|
107
|
+
var size_border_width_s = 1;
|
|
108
|
+
var size_border_width_m = 2;
|
|
109
|
+
var size_border_width_l = 4;
|
|
110
|
+
var size_border_width_xl = 8;
|
|
111
|
+
var size_border_radius_s = 2;
|
|
112
|
+
var size_border_radius_m = 4;
|
|
113
|
+
var size_border_radius_l = 8;
|
|
114
|
+
var size_border_radius_xl = 16;
|
|
115
|
+
var size_border_radius_xxl = 24;
|
|
116
|
+
var size_border_radius_pill = 1000;
|
|
117
|
+
var size_text_xxs = 10;
|
|
118
|
+
var size_text_xs = 12;
|
|
119
|
+
var size_text_s = 14;
|
|
120
|
+
var size_text_m = 16;
|
|
121
|
+
var size_text_l = 20;
|
|
122
|
+
var size_text_xl = 24;
|
|
123
|
+
var size_text_xxl = 32;
|
|
124
|
+
var size_text_xxxl = 42;
|
|
125
|
+
var size_avatar_xs = 16;
|
|
126
|
+
var size_avatar_s = 24;
|
|
127
|
+
var size_avatar_m = 32;
|
|
128
|
+
var size_avatar_l = 40;
|
|
129
|
+
var size_depth_1_blur = 3;
|
|
130
|
+
var size_depth_1_y = 1;
|
|
131
|
+
var size_depth_2_blur = 6;
|
|
132
|
+
var size_depth_2_y = 2;
|
|
133
|
+
var size_depth_3_blur = 12;
|
|
134
|
+
var size_depth_3_y = 4;
|
|
135
|
+
var tokens = {
|
|
136
|
+
color_brand_primary: color_brand_primary,
|
|
137
|
+
color_brand_secondary: color_brand_secondary,
|
|
138
|
+
color_brand_accent: color_brand_accent,
|
|
139
|
+
color_brand_upgrade: color_brand_upgrade,
|
|
140
|
+
color_utility_destroy: color_utility_destroy,
|
|
141
|
+
color_utility_caution: color_utility_caution,
|
|
142
|
+
color_utility_success: color_utility_success,
|
|
143
|
+
color_utility_info_le: color_utility_info_le,
|
|
144
|
+
color_utility_info_de: color_utility_info_de,
|
|
145
|
+
color_background_1_le: color_background_1_le,
|
|
146
|
+
color_background_1_de: color_background_1_de,
|
|
147
|
+
color_background_2_le: color_background_2_le,
|
|
148
|
+
color_background_2_de: color_background_2_de,
|
|
149
|
+
color_background_3_le: color_background_3_le,
|
|
150
|
+
color_background_3_de: color_background_3_de,
|
|
151
|
+
color_background_backdrop: color_background_backdrop,
|
|
152
|
+
color_text_default_le: color_text_default_le,
|
|
153
|
+
color_text_default_de: color_text_default_de,
|
|
154
|
+
color_text_subtle_le: color_text_subtle_le,
|
|
155
|
+
color_text_subtle_de: color_text_subtle_de,
|
|
156
|
+
color_text_nonessential_le: color_text_nonessential_le,
|
|
157
|
+
color_text_nonessential_de: color_text_nonessential_de,
|
|
158
|
+
color_button_background_primary_le: color_button_background_primary_le,
|
|
159
|
+
color_button_background_primary_de: color_button_background_primary_de,
|
|
160
|
+
color_button_background_secondary_le: color_button_background_secondary_le,
|
|
161
|
+
color_button_background_secondary_de: color_button_background_secondary_de,
|
|
162
|
+
color_button_background_subtle_le: color_button_background_subtle_le,
|
|
163
|
+
color_button_background_subtle_de: color_button_background_subtle_de,
|
|
164
|
+
color_button_background_destroy: color_button_background_destroy,
|
|
165
|
+
color_button_background_success: color_button_background_success,
|
|
166
|
+
color_button_background_tint_le: color_button_background_tint_le,
|
|
167
|
+
color_button_background_tint_de: color_button_background_tint_de,
|
|
168
|
+
color_button_text_primary_le: color_button_text_primary_le,
|
|
169
|
+
color_button_text_primary_de: color_button_text_primary_de,
|
|
170
|
+
color_button_text_secondary_le: color_button_text_secondary_le,
|
|
171
|
+
color_button_text_secondary_de: color_button_text_secondary_de,
|
|
172
|
+
color_button_text_subtle_le: color_button_text_subtle_le,
|
|
173
|
+
color_button_text_subtle_de: color_button_text_subtle_de,
|
|
174
|
+
color_button_text_destroy_le: color_button_text_destroy_le,
|
|
175
|
+
color_button_text_destroy_de: color_button_text_destroy_de,
|
|
176
|
+
color_button_text_success_le: color_button_text_success_le,
|
|
177
|
+
color_button_text_success_de: color_button_text_success_de,
|
|
178
|
+
color_link_primary_le: color_link_primary_le,
|
|
179
|
+
color_link_primary_de: color_link_primary_de,
|
|
180
|
+
color_link_secondary_le: color_link_secondary_le,
|
|
181
|
+
color_link_secondary_de: color_link_secondary_de,
|
|
182
|
+
color_link_subtle_le: color_link_subtle_le,
|
|
183
|
+
color_link_subtle_de: color_link_subtle_de,
|
|
184
|
+
color_border_default_le: color_border_default_le,
|
|
185
|
+
color_border_default_de: color_border_default_de,
|
|
186
|
+
color_border_input_inactive_le: color_border_input_inactive_le,
|
|
187
|
+
color_border_input_inactive_de: color_border_input_inactive_de,
|
|
188
|
+
color_border_input_active_le: color_border_input_active_le,
|
|
189
|
+
color_border_input_active_de: color_border_input_active_de,
|
|
190
|
+
color_depth_1_le: color_depth_1_le,
|
|
191
|
+
color_depth_1_de: color_depth_1_de,
|
|
192
|
+
color_depth_2_le: color_depth_2_le,
|
|
193
|
+
color_depth_2_de: color_depth_2_de,
|
|
194
|
+
color_depth_3_le: color_depth_3_le,
|
|
195
|
+
color_depth_3_de: color_depth_3_de,
|
|
196
|
+
color_label_green: color_label_green,
|
|
197
|
+
color_label_blue: color_label_blue,
|
|
198
|
+
color_label_purple: color_label_purple,
|
|
199
|
+
color_label_navy: color_label_navy,
|
|
200
|
+
color_label_yellow: color_label_yellow,
|
|
201
|
+
color_label_orange: color_label_orange,
|
|
202
|
+
color_label_red: color_label_red,
|
|
203
|
+
color_label_light_gray: color_label_light_gray,
|
|
204
|
+
color_label_dark_gray: color_label_dark_gray,
|
|
205
|
+
color_collab_purple: color_collab_purple,
|
|
206
|
+
color_collab_orange: color_collab_orange,
|
|
207
|
+
color_collab_green: color_collab_green,
|
|
208
|
+
color_collab_blue: color_collab_blue,
|
|
209
|
+
color_collab_red: color_collab_red,
|
|
210
|
+
color_collab_yellow: color_collab_yellow,
|
|
211
|
+
color_collab_navy: color_collab_navy,
|
|
212
|
+
color_collab_plum: color_collab_plum,
|
|
213
|
+
color_collab_magenta: color_collab_magenta,
|
|
214
|
+
color_collab_brown: color_collab_brown,
|
|
215
|
+
color_collab_owner: color_collab_owner,
|
|
216
|
+
size_spacing_xxs: size_spacing_xxs,
|
|
217
|
+
size_spacing_xs: size_spacing_xs,
|
|
218
|
+
size_spacing_s: size_spacing_s,
|
|
219
|
+
size_spacing_m: size_spacing_m,
|
|
220
|
+
size_spacing_l: size_spacing_l,
|
|
221
|
+
size_spacing_xl: size_spacing_xl,
|
|
222
|
+
size_spacing_xxl: size_spacing_xxl,
|
|
223
|
+
size_border_width_s: size_border_width_s,
|
|
224
|
+
size_border_width_m: size_border_width_m,
|
|
225
|
+
size_border_width_l: size_border_width_l,
|
|
226
|
+
size_border_width_xl: size_border_width_xl,
|
|
227
|
+
size_border_radius_s: size_border_radius_s,
|
|
228
|
+
size_border_radius_m: size_border_radius_m,
|
|
229
|
+
size_border_radius_l: size_border_radius_l,
|
|
230
|
+
size_border_radius_xl: size_border_radius_xl,
|
|
231
|
+
size_border_radius_xxl: size_border_radius_xxl,
|
|
232
|
+
size_border_radius_pill: size_border_radius_pill,
|
|
233
|
+
size_text_xxs: size_text_xxs,
|
|
234
|
+
size_text_xs: size_text_xs,
|
|
235
|
+
size_text_s: size_text_s,
|
|
236
|
+
size_text_m: size_text_m,
|
|
237
|
+
size_text_l: size_text_l,
|
|
238
|
+
size_text_xl: size_text_xl,
|
|
239
|
+
size_text_xxl: size_text_xxl,
|
|
240
|
+
size_text_xxxl: size_text_xxxl,
|
|
241
|
+
size_avatar_xs: size_avatar_xs,
|
|
242
|
+
size_avatar_s: size_avatar_s,
|
|
243
|
+
size_avatar_m: size_avatar_m,
|
|
244
|
+
size_avatar_l: size_avatar_l,
|
|
245
|
+
size_depth_1_blur: size_depth_1_blur,
|
|
246
|
+
size_depth_1_y: size_depth_1_y,
|
|
247
|
+
size_depth_2_blur: size_depth_2_blur,
|
|
248
|
+
size_depth_2_y: size_depth_2_y,
|
|
249
|
+
size_depth_3_blur: size_depth_3_blur,
|
|
250
|
+
size_depth_3_y: size_depth_3_y
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
({
|
|
254
|
+
name: "base",
|
|
255
|
+
color: {
|
|
256
|
+
brand: {
|
|
257
|
+
primary: tokens.color_brand_primary,
|
|
258
|
+
secondary: tokens.color_brand_secondary,
|
|
259
|
+
accent: tokens.color_brand_accent,
|
|
260
|
+
upgrade: tokens.color_brand_upgrade
|
|
261
|
+
},
|
|
262
|
+
collab: {
|
|
263
|
+
purple: tokens.color_collab_purple,
|
|
264
|
+
orange: tokens.color_collab_orange,
|
|
265
|
+
green: tokens.color_collab_green,
|
|
266
|
+
blue: tokens.color_collab_blue,
|
|
267
|
+
red: tokens.color_collab_red,
|
|
268
|
+
yellow: tokens.color_collab_yellow,
|
|
269
|
+
navy: tokens.color_collab_navy,
|
|
270
|
+
plum: tokens.color_collab_plum,
|
|
271
|
+
magenta: tokens.color_collab_magenta,
|
|
272
|
+
brown: tokens.color_collab_brown,
|
|
273
|
+
owner: tokens.color_collab_owner
|
|
274
|
+
},
|
|
275
|
+
label: {
|
|
276
|
+
green: tokens.color_label_green,
|
|
277
|
+
blue: tokens.color_label_blue,
|
|
278
|
+
purple: tokens.color_label_purple,
|
|
279
|
+
navy: tokens.color_label_navy,
|
|
280
|
+
yellow: tokens.color_label_yellow,
|
|
281
|
+
orange: tokens.color_label_orange,
|
|
282
|
+
red: tokens.color_label_red,
|
|
283
|
+
lightGray: tokens.color_label_light_gray,
|
|
284
|
+
darkGray: tokens.color_label_dark_gray
|
|
285
|
+
},
|
|
286
|
+
utility: {
|
|
287
|
+
success: tokens.color_utility_success,
|
|
288
|
+
caution: tokens.color_utility_caution,
|
|
289
|
+
destroy: tokens.color_utility_destroy,
|
|
290
|
+
info: tokens.color_utility_info
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
|
|
295
|
+
({
|
|
296
|
+
name: "light_environment",
|
|
297
|
+
dark: false,
|
|
298
|
+
color: {
|
|
299
|
+
background: {
|
|
300
|
+
1: tokens.color_background_1_le,
|
|
301
|
+
2: tokens.color_background_2_le,
|
|
302
|
+
3: tokens.color_background_3_le
|
|
303
|
+
},
|
|
304
|
+
border: {
|
|
305
|
+
default: tokens.color_border_default_le,
|
|
306
|
+
input: {
|
|
307
|
+
active: tokens.color_border_input_active_le,
|
|
308
|
+
inactive: tokens.color_border_input_inactive_le
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
button: {
|
|
312
|
+
background: {
|
|
313
|
+
primary: tokens.color_button_background_primary_le,
|
|
314
|
+
secondary: tokens.color_button_background_secondary_le,
|
|
315
|
+
subtle: tokens.color_button_background_subtle_le,
|
|
316
|
+
tint: tokens.color_button_background_tint_le
|
|
317
|
+
},
|
|
318
|
+
text: {
|
|
319
|
+
primary: tokens.color_button_text_primary_le,
|
|
320
|
+
secondary: tokens.color_button_text_secondary_le,
|
|
321
|
+
subtle: tokens.color_button_text_subtle_le
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
link: {
|
|
325
|
+
primary: tokens.color_link_primary_le,
|
|
326
|
+
secondary: tokens.color_link_secondary_le,
|
|
327
|
+
subtle: tokens.color_link_subtle_le
|
|
328
|
+
},
|
|
329
|
+
depth: {
|
|
330
|
+
1: tokens.color_depth_1_le,
|
|
331
|
+
2: tokens.color_depth_2_le,
|
|
332
|
+
3: tokens.color_depth_3_le
|
|
333
|
+
},
|
|
334
|
+
text: {
|
|
335
|
+
default: tokens.color_text_default_le,
|
|
336
|
+
subtle: tokens.color_text_subtle_le,
|
|
337
|
+
nonessential: tokens.color_text_nonessential_le
|
|
338
|
+
},
|
|
339
|
+
utility: {
|
|
340
|
+
info: tokens.color_utility_info_le
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
|
|
345
|
+
var reactIs = require$$0__default["default"];
|
|
346
|
+
var FORWARD_REF_STATICS = {
|
|
347
|
+
'$$typeof': true,
|
|
348
|
+
render: true,
|
|
349
|
+
defaultProps: true,
|
|
350
|
+
displayName: true,
|
|
351
|
+
propTypes: true
|
|
352
|
+
};
|
|
353
|
+
var MEMO_STATICS = {
|
|
354
|
+
'$$typeof': true,
|
|
355
|
+
compare: true,
|
|
356
|
+
defaultProps: true,
|
|
357
|
+
displayName: true,
|
|
358
|
+
propTypes: true,
|
|
359
|
+
type: true
|
|
360
|
+
};
|
|
361
|
+
var TYPE_STATICS = {};
|
|
362
|
+
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
363
|
+
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
364
|
+
|
|
365
|
+
({
|
|
366
|
+
name: "dark_environment",
|
|
367
|
+
dark: true,
|
|
368
|
+
color: {
|
|
369
|
+
background: {
|
|
370
|
+
1: tokens.color_background_1_de,
|
|
371
|
+
2: tokens.color_background_2_de,
|
|
372
|
+
3: tokens.color_background_3_de
|
|
373
|
+
},
|
|
374
|
+
border: {
|
|
375
|
+
default: tokens.color_border_default_de,
|
|
376
|
+
input: {
|
|
377
|
+
active: tokens.color_border_input_active_de,
|
|
378
|
+
inactive: tokens.color_border_input_inactive_de
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
button: {
|
|
382
|
+
background: {
|
|
383
|
+
primary: tokens.color_button_background_primary_de,
|
|
384
|
+
secondary: tokens.color_button_background_secondary_de,
|
|
385
|
+
subtle: tokens.color_button_background_subtle_de,
|
|
386
|
+
tint: tokens.color_button_background_tint_de
|
|
387
|
+
},
|
|
388
|
+
text: {
|
|
389
|
+
primary: tokens.color_button_text_primary_de,
|
|
390
|
+
secondary: tokens.color_button_text_secondary_de,
|
|
391
|
+
subtle: tokens.color_button_text_subtle_de
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
link: {
|
|
395
|
+
primary: tokens.color_link_primary_de,
|
|
396
|
+
secondary: tokens.color_link_secondary_de,
|
|
397
|
+
subtle: tokens.color_link_subtle_de
|
|
398
|
+
},
|
|
399
|
+
depth: {
|
|
400
|
+
1: tokens.color_depth_1_de,
|
|
401
|
+
2: tokens.color_depth_2_de,
|
|
402
|
+
3: tokens.color_depth_3_de
|
|
403
|
+
},
|
|
404
|
+
text: {
|
|
405
|
+
default: tokens.color_text_default_de,
|
|
406
|
+
subtle: tokens.color_text_subtle_de,
|
|
407
|
+
nonessential: tokens.color_text_nonessential_de
|
|
408
|
+
},
|
|
409
|
+
utility: {
|
|
410
|
+
info: tokens.color_utility_info_de
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
|
|
415
|
+
const MDI_NAMES = ["check", "upgrade"];
|
|
416
|
+
|
|
417
|
+
const mapNameToMdiIconPath = name => {
|
|
418
|
+
switch (name) {
|
|
419
|
+
case "check":
|
|
420
|
+
return js.mdiCheck;
|
|
421
|
+
|
|
422
|
+
case "upgrade":
|
|
423
|
+
return js.mdiLightningBolt;
|
|
424
|
+
|
|
425
|
+
default:
|
|
426
|
+
return null;
|
|
427
|
+
}
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
const getFontSize = size => {
|
|
431
|
+
if (size === "small") {
|
|
432
|
+
return tokens.size_text_s;
|
|
433
|
+
} else if (size === "medium") {
|
|
434
|
+
return tokens.size_text_m;
|
|
435
|
+
} else {
|
|
436
|
+
return tokens.size_text_l;
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
const UpgradeIconContainer = styled__default["default"].div`
|
|
441
|
+
${({
|
|
442
|
+
size
|
|
443
|
+
}) => styled.css`
|
|
444
|
+
padding: ${getFontSize(size) * 0.1}px;
|
|
445
|
+
height: ${getFontSize(size)}px;
|
|
446
|
+
width: ${getFontSize(size)}px;
|
|
447
|
+
border-radius: ${getFontSize(size)}px;
|
|
448
|
+
`}
|
|
449
|
+
background-color: ${tokens.color_brand_upgrade};
|
|
450
|
+
display: inline-flex;
|
|
451
|
+
align-items: center;
|
|
452
|
+
justify-content: center;
|
|
453
|
+
`;
|
|
454
|
+
|
|
455
|
+
const Icon = props => {
|
|
456
|
+
const {
|
|
457
|
+
name,
|
|
458
|
+
color,
|
|
459
|
+
size,
|
|
460
|
+
style,
|
|
461
|
+
className
|
|
462
|
+
} = props;
|
|
463
|
+
const iconColor = color || "var(--cc_color_text_default)";
|
|
464
|
+
|
|
465
|
+
if (!MDI_NAMES.includes(name)) {
|
|
466
|
+
throw new Error(`'${name}' is not a valid Slab icon name [@companycam/slab] `);
|
|
467
|
+
} // Return Vector Icon
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
const mdiIconPath = mapNameToMdiIconPath(name); // unique case: Upgrade Icon
|
|
471
|
+
|
|
472
|
+
if (name === "upgrade") {
|
|
473
|
+
const iconSize = getFontSize(size) * 0.8;
|
|
474
|
+
return /*#__PURE__*/React__default["default"].createElement(UpgradeIconContainer, {
|
|
475
|
+
className: className,
|
|
476
|
+
size: size,
|
|
477
|
+
style: style
|
|
478
|
+
}, /*#__PURE__*/React__default["default"].createElement(MdiIcon__default["default"], {
|
|
479
|
+
path: mdiIconPath,
|
|
480
|
+
size: `${iconSize}px`,
|
|
481
|
+
color: tokens.color_text_default_le
|
|
482
|
+
}));
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
return /*#__PURE__*/React__default["default"].createElement(MdiIcon__default["default"], {
|
|
486
|
+
path: mdiIconPath,
|
|
487
|
+
size: `${getFontSize(size)}px`,
|
|
488
|
+
color: iconColor
|
|
489
|
+
});
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
Icon.displayName = "Icon";
|
|
493
|
+
Icon.propTypes = {
|
|
494
|
+
name: PropTypes__default["default"].string.isRequired,
|
|
495
|
+
color: PropTypes__default["default"].string,
|
|
496
|
+
size: PropTypes__default["default"].oneOfType([PropTypes__default["default"].oneOf(["tiny", "small", "medium", "large"]), PropTypes__default["default"].number]),
|
|
497
|
+
style: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object
|
|
498
|
+
/* allow Icon to be extended as styled-component */
|
|
499
|
+
, PropTypes__default["default"].array]),
|
|
500
|
+
className: PropTypes__default["default"].string
|
|
501
|
+
};
|
|
502
|
+
Icon.defaultProps = {
|
|
503
|
+
name: "",
|
|
504
|
+
size: "small",
|
|
505
|
+
style: undefined,
|
|
506
|
+
className: undefined
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
const tokenDocs = [{
|
|
510
|
+
name: "color_brand_primary",
|
|
511
|
+
value: "#0967d2",
|
|
512
|
+
category: "color",
|
|
513
|
+
type: "brand",
|
|
514
|
+
item: "primary",
|
|
515
|
+
comment: "Our beloved CoCam deep blue. Use only for branding purposes.",
|
|
516
|
+
getsLightDarkWeb: true,
|
|
517
|
+
getsAlphaWeb: true,
|
|
518
|
+
isThemed: false
|
|
519
|
+
}, {
|
|
520
|
+
name: "color_brand_secondary",
|
|
521
|
+
value: "#142334",
|
|
522
|
+
category: "color",
|
|
523
|
+
type: "brand",
|
|
524
|
+
item: "secondary",
|
|
525
|
+
comment: "Complements our primary blue. Use only for branding purposes.",
|
|
526
|
+
getsLightDarkWeb: true,
|
|
527
|
+
getsAlphaWeb: true,
|
|
528
|
+
isThemed: false
|
|
529
|
+
}, {
|
|
530
|
+
name: "color_brand_accent",
|
|
531
|
+
value: "#ffd000",
|
|
532
|
+
category: "color",
|
|
533
|
+
type: "brand",
|
|
534
|
+
item: "accent",
|
|
535
|
+
comment: "Used to indicate something is new or coming soon. When used as a background color, pair with color_text_secondary.",
|
|
536
|
+
getsLightDarkWeb: true,
|
|
537
|
+
getsAlphaWeb: true,
|
|
538
|
+
isThemed: false
|
|
539
|
+
}, {
|
|
540
|
+
name: "color_brand_upgrade",
|
|
541
|
+
value: "#0ce8d6",
|
|
542
|
+
category: "color",
|
|
543
|
+
type: "brand",
|
|
544
|
+
item: "upgrade",
|
|
545
|
+
comment: "Used to indicate something is part of the Pro plan or part of an upgrade path. When used as a background color, pair with color_text_secondary.",
|
|
546
|
+
getsLightDarkWeb: true,
|
|
547
|
+
getsAlphaWeb: true,
|
|
548
|
+
isThemed: false
|
|
549
|
+
}, {
|
|
550
|
+
name: "color_utility_destroy",
|
|
551
|
+
value: "#ef4e4e",
|
|
552
|
+
category: "color",
|
|
553
|
+
type: "utility",
|
|
554
|
+
item: "destroy",
|
|
555
|
+
comment: "Use to warn the user of destructive actions or app errors.",
|
|
556
|
+
getsLightDarkWeb: true,
|
|
557
|
+
getsAlphaWeb: true,
|
|
558
|
+
isThemed: false
|
|
559
|
+
}, {
|
|
560
|
+
name: "color_utility_caution",
|
|
561
|
+
value: "#ffd000",
|
|
562
|
+
category: "color",
|
|
563
|
+
type: "utility",
|
|
564
|
+
item: "caution",
|
|
565
|
+
comment: "Use to call attention to important information or warnings.",
|
|
566
|
+
getsLightDarkWeb: true,
|
|
567
|
+
getsAlphaWeb: true,
|
|
568
|
+
isThemed: false
|
|
569
|
+
}, {
|
|
570
|
+
name: "color_utility_success",
|
|
571
|
+
value: "#3ebd93",
|
|
572
|
+
category: "color",
|
|
573
|
+
type: "utility",
|
|
574
|
+
item: "success",
|
|
575
|
+
comment: "Use to confirm a successfully completed action.",
|
|
576
|
+
getsLightDarkWeb: true,
|
|
577
|
+
getsAlphaWeb: true,
|
|
578
|
+
isThemed: false
|
|
579
|
+
}, {
|
|
580
|
+
name: "color_utility_info",
|
|
581
|
+
value: "#4d5a68",
|
|
582
|
+
category: "color",
|
|
583
|
+
type: "utility",
|
|
584
|
+
item: "info",
|
|
585
|
+
comment: "Use to inform the user about a neutral state or action.",
|
|
586
|
+
getsLightDarkWeb: true,
|
|
587
|
+
getsAlphaWeb: true,
|
|
588
|
+
isThemed: true
|
|
589
|
+
}, {
|
|
590
|
+
name: "color_background_1",
|
|
591
|
+
value: "#ffffff",
|
|
592
|
+
category: "color",
|
|
593
|
+
type: "background",
|
|
594
|
+
item: "1",
|
|
595
|
+
comment: "The default background color in light environments.",
|
|
596
|
+
getsLightDarkWeb: true,
|
|
597
|
+
getsAlphaWeb: true,
|
|
598
|
+
isThemed: true
|
|
599
|
+
}, {
|
|
600
|
+
name: "color_background_2",
|
|
601
|
+
value: "#f5f7fa",
|
|
602
|
+
category: "color",
|
|
603
|
+
type: "background",
|
|
604
|
+
item: "2",
|
|
605
|
+
comment: "Use to highlight supporting content: sidebars, modal footers, callouts, etc. Do not use for button backgrounds.",
|
|
606
|
+
getsLightDarkWeb: true,
|
|
607
|
+
getsAlphaWeb: true,
|
|
608
|
+
isThemed: true
|
|
609
|
+
}, {
|
|
610
|
+
name: "color_background_3",
|
|
611
|
+
value: "#ebeff5",
|
|
612
|
+
category: "color",
|
|
613
|
+
type: "background",
|
|
614
|
+
item: "3",
|
|
615
|
+
comment: "Use when level 2 is too light: chip and avatar backgrounds, for example. Do not use for button backgrounds.",
|
|
616
|
+
getsLightDarkWeb: true,
|
|
617
|
+
getsAlphaWeb: true,
|
|
618
|
+
isThemed: true
|
|
619
|
+
}, {
|
|
620
|
+
name: "color_background_backdrop",
|
|
621
|
+
value: "rgba(31, 55, 81, 0.75)",
|
|
622
|
+
category: "color",
|
|
623
|
+
type: "background",
|
|
624
|
+
item: "backdrop",
|
|
625
|
+
comment: "Partially transparent background for modal or drawer backdrops/overlays.",
|
|
626
|
+
getsLightDarkWeb: true,
|
|
627
|
+
getsAlphaWeb: true,
|
|
628
|
+
isThemed: false
|
|
629
|
+
}, {
|
|
630
|
+
name: "color_text_default",
|
|
631
|
+
value: "#142334",
|
|
632
|
+
category: "color",
|
|
633
|
+
type: "text",
|
|
634
|
+
item: "default",
|
|
635
|
+
comment: "Body copy font color in our apps.",
|
|
636
|
+
getsLightDarkWeb: false,
|
|
637
|
+
getsAlphaWeb: false,
|
|
638
|
+
isThemed: true
|
|
639
|
+
}, {
|
|
640
|
+
name: "color_text_subtle",
|
|
641
|
+
value: "#4d5a68",
|
|
642
|
+
category: "color",
|
|
643
|
+
type: "text",
|
|
644
|
+
item: "subtle",
|
|
645
|
+
comment: "Use for supporting content: helper text, metadata, etc.",
|
|
646
|
+
getsLightDarkWeb: false,
|
|
647
|
+
getsAlphaWeb: false,
|
|
648
|
+
isThemed: true
|
|
649
|
+
}, {
|
|
650
|
+
name: "color_text_nonessential",
|
|
651
|
+
value: "#8191a2",
|
|
652
|
+
category: "color",
|
|
653
|
+
type: "text",
|
|
654
|
+
item: "nonessential",
|
|
655
|
+
comment: "Our lightest font color. Use sparingly in hint text, input placeholder text, etc.",
|
|
656
|
+
getsLightDarkWeb: false,
|
|
657
|
+
getsAlphaWeb: false,
|
|
658
|
+
isThemed: true
|
|
659
|
+
}, {
|
|
660
|
+
name: "color_button_background_primary",
|
|
661
|
+
value: "#0967d2",
|
|
662
|
+
category: "color",
|
|
663
|
+
type: "button",
|
|
664
|
+
item: "background",
|
|
665
|
+
comment: "Background or outline border color for our primary solid/outline buttons.",
|
|
666
|
+
getsLightDarkWeb: true,
|
|
667
|
+
getsAlphaWeb: true,
|
|
668
|
+
isThemed: true
|
|
669
|
+
}, {
|
|
670
|
+
name: "color_button_background_secondary",
|
|
671
|
+
value: "#1f3751",
|
|
672
|
+
category: "color",
|
|
673
|
+
type: "button",
|
|
674
|
+
item: "background",
|
|
675
|
+
comment: "Background or outline border color for our secondary solid/outline buttons.",
|
|
676
|
+
getsLightDarkWeb: true,
|
|
677
|
+
getsAlphaWeb: true,
|
|
678
|
+
isThemed: true
|
|
679
|
+
}, {
|
|
680
|
+
name: "color_button_background_subtle",
|
|
681
|
+
value: "#ebeff5",
|
|
682
|
+
category: "color",
|
|
683
|
+
type: "button",
|
|
684
|
+
item: "background",
|
|
685
|
+
comment: "Background or border color for subtle buttons in light env.",
|
|
686
|
+
getsLightDarkWeb: true,
|
|
687
|
+
getsAlphaWeb: true,
|
|
688
|
+
isThemed: true
|
|
689
|
+
}, {
|
|
690
|
+
name: "color_button_background_destroy",
|
|
691
|
+
value: "#ef4e4e",
|
|
692
|
+
category: "color",
|
|
693
|
+
type: "button",
|
|
694
|
+
item: "background",
|
|
695
|
+
comment: "Background or border color for destroy buttons.",
|
|
696
|
+
getsLightDarkWeb: true,
|
|
697
|
+
getsAlphaWeb: true,
|
|
698
|
+
isThemed: false
|
|
699
|
+
}, {
|
|
700
|
+
name: "color_button_background_success",
|
|
701
|
+
value: "#3ebd93",
|
|
702
|
+
category: "color",
|
|
703
|
+
type: "button",
|
|
704
|
+
item: "background",
|
|
705
|
+
comment: "Background or border color for success buttons.",
|
|
706
|
+
getsLightDarkWeb: true,
|
|
707
|
+
getsAlphaWeb: true,
|
|
708
|
+
isThemed: false
|
|
709
|
+
}, {
|
|
710
|
+
name: "color_button_background_tint",
|
|
711
|
+
value: "#e5f1ff",
|
|
712
|
+
category: "color",
|
|
713
|
+
type: "button",
|
|
714
|
+
item: "background",
|
|
715
|
+
comment: "Light background color tint for hover and active button states",
|
|
716
|
+
getsLightDarkWeb: true,
|
|
717
|
+
getsAlphaWeb: true,
|
|
718
|
+
isThemed: true
|
|
719
|
+
}, {
|
|
720
|
+
name: "color_button_text_primary",
|
|
721
|
+
value: "#ffffff",
|
|
722
|
+
category: "color",
|
|
723
|
+
type: "button",
|
|
724
|
+
item: "text",
|
|
725
|
+
comment: "Text color for our primary solid buttons.",
|
|
726
|
+
getsLightDarkWeb: false,
|
|
727
|
+
getsAlphaWeb: false,
|
|
728
|
+
isThemed: true
|
|
729
|
+
}, {
|
|
730
|
+
name: "color_button_text_secondary",
|
|
731
|
+
value: "#ffffff",
|
|
732
|
+
category: "color",
|
|
733
|
+
type: "button",
|
|
734
|
+
item: "text",
|
|
735
|
+
comment: "Text color for our secondary solid buttons.",
|
|
736
|
+
getsLightDarkWeb: false,
|
|
737
|
+
getsAlphaWeb: false,
|
|
738
|
+
isThemed: true
|
|
739
|
+
}, {
|
|
740
|
+
name: "color_button_text_subtle",
|
|
741
|
+
value: "#4d5a68",
|
|
742
|
+
category: "color",
|
|
743
|
+
type: "button",
|
|
744
|
+
item: "text",
|
|
745
|
+
comment: "Text color for our subtle solid buttons.",
|
|
746
|
+
getsLightDarkWeb: false,
|
|
747
|
+
getsAlphaWeb: false,
|
|
748
|
+
isThemed: true
|
|
749
|
+
}, {
|
|
750
|
+
name: "color_button_text_destroy",
|
|
751
|
+
value: "#ffffff",
|
|
752
|
+
category: "color",
|
|
753
|
+
type: "button",
|
|
754
|
+
item: "text",
|
|
755
|
+
comment: "Text color for our destroy solid buttons.",
|
|
756
|
+
getsLightDarkWeb: false,
|
|
757
|
+
getsAlphaWeb: false,
|
|
758
|
+
isThemed: true
|
|
759
|
+
}, {
|
|
760
|
+
name: "color_button_text_success",
|
|
761
|
+
value: "#ffffff",
|
|
762
|
+
category: "color",
|
|
763
|
+
type: "button",
|
|
764
|
+
item: "text",
|
|
765
|
+
comment: "Text color for our success solid buttons.",
|
|
766
|
+
getsLightDarkWeb: false,
|
|
767
|
+
getsAlphaWeb: false,
|
|
768
|
+
isThemed: true
|
|
769
|
+
}, {
|
|
770
|
+
name: "color_link_primary",
|
|
771
|
+
value: "#0967d2",
|
|
772
|
+
category: "color",
|
|
773
|
+
type: "link",
|
|
774
|
+
item: "primary",
|
|
775
|
+
comment: "Text color for primary links, as well as our minimal or outline buttons.",
|
|
776
|
+
getsLightDarkWeb: true,
|
|
777
|
+
getsAlphaWeb: true,
|
|
778
|
+
isThemed: true
|
|
779
|
+
}, {
|
|
780
|
+
name: "color_link_secondary",
|
|
781
|
+
value: "#142334",
|
|
782
|
+
category: "color",
|
|
783
|
+
type: "link",
|
|
784
|
+
item: "secondary",
|
|
785
|
+
comment: "Text color for secondary links, as well as our minimal or outline buttons.",
|
|
786
|
+
getsLightDarkWeb: true,
|
|
787
|
+
getsAlphaWeb: true,
|
|
788
|
+
isThemed: true
|
|
789
|
+
}, {
|
|
790
|
+
name: "color_link_subtle",
|
|
791
|
+
value: "#4d5a68",
|
|
792
|
+
category: "color",
|
|
793
|
+
type: "link",
|
|
794
|
+
item: "subtle",
|
|
795
|
+
comment: "Text color for subtle links, as well as our minimal or outline buttons.",
|
|
796
|
+
getsLightDarkWeb: true,
|
|
797
|
+
getsAlphaWeb: true,
|
|
798
|
+
isThemed: true
|
|
799
|
+
}, {
|
|
800
|
+
name: "color_border_default",
|
|
801
|
+
value: "rgba(20, 35, 52, 0.12)",
|
|
802
|
+
category: "color",
|
|
803
|
+
type: "border",
|
|
804
|
+
item: "default",
|
|
805
|
+
comment: "Our default border color, designed to separate content. Do not use for button or input borders.",
|
|
806
|
+
getsLightDarkWeb: false,
|
|
807
|
+
getsAlphaWeb: false,
|
|
808
|
+
isThemed: true
|
|
809
|
+
}, {
|
|
810
|
+
name: "color_border_input_inactive",
|
|
811
|
+
value: "rgba(20, 35, 52, 0.2)",
|
|
812
|
+
category: "color",
|
|
813
|
+
type: "border",
|
|
814
|
+
item: "input",
|
|
815
|
+
comment: "Border color for form inputs in their inactive state.",
|
|
816
|
+
getsLightDarkWeb: false,
|
|
817
|
+
getsAlphaWeb: false,
|
|
818
|
+
isThemed: true
|
|
819
|
+
}, {
|
|
820
|
+
name: "color_border_input_active",
|
|
821
|
+
value: "#0967d2",
|
|
822
|
+
category: "color",
|
|
823
|
+
type: "border",
|
|
824
|
+
item: "input",
|
|
825
|
+
comment: "Border color for form inputs in their active state.",
|
|
826
|
+
getsLightDarkWeb: false,
|
|
827
|
+
getsAlphaWeb: false,
|
|
828
|
+
isThemed: true
|
|
829
|
+
}, {
|
|
830
|
+
name: "color_depth_1",
|
|
831
|
+
value: "rgba(20, 35, 52, 0.13)",
|
|
832
|
+
category: "color",
|
|
833
|
+
type: "depth",
|
|
834
|
+
item: "1",
|
|
835
|
+
comment: "Color for lowest-elevation shadows. Use for tooltips.",
|
|
836
|
+
getsLightDarkWeb: false,
|
|
837
|
+
getsAlphaWeb: false,
|
|
838
|
+
isThemed: true
|
|
839
|
+
}, {
|
|
840
|
+
name: "color_depth_2",
|
|
841
|
+
value: "rgba(20, 35, 52, 0.13)",
|
|
842
|
+
category: "color",
|
|
843
|
+
type: "depth",
|
|
844
|
+
item: "2",
|
|
845
|
+
comment: "Color for mid-elevation shadows. Use for cards and popovers.",
|
|
846
|
+
getsLightDarkWeb: false,
|
|
847
|
+
getsAlphaWeb: false,
|
|
848
|
+
isThemed: true
|
|
849
|
+
}, {
|
|
850
|
+
name: "color_depth_3",
|
|
851
|
+
value: "rgba(20, 35, 52, 0.2)",
|
|
852
|
+
category: "color",
|
|
853
|
+
type: "depth",
|
|
854
|
+
item: "3",
|
|
855
|
+
comment: "Color for highest-elevation shadows. Use for modals, floating action bars, etc.",
|
|
856
|
+
getsLightDarkWeb: false,
|
|
857
|
+
getsAlphaWeb: false,
|
|
858
|
+
isThemed: true
|
|
859
|
+
}, {
|
|
860
|
+
name: "color_label_green",
|
|
861
|
+
value: "#31a03c",
|
|
862
|
+
category: "color",
|
|
863
|
+
type: "label",
|
|
864
|
+
item: "green",
|
|
865
|
+
comment: null,
|
|
866
|
+
getsLightDarkWeb: false,
|
|
867
|
+
getsAlphaWeb: false,
|
|
868
|
+
isThemed: false
|
|
869
|
+
}, {
|
|
870
|
+
name: "color_label_blue",
|
|
871
|
+
value: "#4191ed",
|
|
872
|
+
category: "color",
|
|
873
|
+
type: "label",
|
|
874
|
+
item: "blue",
|
|
875
|
+
comment: null,
|
|
876
|
+
getsLightDarkWeb: false,
|
|
877
|
+
getsAlphaWeb: false,
|
|
878
|
+
isThemed: false
|
|
879
|
+
}, {
|
|
880
|
+
name: "color_label_purple",
|
|
881
|
+
value: "#a227c5",
|
|
882
|
+
category: "color",
|
|
883
|
+
type: "label",
|
|
884
|
+
item: "purple",
|
|
885
|
+
comment: null,
|
|
886
|
+
getsLightDarkWeb: false,
|
|
887
|
+
getsAlphaWeb: false,
|
|
888
|
+
isThemed: false
|
|
889
|
+
}, {
|
|
890
|
+
name: "color_label_navy",
|
|
891
|
+
value: "#354b62",
|
|
892
|
+
category: "color",
|
|
893
|
+
type: "label",
|
|
894
|
+
item: "navy",
|
|
895
|
+
comment: null,
|
|
896
|
+
getsLightDarkWeb: false,
|
|
897
|
+
getsAlphaWeb: false,
|
|
898
|
+
isThemed: false
|
|
899
|
+
}, {
|
|
900
|
+
name: "color_label_yellow",
|
|
901
|
+
value: "#ffd000",
|
|
902
|
+
category: "color",
|
|
903
|
+
type: "label",
|
|
904
|
+
item: "yellow",
|
|
905
|
+
comment: null,
|
|
906
|
+
getsLightDarkWeb: false,
|
|
907
|
+
getsAlphaWeb: false,
|
|
908
|
+
isThemed: false
|
|
909
|
+
}, {
|
|
910
|
+
name: "color_label_orange",
|
|
911
|
+
value: "#e76119",
|
|
912
|
+
category: "color",
|
|
913
|
+
type: "label",
|
|
914
|
+
item: "orange",
|
|
915
|
+
comment: null,
|
|
916
|
+
getsLightDarkWeb: false,
|
|
917
|
+
getsAlphaWeb: false,
|
|
918
|
+
isThemed: false
|
|
919
|
+
}, {
|
|
920
|
+
name: "color_label_red",
|
|
921
|
+
value: "#c73732",
|
|
922
|
+
category: "color",
|
|
923
|
+
type: "label",
|
|
924
|
+
item: "red",
|
|
925
|
+
comment: null,
|
|
926
|
+
getsLightDarkWeb: false,
|
|
927
|
+
getsAlphaWeb: false,
|
|
928
|
+
isThemed: false
|
|
929
|
+
}, {
|
|
930
|
+
name: "color_label_light_gray",
|
|
931
|
+
value: "#828c95",
|
|
932
|
+
category: "color",
|
|
933
|
+
type: "label",
|
|
934
|
+
item: "light_gray",
|
|
935
|
+
comment: null,
|
|
936
|
+
getsLightDarkWeb: false,
|
|
937
|
+
getsAlphaWeb: false,
|
|
938
|
+
isThemed: false
|
|
939
|
+
}, {
|
|
940
|
+
name: "color_label_dark_gray",
|
|
941
|
+
value: "#4d5a68",
|
|
942
|
+
category: "color",
|
|
943
|
+
type: "label",
|
|
944
|
+
item: "dark_gray",
|
|
945
|
+
comment: null,
|
|
946
|
+
getsLightDarkWeb: false,
|
|
947
|
+
getsAlphaWeb: false,
|
|
948
|
+
isThemed: false
|
|
949
|
+
}, {
|
|
950
|
+
name: "color_collab_purple",
|
|
951
|
+
value: "#a227c5",
|
|
952
|
+
category: "color",
|
|
953
|
+
type: "collab",
|
|
954
|
+
item: "purple",
|
|
955
|
+
comment: null,
|
|
956
|
+
getsLightDarkWeb: false,
|
|
957
|
+
getsAlphaWeb: false,
|
|
958
|
+
isThemed: false
|
|
959
|
+
}, {
|
|
960
|
+
name: "color_collab_orange",
|
|
961
|
+
value: "#e76119",
|
|
962
|
+
category: "color",
|
|
963
|
+
type: "collab",
|
|
964
|
+
item: "orange",
|
|
965
|
+
comment: null,
|
|
966
|
+
getsLightDarkWeb: false,
|
|
967
|
+
getsAlphaWeb: false,
|
|
968
|
+
isThemed: false
|
|
969
|
+
}, {
|
|
970
|
+
name: "color_collab_green",
|
|
971
|
+
value: "#31a03c",
|
|
972
|
+
category: "color",
|
|
973
|
+
type: "collab",
|
|
974
|
+
item: "green",
|
|
975
|
+
comment: null,
|
|
976
|
+
getsLightDarkWeb: false,
|
|
977
|
+
getsAlphaWeb: false,
|
|
978
|
+
isThemed: false
|
|
979
|
+
}, {
|
|
980
|
+
name: "color_collab_blue",
|
|
981
|
+
value: "#4191ed",
|
|
982
|
+
category: "color",
|
|
983
|
+
type: "collab",
|
|
984
|
+
item: "blue",
|
|
985
|
+
comment: null,
|
|
986
|
+
getsLightDarkWeb: false,
|
|
987
|
+
getsAlphaWeb: false,
|
|
988
|
+
isThemed: false
|
|
989
|
+
}, {
|
|
990
|
+
name: "color_collab_red",
|
|
991
|
+
value: "#c73732",
|
|
992
|
+
category: "color",
|
|
993
|
+
type: "collab",
|
|
994
|
+
item: "red",
|
|
995
|
+
comment: null,
|
|
996
|
+
getsLightDarkWeb: false,
|
|
997
|
+
getsAlphaWeb: false,
|
|
998
|
+
isThemed: false
|
|
999
|
+
}, {
|
|
1000
|
+
name: "color_collab_yellow",
|
|
1001
|
+
value: "#d28e09",
|
|
1002
|
+
category: "color",
|
|
1003
|
+
type: "collab",
|
|
1004
|
+
item: "yellow",
|
|
1005
|
+
comment: null,
|
|
1006
|
+
getsLightDarkWeb: false,
|
|
1007
|
+
getsAlphaWeb: false,
|
|
1008
|
+
isThemed: false
|
|
1009
|
+
}, {
|
|
1010
|
+
name: "color_collab_navy",
|
|
1011
|
+
value: "#354b62",
|
|
1012
|
+
category: "color",
|
|
1013
|
+
type: "collab",
|
|
1014
|
+
item: "navy",
|
|
1015
|
+
comment: null,
|
|
1016
|
+
getsLightDarkWeb: false,
|
|
1017
|
+
getsAlphaWeb: false,
|
|
1018
|
+
isThemed: false
|
|
1019
|
+
}, {
|
|
1020
|
+
name: "color_collab_plum",
|
|
1021
|
+
value: "#413ecf",
|
|
1022
|
+
category: "color",
|
|
1023
|
+
type: "collab",
|
|
1024
|
+
item: "plum",
|
|
1025
|
+
comment: null,
|
|
1026
|
+
getsLightDarkWeb: false,
|
|
1027
|
+
getsAlphaWeb: false,
|
|
1028
|
+
isThemed: false
|
|
1029
|
+
}, {
|
|
1030
|
+
name: "color_collab_magenta",
|
|
1031
|
+
value: "#d63baa",
|
|
1032
|
+
category: "color",
|
|
1033
|
+
type: "collab",
|
|
1034
|
+
item: "magenta",
|
|
1035
|
+
comment: null,
|
|
1036
|
+
getsLightDarkWeb: false,
|
|
1037
|
+
getsAlphaWeb: false,
|
|
1038
|
+
isThemed: false
|
|
1039
|
+
}, {
|
|
1040
|
+
name: "color_collab_brown",
|
|
1041
|
+
value: "#745138",
|
|
1042
|
+
category: "color",
|
|
1043
|
+
type: "collab",
|
|
1044
|
+
item: "brown",
|
|
1045
|
+
comment: null,
|
|
1046
|
+
getsLightDarkWeb: false,
|
|
1047
|
+
getsAlphaWeb: false,
|
|
1048
|
+
isThemed: false
|
|
1049
|
+
}, {
|
|
1050
|
+
name: "color_collab_owner",
|
|
1051
|
+
value: "#ffd000",
|
|
1052
|
+
category: "color",
|
|
1053
|
+
type: "collab",
|
|
1054
|
+
item: "owner",
|
|
1055
|
+
comment: null,
|
|
1056
|
+
getsLightDarkWeb: false,
|
|
1057
|
+
getsAlphaWeb: false,
|
|
1058
|
+
isThemed: false
|
|
1059
|
+
}, {
|
|
1060
|
+
name: "size_spacing_xxs",
|
|
1061
|
+
value: "2",
|
|
1062
|
+
category: "size",
|
|
1063
|
+
type: "spacing",
|
|
1064
|
+
item: "xxs",
|
|
1065
|
+
comment: null,
|
|
1066
|
+
getsLightDarkWeb: false,
|
|
1067
|
+
getsAlphaWeb: false,
|
|
1068
|
+
isThemed: false
|
|
1069
|
+
}, {
|
|
1070
|
+
name: "size_spacing_xs",
|
|
1071
|
+
value: "4",
|
|
1072
|
+
category: "size",
|
|
1073
|
+
type: "spacing",
|
|
1074
|
+
item: "xs",
|
|
1075
|
+
comment: null,
|
|
1076
|
+
getsLightDarkWeb: false,
|
|
1077
|
+
getsAlphaWeb: false,
|
|
1078
|
+
isThemed: false
|
|
1079
|
+
}, {
|
|
1080
|
+
name: "size_spacing_s",
|
|
1081
|
+
value: "8",
|
|
1082
|
+
category: "size",
|
|
1083
|
+
type: "spacing",
|
|
1084
|
+
item: "s",
|
|
1085
|
+
comment: null,
|
|
1086
|
+
getsLightDarkWeb: false,
|
|
1087
|
+
getsAlphaWeb: false,
|
|
1088
|
+
isThemed: false
|
|
1089
|
+
}, {
|
|
1090
|
+
name: "size_spacing_m",
|
|
1091
|
+
value: "16",
|
|
1092
|
+
category: "size",
|
|
1093
|
+
type: "spacing",
|
|
1094
|
+
item: "m",
|
|
1095
|
+
comment: null,
|
|
1096
|
+
getsLightDarkWeb: false,
|
|
1097
|
+
getsAlphaWeb: false,
|
|
1098
|
+
isThemed: false
|
|
1099
|
+
}, {
|
|
1100
|
+
name: "size_spacing_l",
|
|
1101
|
+
value: "24",
|
|
1102
|
+
category: "size",
|
|
1103
|
+
type: "spacing",
|
|
1104
|
+
item: "l",
|
|
1105
|
+
comment: null,
|
|
1106
|
+
getsLightDarkWeb: false,
|
|
1107
|
+
getsAlphaWeb: false,
|
|
1108
|
+
isThemed: false
|
|
1109
|
+
}, {
|
|
1110
|
+
name: "size_spacing_xl",
|
|
1111
|
+
value: "32",
|
|
1112
|
+
category: "size",
|
|
1113
|
+
type: "spacing",
|
|
1114
|
+
item: "xl",
|
|
1115
|
+
comment: null,
|
|
1116
|
+
getsLightDarkWeb: false,
|
|
1117
|
+
getsAlphaWeb: false,
|
|
1118
|
+
isThemed: false
|
|
1119
|
+
}, {
|
|
1120
|
+
name: "size_spacing_xxl",
|
|
1121
|
+
value: "48",
|
|
1122
|
+
category: "size",
|
|
1123
|
+
type: "spacing",
|
|
1124
|
+
item: "xxl",
|
|
1125
|
+
comment: null,
|
|
1126
|
+
getsLightDarkWeb: false,
|
|
1127
|
+
getsAlphaWeb: false,
|
|
1128
|
+
isThemed: false
|
|
1129
|
+
}, {
|
|
1130
|
+
name: "size_border_width_s",
|
|
1131
|
+
value: "1",
|
|
1132
|
+
category: "size",
|
|
1133
|
+
type: "border",
|
|
1134
|
+
item: "width",
|
|
1135
|
+
comment: "Our lightest border width. Use with our default border color to separate content.",
|
|
1136
|
+
getsLightDarkWeb: false,
|
|
1137
|
+
getsAlphaWeb: false,
|
|
1138
|
+
isThemed: false
|
|
1139
|
+
}, {
|
|
1140
|
+
name: "size_border_width_m",
|
|
1141
|
+
value: "2",
|
|
1142
|
+
category: "size",
|
|
1143
|
+
type: "border",
|
|
1144
|
+
item: "width",
|
|
1145
|
+
comment: "Light border width for slightly more emphasis than `s`. Use for focus outline states, outline buttons, etc.",
|
|
1146
|
+
getsLightDarkWeb: false,
|
|
1147
|
+
getsAlphaWeb: false,
|
|
1148
|
+
isThemed: false
|
|
1149
|
+
}, {
|
|
1150
|
+
name: "size_border_width_l",
|
|
1151
|
+
value: "4",
|
|
1152
|
+
category: "size",
|
|
1153
|
+
type: "border",
|
|
1154
|
+
item: "width",
|
|
1155
|
+
comment: "Mid-thickness border width. Use for tab-highlight bottom border, for example.",
|
|
1156
|
+
getsLightDarkWeb: false,
|
|
1157
|
+
getsAlphaWeb: false,
|
|
1158
|
+
isThemed: false
|
|
1159
|
+
}, {
|
|
1160
|
+
name: "size_border_width_xl",
|
|
1161
|
+
value: "8",
|
|
1162
|
+
category: "size",
|
|
1163
|
+
type: "border",
|
|
1164
|
+
item: "width",
|
|
1165
|
+
comment: "Our heaviest border width. Use for accent-color side border width in Toasts, for example.",
|
|
1166
|
+
getsLightDarkWeb: false,
|
|
1167
|
+
getsAlphaWeb: false,
|
|
1168
|
+
isThemed: false
|
|
1169
|
+
}, {
|
|
1170
|
+
name: "size_border_radius_s",
|
|
1171
|
+
value: "2",
|
|
1172
|
+
category: "size",
|
|
1173
|
+
type: "border",
|
|
1174
|
+
item: "radius",
|
|
1175
|
+
comment: "Gives sharp corners a very slight rounding. Use sparingly and only on small elements like `tiny`-sized components.",
|
|
1176
|
+
getsLightDarkWeb: false,
|
|
1177
|
+
getsAlphaWeb: false,
|
|
1178
|
+
isThemed: false
|
|
1179
|
+
}, {
|
|
1180
|
+
name: "size_border_radius_m",
|
|
1181
|
+
value: "4",
|
|
1182
|
+
category: "size",
|
|
1183
|
+
type: "border",
|
|
1184
|
+
item: "radius",
|
|
1185
|
+
comment: "Our default border radius for buttons on mobile and labels on both platforms.",
|
|
1186
|
+
getsLightDarkWeb: false,
|
|
1187
|
+
getsAlphaWeb: false,
|
|
1188
|
+
isThemed: false
|
|
1189
|
+
}, {
|
|
1190
|
+
name: "size_border_radius_l",
|
|
1191
|
+
value: "8",
|
|
1192
|
+
category: "size",
|
|
1193
|
+
type: "border",
|
|
1194
|
+
item: "radius",
|
|
1195
|
+
comment: "Our default border radius for buttons and modals on the web.",
|
|
1196
|
+
getsLightDarkWeb: false,
|
|
1197
|
+
getsAlphaWeb: false,
|
|
1198
|
+
isThemed: false
|
|
1199
|
+
}, {
|
|
1200
|
+
name: "size_border_radius_xl",
|
|
1201
|
+
value: "16",
|
|
1202
|
+
category: "size",
|
|
1203
|
+
type: "border",
|
|
1204
|
+
item: "radius",
|
|
1205
|
+
comment: "Currently unused.",
|
|
1206
|
+
getsLightDarkWeb: false,
|
|
1207
|
+
getsAlphaWeb: false,
|
|
1208
|
+
isThemed: false
|
|
1209
|
+
}, {
|
|
1210
|
+
name: "size_border_radius_xxl",
|
|
1211
|
+
value: "24",
|
|
1212
|
+
category: "size",
|
|
1213
|
+
type: "border",
|
|
1214
|
+
item: "radius",
|
|
1215
|
+
comment: "Our default border radius for modals on mobile.",
|
|
1216
|
+
getsLightDarkWeb: false,
|
|
1217
|
+
getsAlphaWeb: false,
|
|
1218
|
+
isThemed: false
|
|
1219
|
+
}, {
|
|
1220
|
+
name: "size_border_radius_pill",
|
|
1221
|
+
value: "1000",
|
|
1222
|
+
category: "size",
|
|
1223
|
+
type: "border",
|
|
1224
|
+
item: "radius",
|
|
1225
|
+
comment: "Use to create pill-shaped UI elements like chips.",
|
|
1226
|
+
getsLightDarkWeb: false,
|
|
1227
|
+
getsAlphaWeb: false,
|
|
1228
|
+
isThemed: false
|
|
1229
|
+
}, {
|
|
1230
|
+
name: "size_text_xxs",
|
|
1231
|
+
value: "10",
|
|
1232
|
+
category: "size",
|
|
1233
|
+
type: "text",
|
|
1234
|
+
item: "xxs",
|
|
1235
|
+
comment: "Use sparingly when space is at a minimum - preferably only on mobile.",
|
|
1236
|
+
getsLightDarkWeb: false,
|
|
1237
|
+
getsAlphaWeb: false,
|
|
1238
|
+
isThemed: false
|
|
1239
|
+
}, {
|
|
1240
|
+
name: "size_text_xs",
|
|
1241
|
+
value: "12",
|
|
1242
|
+
category: "size",
|
|
1243
|
+
type: "text",
|
|
1244
|
+
item: "xs",
|
|
1245
|
+
comment: "Use for metadata (date published, etc.) on mobile and on the web where space is tight.",
|
|
1246
|
+
getsLightDarkWeb: false,
|
|
1247
|
+
getsAlphaWeb: false,
|
|
1248
|
+
isThemed: false
|
|
1249
|
+
}, {
|
|
1250
|
+
name: "size_text_s",
|
|
1251
|
+
value: "14",
|
|
1252
|
+
category: "size",
|
|
1253
|
+
type: "text",
|
|
1254
|
+
item: "s",
|
|
1255
|
+
comment: "Our default font size on mobile. Can also be used as body copy and metadata on the web.",
|
|
1256
|
+
getsLightDarkWeb: false,
|
|
1257
|
+
getsAlphaWeb: false,
|
|
1258
|
+
isThemed: false
|
|
1259
|
+
}, {
|
|
1260
|
+
name: "size_text_m",
|
|
1261
|
+
value: "16",
|
|
1262
|
+
category: "size",
|
|
1263
|
+
type: "text",
|
|
1264
|
+
item: "m",
|
|
1265
|
+
comment: "Our default font size on the web.",
|
|
1266
|
+
getsLightDarkWeb: false,
|
|
1267
|
+
getsAlphaWeb: false,
|
|
1268
|
+
isThemed: false
|
|
1269
|
+
}, {
|
|
1270
|
+
name: "size_text_l",
|
|
1271
|
+
value: "20",
|
|
1272
|
+
category: "size",
|
|
1273
|
+
type: "text",
|
|
1274
|
+
item: "l",
|
|
1275
|
+
comment: "Use for headings or featured copy.",
|
|
1276
|
+
getsLightDarkWeb: false,
|
|
1277
|
+
getsAlphaWeb: false,
|
|
1278
|
+
isThemed: false
|
|
1279
|
+
}, {
|
|
1280
|
+
name: "size_text_xl",
|
|
1281
|
+
value: "24",
|
|
1282
|
+
category: "size",
|
|
1283
|
+
type: "text",
|
|
1284
|
+
item: "xl",
|
|
1285
|
+
comment: "Use for headings.",
|
|
1286
|
+
getsLightDarkWeb: false,
|
|
1287
|
+
getsAlphaWeb: false,
|
|
1288
|
+
isThemed: false
|
|
1289
|
+
}, {
|
|
1290
|
+
name: "size_text_xxl",
|
|
1291
|
+
value: "32",
|
|
1292
|
+
category: "size",
|
|
1293
|
+
type: "text",
|
|
1294
|
+
item: "xxl",
|
|
1295
|
+
comment: "Use for headings.",
|
|
1296
|
+
getsLightDarkWeb: false,
|
|
1297
|
+
getsAlphaWeb: false,
|
|
1298
|
+
isThemed: false
|
|
1299
|
+
}, {
|
|
1300
|
+
name: "size_text_xxxl",
|
|
1301
|
+
value: "42",
|
|
1302
|
+
category: "size",
|
|
1303
|
+
type: "text",
|
|
1304
|
+
item: "xxxl",
|
|
1305
|
+
comment: "Use for headings.",
|
|
1306
|
+
getsLightDarkWeb: false,
|
|
1307
|
+
getsAlphaWeb: false,
|
|
1308
|
+
isThemed: false
|
|
1309
|
+
}, {
|
|
1310
|
+
name: "size_avatar_xs",
|
|
1311
|
+
value: "16",
|
|
1312
|
+
category: "size",
|
|
1313
|
+
type: "avatar",
|
|
1314
|
+
item: "xs",
|
|
1315
|
+
comment: null,
|
|
1316
|
+
getsLightDarkWeb: false,
|
|
1317
|
+
getsAlphaWeb: false,
|
|
1318
|
+
isThemed: false
|
|
1319
|
+
}, {
|
|
1320
|
+
name: "size_avatar_s",
|
|
1321
|
+
value: "24",
|
|
1322
|
+
category: "size",
|
|
1323
|
+
type: "avatar",
|
|
1324
|
+
item: "s",
|
|
1325
|
+
comment: null,
|
|
1326
|
+
getsLightDarkWeb: false,
|
|
1327
|
+
getsAlphaWeb: false,
|
|
1328
|
+
isThemed: false
|
|
1329
|
+
}, {
|
|
1330
|
+
name: "size_avatar_m",
|
|
1331
|
+
value: "32",
|
|
1332
|
+
category: "size",
|
|
1333
|
+
type: "avatar",
|
|
1334
|
+
item: "m",
|
|
1335
|
+
comment: null,
|
|
1336
|
+
getsLightDarkWeb: false,
|
|
1337
|
+
getsAlphaWeb: false,
|
|
1338
|
+
isThemed: false
|
|
1339
|
+
}, {
|
|
1340
|
+
name: "size_avatar_l",
|
|
1341
|
+
value: "40",
|
|
1342
|
+
category: "size",
|
|
1343
|
+
type: "avatar",
|
|
1344
|
+
item: "l",
|
|
1345
|
+
comment: null,
|
|
1346
|
+
getsLightDarkWeb: false,
|
|
1347
|
+
getsAlphaWeb: false,
|
|
1348
|
+
isThemed: false
|
|
1349
|
+
}, {
|
|
1350
|
+
name: "size_depth_1_blur",
|
|
1351
|
+
value: "3",
|
|
1352
|
+
category: "size",
|
|
1353
|
+
type: "depth",
|
|
1354
|
+
item: "1",
|
|
1355
|
+
comment: "Blur value in pixels for lowest-elevation shadow. Use for tooltips.",
|
|
1356
|
+
getsLightDarkWeb: false,
|
|
1357
|
+
getsAlphaWeb: false,
|
|
1358
|
+
isThemed: false
|
|
1359
|
+
}, {
|
|
1360
|
+
name: "size_depth_1_y",
|
|
1361
|
+
value: "1",
|
|
1362
|
+
category: "size",
|
|
1363
|
+
type: "depth",
|
|
1364
|
+
item: "1",
|
|
1365
|
+
comment: "Y offset value in pixels for lowest-elevation shadow. Use for tooltips.",
|
|
1366
|
+
getsLightDarkWeb: false,
|
|
1367
|
+
getsAlphaWeb: false,
|
|
1368
|
+
isThemed: false
|
|
1369
|
+
}, {
|
|
1370
|
+
name: "size_depth_2_blur",
|
|
1371
|
+
value: "6",
|
|
1372
|
+
category: "size",
|
|
1373
|
+
type: "depth",
|
|
1374
|
+
item: "2",
|
|
1375
|
+
comment: "Blur value in pixels for medium-elevation shadow. Use for cards and popovers.",
|
|
1376
|
+
getsLightDarkWeb: false,
|
|
1377
|
+
getsAlphaWeb: false,
|
|
1378
|
+
isThemed: false
|
|
1379
|
+
}, {
|
|
1380
|
+
name: "size_depth_2_y",
|
|
1381
|
+
value: "2",
|
|
1382
|
+
category: "size",
|
|
1383
|
+
type: "depth",
|
|
1384
|
+
item: "2",
|
|
1385
|
+
comment: "Y offset value in pixels for medium-elevation shadow. Use for cards and popovers.",
|
|
1386
|
+
getsLightDarkWeb: false,
|
|
1387
|
+
getsAlphaWeb: false,
|
|
1388
|
+
isThemed: false
|
|
1389
|
+
}, {
|
|
1390
|
+
name: "size_depth_3_blur",
|
|
1391
|
+
value: "12",
|
|
1392
|
+
category: "size",
|
|
1393
|
+
type: "depth",
|
|
1394
|
+
item: "3",
|
|
1395
|
+
comment: "Blur value in pixels for highest-elevation shadow. Use for modals, floating action bars, etc.",
|
|
1396
|
+
getsLightDarkWeb: false,
|
|
1397
|
+
getsAlphaWeb: false,
|
|
1398
|
+
isThemed: false
|
|
1399
|
+
}, {
|
|
1400
|
+
name: "size_depth_3_y",
|
|
1401
|
+
value: "4",
|
|
1402
|
+
category: "size",
|
|
1403
|
+
type: "depth",
|
|
1404
|
+
item: "3",
|
|
1405
|
+
comment: "Y offset value in pixels for highest-elevation shadow. Use for modals, floating action bars, etc.",
|
|
1406
|
+
getsLightDarkWeb: false,
|
|
1407
|
+
getsAlphaWeb: false,
|
|
1408
|
+
isThemed: false
|
|
1409
|
+
}];
|
|
1410
|
+
|
|
1411
|
+
exports.Icon = Icon;
|
|
1412
|
+
exports.tokenDocs = tokenDocs;
|
|
1413
|
+
exports.tokens = tokens;
|