@vkontakte/vkui-tokens 4.3.1 → 4.3.2-dev-db778e.0

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.
Files changed (50) hide show
  1. package/interfaces/themes/calendar/index.d.ts +4 -7
  2. package/package.json +1 -1
  3. package/themes/calendar/cssVars/declarations/index.css +835 -454
  4. package/themes/calendar/cssVars/declarations/noColors.css +409 -241
  5. package/themes/calendar/cssVars/declarations/noSizes.css +10 -7
  6. package/themes/calendar/cssVars/declarations/onlyAdaptiveGroups.css +26 -51
  7. package/themes/calendar/cssVars/declarations/onlyColors.css +6 -3
  8. package/themes/calendar/cssVars/declarations/onlyColors.js +2 -2
  9. package/themes/calendar/cssVars/declarations/onlyMedia.css +387 -152
  10. package/themes/calendar/cssVars/declarations/onlyVariables.css +137 -88
  11. package/themes/calendar/cssVars/declarations/onlyVariables.js +2 -2
  12. package/themes/calendar/cssVars/declarations/onlyVariablesLocal.css +137 -88
  13. package/themes/calendar/cssVars/theme/fallbacks/index.css +434 -263
  14. package/themes/calendar/cssVars/theme/fallbacks/index.less +183 -108
  15. package/themes/calendar/cssVars/theme/fallbacks/index.pcss +183 -108
  16. package/themes/calendar/cssVars/theme/fallbacks/index.scss +478 -234
  17. package/themes/calendar/cssVars/theme/fallbacks/index.styl +183 -108
  18. package/themes/calendar/cssVars/theme/index.js +529 -393
  19. package/themes/calendar/cssVars/theme/index.json +529 -393
  20. package/themes/calendar/index.css +415 -244
  21. package/themes/calendar/index.js +180 -115
  22. package/themes/calendar/index.json +180 -115
  23. package/themes/calendar/index.less +156 -81
  24. package/themes/calendar/index.pcss +156 -81
  25. package/themes/calendar/index.scss +412 -168
  26. package/themes/calendar/index.styl +156 -81
  27. package/themes/calendarDark/cssVars/declarations/index.css +835 -454
  28. package/themes/calendarDark/cssVars/declarations/noColors.css +409 -241
  29. package/themes/calendarDark/cssVars/declarations/noSizes.css +10 -7
  30. package/themes/calendarDark/cssVars/declarations/onlyAdaptiveGroups.css +26 -51
  31. package/themes/calendarDark/cssVars/declarations/onlyColors.css +6 -3
  32. package/themes/calendarDark/cssVars/declarations/onlyColors.js +2 -2
  33. package/themes/calendarDark/cssVars/declarations/onlyMedia.css +387 -152
  34. package/themes/calendarDark/cssVars/declarations/onlyVariables.css +137 -88
  35. package/themes/calendarDark/cssVars/declarations/onlyVariables.js +2 -2
  36. package/themes/calendarDark/cssVars/declarations/onlyVariablesLocal.css +137 -88
  37. package/themes/calendarDark/cssVars/theme/fallbacks/index.css +434 -263
  38. package/themes/calendarDark/cssVars/theme/fallbacks/index.less +183 -108
  39. package/themes/calendarDark/cssVars/theme/fallbacks/index.pcss +183 -108
  40. package/themes/calendarDark/cssVars/theme/fallbacks/index.scss +478 -234
  41. package/themes/calendarDark/cssVars/theme/fallbacks/index.styl +183 -108
  42. package/themes/calendarDark/cssVars/theme/index.js +529 -393
  43. package/themes/calendarDark/cssVars/theme/index.json +529 -393
  44. package/themes/calendarDark/index.css +415 -244
  45. package/themes/calendarDark/index.js +180 -115
  46. package/themes/calendarDark/index.json +180 -115
  47. package/themes/calendarDark/index.less +156 -81
  48. package/themes/calendarDark/index.pcss +156 -81
  49. package/themes/calendarDark/index.scss +412 -168
  50. package/themes/calendarDark/index.styl +156 -81
@@ -12,30 +12,54 @@ var theme = {
12
12
  "fontWeightBase3": 400,
13
13
  "fontTitle1": {
14
14
  "regular": {
15
- "fontSize": 17,
16
- "lineHeight": "24px",
15
+ "fontSize": 24,
16
+ "lineHeight": "32px",
17
+ "fontWeight": 500,
18
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
19
+ },
20
+ "compact": {
21
+ "fontSize": 24,
22
+ "lineHeight": "28px",
17
23
  "fontWeight": 500,
18
24
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
19
25
  }
20
26
  },
21
27
  "fontTitle2": {
22
28
  "regular": {
23
- "fontSize": 15,
24
- "lineHeight": "20px",
29
+ "fontSize": 20,
30
+ "lineHeight": "24px",
31
+ "fontWeight": 500,
32
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
33
+ },
34
+ "compact": {
35
+ "fontSize": 20,
36
+ "lineHeight": "24px",
25
37
  "fontWeight": 500,
26
38
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
27
39
  }
28
40
  },
29
41
  "fontTitle3": {
30
42
  "regular": {
31
- "fontSize": 15,
32
- "lineHeight": "20px",
43
+ "fontSize": 17,
44
+ "lineHeight": "24px",
45
+ "fontWeight": 500,
46
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
47
+ },
48
+ "compact": {
49
+ "fontSize": 17,
50
+ "lineHeight": "24px",
33
51
  "fontWeight": 500,
34
52
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
35
53
  }
36
54
  },
37
55
  "fontHeadline1": {
38
56
  "regular": {
57
+ "fontSize": 16,
58
+ "lineHeight": "20px",
59
+ "fontWeight": 500,
60
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
61
+ },
62
+ "compact": {
39
63
  "fontSize": 15,
40
64
  "lineHeight": "20px",
41
65
  "fontWeight": 500,
@@ -55,13 +79,13 @@ var theme = {
55
79
  }
56
80
  },
57
81
  "fontText": {
58
- "compact": {
59
- "fontSize": 17,
60
- "lineHeight": "24px",
82
+ "regular": {
83
+ "fontSize": 16,
84
+ "lineHeight": "20px",
61
85
  "fontWeight": 400,
62
86
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
63
87
  },
64
- "regular": {
88
+ "compact": {
65
89
  "fontSize": 15,
66
90
  "lineHeight": "20px",
67
91
  "fontWeight": 400,
@@ -71,27 +95,41 @@ var theme = {
71
95
  "fontParagraph": {
72
96
  "regular": {
73
97
  "fontSize": 15,
74
- "lineHeight": 20,
75
- "fontFamily": "Helvetica, Arial, sans-serif",
76
- "fontWeight": 400
98
+ "lineHeight": "20px",
99
+ "fontWeight": 400,
100
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
101
+ },
102
+ "compact": {
103
+ "fontSize": 15,
104
+ "lineHeight": "20px",
105
+ "fontWeight": 400,
106
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
77
107
  }
78
108
  },
79
109
  "fontSubhead": {
80
110
  "regular": {
81
111
  "fontSize": 14,
82
- "lineHeight": 18,
83
- "fontFamily": "Helvetica, Arial, sans-serif",
84
- "fontWeight": 400
112
+ "lineHeight": "18px",
113
+ "fontWeight": 400,
114
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
85
115
  },
86
116
  "compact": {
87
117
  "fontSize": 13,
88
- "lineHeight": 18
118
+ "lineHeight": "18px",
119
+ "fontWeight": 500,
120
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
89
121
  }
90
122
  },
91
123
  "fontFootnote": {
92
124
  "regular": {
93
125
  "fontSize": 13,
94
- "lineHeight": "20px",
126
+ "lineHeight": "18px",
127
+ "fontWeight": 400,
128
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
129
+ },
130
+ "compact": {
131
+ "fontSize": 13,
132
+ "lineHeight": "18px",
95
133
  "fontWeight": 400,
96
134
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
97
135
  }
@@ -99,35 +137,63 @@ var theme = {
99
137
  "fontFootnoteCaps": {
100
138
  "regular": {
101
139
  "fontSize": 13,
102
- "lineHeight": 18,
103
- "fontFamily": "Helvetica, Arial, sans-serif",
140
+ "lineHeight": "18px",
104
141
  "fontWeight": 400,
105
- "textTransform": "uppercase",
106
- "letterSpacing": "0.3px"
142
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
143
+ "letterSpacing": "0.3px",
144
+ "textTransform": "uppercase"
145
+ },
146
+ "compact": {
147
+ "fontSize": 13,
148
+ "lineHeight": "18px",
149
+ "fontWeight": 400,
150
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
151
+ "letterSpacing": "0.3px",
152
+ "textTransform": "uppercase"
107
153
  }
108
154
  },
109
155
  "fontCaption1": {
110
156
  "regular": {
111
157
  "fontSize": 12,
112
- "lineHeight": 16,
113
- "fontFamily": "Helvetica, Arial, sans-serif",
114
- "fontWeight": 400
158
+ "lineHeight": "16px",
159
+ "fontWeight": 400,
160
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
161
+ },
162
+ "compact": {
163
+ "fontSize": 12,
164
+ "lineHeight": "14px",
165
+ "fontWeight": 400,
166
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
115
167
  }
116
168
  },
117
169
  "fontCaption1Caps": {
118
170
  "regular": {
119
171
  "fontSize": 12,
120
- "lineHeight": 16,
121
- "fontFamily": "Helvetica, Arial, sans-serif",
172
+ "lineHeight": "16px",
122
173
  "fontWeight": 400,
123
- "textTransform": "uppercase",
124
- "letterSpacing": "0.26px"
174
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
175
+ "letterSpacing": "0.26px",
176
+ "textTransform": "uppercase"
177
+ },
178
+ "compact": {
179
+ "fontSize": 12,
180
+ "lineHeight": "14px",
181
+ "fontWeight": 500,
182
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
183
+ "letterSpacing": "0.26px",
184
+ "textTransform": "uppercase"
125
185
  }
126
186
  },
127
187
  "fontCaption2": {
128
188
  "regular": {
129
189
  "fontSize": 11,
130
- "lineHeight": "12px",
190
+ "lineHeight": "14px",
191
+ "fontWeight": 400,
192
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
193
+ },
194
+ "compact": {
195
+ "fontSize": 11,
196
+ "lineHeight": "14px",
131
197
  "fontWeight": 400,
132
198
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
133
199
  }
@@ -135,29 +201,51 @@ var theme = {
135
201
  "fontCaption2Caps": {
136
202
  "regular": {
137
203
  "fontSize": 11,
138
- "lineHeight": 14,
139
- "fontFamily": "Helvetica, Arial, sans-serif",
204
+ "lineHeight": "14px",
205
+ "fontWeight": 400,
206
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
207
+ "letterSpacing": "0.22px",
208
+ "textTransform": "uppercase"
209
+ },
210
+ "compact": {
211
+ "fontSize": 11,
212
+ "lineHeight": "14px",
140
213
  "fontWeight": 400,
141
- "textTransform": "uppercase",
142
- "letterSpacing": "0.22px"
214
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
215
+ "letterSpacing": "0.22px",
216
+ "textTransform": "uppercase"
143
217
  }
144
218
  },
145
219
  "fontCaption3": {
146
220
  "regular": {
147
221
  "fontSize": 9,
148
- "lineHeight": 12,
149
- "fontFamily": "Helvetica, Arial, sans-serif",
150
- "fontWeight": 400
222
+ "lineHeight": "12px",
223
+ "fontWeight": 400,
224
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
225
+ },
226
+ "compact": {
227
+ "fontSize": 9,
228
+ "lineHeight": "12px",
229
+ "fontWeight": 400,
230
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
151
231
  }
152
232
  },
153
233
  "fontCaption3Caps": {
154
234
  "regular": {
155
235
  "fontSize": 9,
156
- "lineHeight": 12,
157
- "fontFamily": "Helvetica, Arial, sans-serif",
236
+ "lineHeight": "12px",
237
+ "fontWeight": 400,
238
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
239
+ "letterSpacing": "0.16px",
240
+ "textTransform": "uppercase"
241
+ },
242
+ "compact": {
243
+ "fontSize": 9,
244
+ "lineHeight": "12px",
158
245
  "fontWeight": 400,
159
- "textTransform": "uppercase",
160
- "letterSpacing": "0.16px"
246
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
247
+ "letterSpacing": "0.16px",
248
+ "textTransform": "uppercase"
161
249
  }
162
250
  },
163
251
  "sizeSelectIconPadding": {
@@ -173,7 +261,7 @@ var theme = {
173
261
  "compact": 24
174
262
  },
175
263
  "sizeBorderRadius": {
176
- "compact": 12,
264
+ "compact": 8,
177
265
  "regular": 8
178
266
  },
179
267
  "sizeCheckBorderRadius": {
@@ -223,8 +311,8 @@ var theme = {
223
311
  "regular": 8
224
312
  },
225
313
  "sizeButtonPaddingHorizontal": {
226
- "compact": 12,
227
- "regular": 16
314
+ "compact": 16,
315
+ "regular": 20
228
316
  },
229
317
  "sizeLabelHorizontalMargin": {
230
318
  "regular": 16
@@ -281,10 +369,10 @@ var theme = {
281
369
  "sizeBasePaddingHorizontal": {
282
370
  "regular": 16
283
371
  },
284
- "elevation1": "none",
285
- "elevation2": "none",
286
- "elevation3": "0px 4px 32px rgba(0, 16, 61, 0.32)",
287
- "elevation4": "0px 16px 48px rgba(0, 16, 61, 0.48)",
372
+ "elevation1": "0 2px 0 0 rgba(0, 16, 61, 0.04)",
373
+ "elevation2": "0 4px 32px 0 rgba(0, 16, 61, 0.32)",
374
+ "elevation3": "0 16px 48px 0 rgba(0, 0, 0, 0.48)",
375
+ "elevation4": "0 16px 48px 0 rgba(0, 0, 0, 0.48)",
288
376
  "animationDurationL": "0.4s",
289
377
  "animationDurationM": "0.2s",
290
378
  "animationDurationS": "0.1s",
@@ -319,40 +407,38 @@ var theme = {
319
407
  },
320
408
  "fontH0": {
321
409
  "regular": {
322
- "fontSize": 32,
323
- "lineHeight": "40px",
324
- "fontWeight": 500,
325
- "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
410
+ "fontSize": 28,
411
+ "lineHeight": 32,
412
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
413
+ "fontWeight": 500
414
+ },
415
+ "compact": {
416
+ "fontSize": 44,
417
+ "lineHeight": 52
326
418
  }
327
419
  },
328
420
  "fontH1": {
329
- "compact": {
421
+ "regular": {
330
422
  "fontSize": 24,
331
- "lineHeight": "32px",
332
- "fontWeight": 500,
423
+ "lineHeight": 28,
333
424
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
334
- "marginBottom": 16
425
+ "fontWeight": 500
335
426
  },
336
- "regular": {
427
+ "compact": {
337
428
  "fontSize": 32,
338
- "lineHeight": "40px",
339
- "fontWeight": 500,
340
- "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
341
- "marginBottom": 16
429
+ "lineHeight": 36
342
430
  }
343
431
  },
344
432
  "fontH2": {
345
- "compact": {
433
+ "regular": {
346
434
  "fontSize": 20,
347
- "lineHeight": "24px",
348
- "fontWeight": 500,
349
- "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
435
+ "lineHeight": 26,
436
+ "fontFamily": "MailSans, Helvetica, Arial, sans-serif",
437
+ "fontWeight": 500
350
438
  },
351
- "regular": {
352
- "fontSize": 24,
353
- "lineHeight": "28px",
354
- "fontWeight": 500,
355
- "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
439
+ "compact": {
440
+ "fontSize": 28,
441
+ "lineHeight": 32
356
442
  }
357
443
  },
358
444
  "sizeArrowHeight": {
@@ -526,68 +612,42 @@ var theme = {
526
612
  "typeBorderButton": "solid",
527
613
  "typeBorderPosition": "inset",
528
614
  "themeNameBase": "calendar",
529
- "fontEventM": {
530
- "compact": {
615
+ "calendarFontTextEvent": {
616
+ "regular": {
531
617
  "fontSize": 17,
532
618
  "lineHeight": "24px",
533
- "fontWeight": 500,
619
+ "fontWeight": 400,
534
620
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
535
621
  },
536
- "regular": {
537
- "fontSize": 15,
538
- "lineHeight": "20px",
539
- "fontWeight": 500,
540
- "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
541
- }
542
- },
543
- "fontEventS": {
544
622
  "compact": {
545
- "fontSize": 15,
546
- "lineHeight": "18px",
547
- "fontWeight": 500,
548
- "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
549
- },
550
- "regular": {
551
623
  "fontSize": 13,
552
624
  "lineHeight": "18px",
553
625
  "fontWeight": 500,
554
626
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
555
627
  }
556
628
  },
557
- "fontEventXS": {
629
+ "calendarFontTextEventSmall": {
558
630
  "regular": {
559
- "fontSize": 12,
560
- "lineHeight": 16,
561
- "fontWeight": 500,
562
- "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
563
- }
564
- },
565
- "fontTime": {
566
- "regular": {
567
- "fontSize": 13,
568
- "lineHeight": "18px",
569
- "fontWeight": 500,
631
+ "fontSize": 15,
632
+ "lineHeight": "20px",
633
+ "fontWeight": 400,
570
634
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
571
- }
572
- },
573
- "fontBodyIOS": {
574
- "regular": {
575
- "fontSize": 17,
576
- "lineHeight": "24px",
577
- "fontWeight": 500,
635
+ },
636
+ "compact": {
637
+ "fontSize": 12,
638
+ "lineHeight": "12px",
639
+ "fontWeight": 400,
578
640
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
579
641
  }
580
642
  },
581
- "fontBodyAndroid": {
643
+ "fontHeadline": {
582
644
  "regular": {
583
645
  "fontSize": 16,
584
- "lineHeight": "24px",
646
+ "lineHeight": "20px",
585
647
  "fontWeight": 500,
586
648
  "fontFamily": "MailSans, Helvetica, Arial, sans-serif"
587
- }
588
- },
589
- "fontHeadline": {
590
- "regular": {
649
+ },
650
+ "compact": {
591
651
  "fontSize": 15,
592
652
  "lineHeight": "20px",
593
653
  "fontWeight": 500,
@@ -841,9 +901,9 @@ var theme = {
841
901
  "active": "rgba(255, 255, 255, 0.16)"
842
902
  },
843
903
  "colorFieldBorderAlpha": {
844
- "normal": "transparent",
845
- "hover": "transparent",
846
- "active": "transparent"
904
+ "normal": "rgba(255, 255, 255, 0.16)",
905
+ "hover": "rgba(255, 255, 255, 0.2)",
906
+ "active": "rgba(255, 255, 255, 0.24)"
847
907
  },
848
908
  "colorSeparatorPrimaryAlpha": {
849
909
  "normal": "rgba(0, 0, 0, 0.4)",
@@ -1005,6 +1065,11 @@ var theme = {
1005
1065
  "hover": "rgba(237, 10, 52, 0.16)",
1006
1066
  "active": "rgba(237, 10, 52, 0.2)"
1007
1067
  },
1068
+ "calendarColorBackgroundAccentTintThemed": {
1069
+ "normal": "#3E3E3F",
1070
+ "hover": "#2C2C2D",
1071
+ "active": "#3E3E3F"
1072
+ },
1008
1073
  "widthTouch": "(max-width: 767px)",
1009
1074
  "widthToTouch": "(max-width: 767px)",
1010
1075
  "widthFromDesktopS": "(min-width: 768px)",