@sage/design-tokens 2.26.0 → 2.27.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.
@@ -1,871 +0,0 @@
1
- <!doctype html>
2
- <html class="no-js" lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
6
- <meta http-equiv="Pragma" content="no-cache" />
7
- <meta http-equiv="Expires" content="0" />
8
-
9
- <title>Sage Design Tokens / base / sizing</title>
10
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
11
- <link rel="preconnect" href="https://fonts.googleapis.com">
12
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
13
- <link href="https://fonts.googleapis.com/css?family=Lato:400,500,600" rel="stylesheet">
14
- <meta name="description" content="">
15
- <style>
16
- *, *::before, *::after {
17
- box-sizing: border-box;
18
- }
19
-
20
- html {
21
- font-size: 62.5%;
22
- }
23
-
24
- body {
25
- font-size: 1.4rem;
26
- font-family: 'Lato', Arial, sans-serif;
27
- padding: 20px 40px;
28
- }
29
-
30
- table {
31
- width: 100%;
32
- }
33
-
34
- .menu {
35
- position: sticky;
36
- display: inline-block;
37
- vertical-align: top;
38
- max-height: 100vh;
39
- overflow-y: auto;
40
- top: 0;
41
- bottom: 0;
42
- font-size: 14px;
43
- }
44
-
45
- .with-icons:hover .permalink {
46
- visibility: visible;
47
- }
48
-
49
- .permalink {
50
- visibility: hidden;
51
- font-size: 80%;
52
- line-height: inherit;
53
- text-decoration: none;
54
- vertical-align: middle;
55
- }
56
-
57
- .table__color-preview,
58
- .table__spacing-preview,
59
- .table__border-width-preview,
60
- .table__font-size-preview,
61
- .table__sizing-preview,
62
- .table__opacity-preview,
63
- .table__typography-preview,
64
- .table__font-weight-preview,
65
- .table__box-shadow-preview,
66
- .table__font-family-preview,
67
- .table__border-radius-preview {
68
- height: 40px;
69
- width: 100%;
70
- }
71
-
72
- .table__font-size-preview,
73
- .table__typography-preview,
74
- .table__font-weight-preview,
75
- .table__font-family-preview {
76
- vertical-align: middle;
77
- display: table-cell;
78
- }
79
-
80
- .table__box-shadow-preview {
81
- height: 50px;
82
- }
83
-
84
- .table__spacing-preview {
85
- background-color: #626566;
86
- height: 10px;
87
- }
88
-
89
- .table__border-width-preview {
90
- border-style: solid;
91
- border-color: #CCD6DB;
92
- background-color: #626566;
93
- }
94
-
95
- .table__sizing-preview {
96
- background-color: #626566;
97
- }
98
-
99
- .table__opacity-preview {
100
- background-color: #ccc;
101
- }
102
-
103
- .table__opacity-preview div {
104
- width: 100%;
105
- height: 100%;
106
- background-color: #fff;
107
- }
108
-
109
- .table__border-radius-preview {
110
- width: 40px;
111
- border-color: #626566;
112
- border-width: 3px 3px 0 0;
113
- border-style: solid;
114
- }
115
-
116
- #main-container {
117
- max-width: 1024px;
118
- margin: 0 auto;
119
- }
120
-
121
- .embedded #main-container {
122
- max-width: 100%;
123
- }
124
-
125
- #icons-container {
126
- display: grid;
127
- grid-template-columns: repeat(6, 1fr);
128
- grid-gap: 20px;
129
- }
130
-
131
- .divider {
132
- margin: 20px 0 30px;
133
- }
134
-
135
- .grid-item {
136
- display: block;
137
- text-align: center;
138
- position: relative;
139
- padding-bottom: 40px;
140
- padding-top: 20px;
141
- border: 1px solid #dbdbdb;
142
- }
143
-
144
- .grid-item .codes {
145
- position: absolute;
146
- display: flex;
147
- justify-content: space-between;
148
- padding: 5px 20px;
149
- bottom: 0;
150
- left: 0;
151
- right: 0;
152
- border-top: 1px solid rgba(10, 10, 10, .1);
153
- }
154
-
155
- .grid-item .codes div {
156
- cursor: default;
157
- color: rgba(10, 10, 10, .6);
158
- }
159
-
160
- .preview {
161
- display: block;
162
- width: 32px;
163
- height: auto;
164
- }
165
-
166
- .layout {
167
- display: flex;
168
- }
169
-
170
- .layout .navigation {
171
- flex: 0 0 200px;
172
- }
173
-
174
- .layout .content {
175
- flex: 1 1 auto;
176
- }
177
-
178
- .embedded {
179
- padding: 10px;
180
- }
181
-
182
- .embedded .hide-on-embedded {
183
- display: none;
184
- }
185
- </style>
186
- </head>
187
- <body>
188
- <div id="main-container">
189
- <div class="layout">
190
- <aside class="hide-on-embedded navigation menu py-0">
191
- <section class="my-6">
192
- <p class="menu-label">
193
- <a href="../../base/index.html">
194
- base
195
- </a>
196
- </p>
197
- <ul class="menu-list">
198
- <li>
199
- <a href="../../base/colors/index.html">
200
- colors
201
- </a>
202
- </li>
203
- <li>
204
- <a href="../../base/sizing/index.html">
205
- sizing
206
- </a>
207
- </li>
208
- <li>
209
- <a href="../../base/spacing/index.html">
210
- spacing
211
- </a>
212
- </li>
213
- <li>
214
- <a href="../../base/border-width/index.html">
215
- borderWidth
216
- </a>
217
- </li>
218
- <li>
219
- <a href="../../base/font-sizes/index.html">
220
- fontSizes
221
- </a>
222
- </li>
223
- <li>
224
- <a href="../../base/box-shadow/index.html">
225
- boxShadow
226
- </a>
227
- </li>
228
- <li>
229
- <a href="../../base/font-weights/index.html">
230
- fontWeights
231
- </a>
232
- </li>
233
- <li>
234
- <a href="../../base/line-heights/index.html">
235
- lineHeights
236
- </a>
237
- </li>
238
- <li>
239
- <a href="../../base/font-families/index.html">
240
- fontFamilies
241
- </a>
242
- </li>
243
- <li>
244
- <a href="../../base/border-radius/index.html">
245
- borderRadius
246
- </a>
247
- </li>
248
- <li>
249
- <a href="../../base/typography/index.html">
250
- typography
251
- </a>
252
- </li>
253
- <li>
254
- <a href="../../base/opacity/index.html">
255
- opacity
256
- </a>
257
- </li>
258
- </ul>
259
- </section>
260
- </aside>
261
- <main class="content">
262
- <h1 class="hide-on-embedded">
263
- <a href="../../index.html">
264
- Sage Design Tokens
265
- </a>
266
- /
267
- <a href="../index.html">
268
- base
269
- </a>
270
- /
271
- sizing
272
- </h1>
273
-
274
- <section class="my-6">
275
- <table class="table is-bordered is-hoverable is-fullwidth">
276
- <colgroup>
277
- <col width="50%">
278
- <col width="25%">
279
- <col width="35%">
280
- </colgroup>
281
- <thead>
282
- <tr>
283
- <th class="has-background-light">Name</th>
284
- <th class="has-background-light">Value</th>
285
- <th class="has-background-light">Preview</th>
286
- </tr>
287
- </thead>
288
- <tr>
289
- <td class="with-icons is-vcentered"
290
- id="base-sizing100"
291
- title="theme: base; category: sizing; variant: 100; ">
292
- sizing100
293
- <a href="#base-sizing100"
294
- title="permalink"
295
- class="permalink">
296
- 🔗
297
- </a>
298
- </td>
299
- <td class="is-vcentered">
300
- <pre>8px</pre>
301
- </td>
302
- <td class="is-vcentered">
303
- <div class="table__sizing-preview"
304
- style="width: 8px; height: 8px">
305
- </div>
306
-
307
- </td>
308
- </tr>
309
- <tr>
310
- <td class="with-icons is-vcentered"
311
- id="base-sizing125"
312
- title="theme: base; category: sizing; variant: 125; ">
313
- sizing125
314
- <a href="#base-sizing125"
315
- title="permalink"
316
- class="permalink">
317
- 🔗
318
- </a>
319
- </td>
320
- <td class="is-vcentered">
321
- <pre>10px</pre>
322
- </td>
323
- <td class="is-vcentered">
324
- <div class="table__sizing-preview"
325
- style="width: 10px; height: 10px">
326
- </div>
327
-
328
- </td>
329
- </tr>
330
- <tr>
331
- <td class="with-icons is-vcentered"
332
- id="base-sizing150"
333
- title="theme: base; category: sizing; variant: 150; ">
334
- sizing150
335
- <a href="#base-sizing150"
336
- title="permalink"
337
- class="permalink">
338
- 🔗
339
- </a>
340
- </td>
341
- <td class="is-vcentered">
342
- <pre>12px</pre>
343
- </td>
344
- <td class="is-vcentered">
345
- <div class="table__sizing-preview"
346
- style="width: 12px; height: 12px">
347
- </div>
348
-
349
- </td>
350
- </tr>
351
- <tr>
352
- <td class="with-icons is-vcentered"
353
- id="base-sizing175"
354
- title="theme: base; category: sizing; variant: 175; ">
355
- sizing175
356
- <a href="#base-sizing175"
357
- title="permalink"
358
- class="permalink">
359
- 🔗
360
- </a>
361
- </td>
362
- <td class="is-vcentered">
363
- <pre>14px</pre>
364
- </td>
365
- <td class="is-vcentered">
366
- <div class="table__sizing-preview"
367
- style="width: 14px; height: 14px">
368
- </div>
369
-
370
- </td>
371
- </tr>
372
- <tr>
373
- <td class="with-icons is-vcentered"
374
- id="base-sizing200"
375
- title="theme: base; category: sizing; variant: 200; ">
376
- sizing200
377
- <a href="#base-sizing200"
378
- title="permalink"
379
- class="permalink">
380
- 🔗
381
- </a>
382
- </td>
383
- <td class="is-vcentered">
384
- <pre>16px</pre>
385
- </td>
386
- <td class="is-vcentered">
387
- <div class="table__sizing-preview"
388
- style="width: 16px; height: 16px">
389
- </div>
390
-
391
- </td>
392
- </tr>
393
- <tr>
394
- <td class="with-icons is-vcentered"
395
- id="base-sizing250"
396
- title="theme: base; category: sizing; variant: 250; ">
397
- sizing250
398
- <a href="#base-sizing250"
399
- title="permalink"
400
- class="permalink">
401
- 🔗
402
- </a>
403
- </td>
404
- <td class="is-vcentered">
405
- <pre>20px</pre>
406
- </td>
407
- <td class="is-vcentered">
408
- <div class="table__sizing-preview"
409
- style="width: 20px; height: 20px">
410
- </div>
411
-
412
- </td>
413
- </tr>
414
- <tr>
415
- <td class="with-icons is-vcentered"
416
- id="base-sizing275"
417
- title="theme: base; category: sizing; variant: 275; ">
418
- sizing275
419
- <a href="#base-sizing275"
420
- title="permalink"
421
- class="permalink">
422
- 🔗
423
- </a>
424
- </td>
425
- <td class="is-vcentered">
426
- <pre>22px</pre>
427
- </td>
428
- <td class="is-vcentered">
429
- <div class="table__sizing-preview"
430
- style="width: 22px; height: 22px">
431
- </div>
432
-
433
- </td>
434
- </tr>
435
- <tr>
436
- <td class="with-icons is-vcentered"
437
- id="base-sizing300"
438
- title="theme: base; category: sizing; variant: 300; ">
439
- sizing300
440
- <a href="#base-sizing300"
441
- title="permalink"
442
- class="permalink">
443
- 🔗
444
- </a>
445
- </td>
446
- <td class="is-vcentered">
447
- <pre>24px</pre>
448
- </td>
449
- <td class="is-vcentered">
450
- <div class="table__sizing-preview"
451
- style="width: 24px; height: 24px">
452
- </div>
453
-
454
- </td>
455
- </tr>
456
- <tr>
457
- <td class="with-icons is-vcentered"
458
- id="base-sizing350"
459
- title="theme: base; category: sizing; variant: 350; ">
460
- sizing350
461
- <a href="#base-sizing350"
462
- title="permalink"
463
- class="permalink">
464
- 🔗
465
- </a>
466
- </td>
467
- <td class="is-vcentered">
468
- <pre>28px</pre>
469
- </td>
470
- <td class="is-vcentered">
471
- <div class="table__sizing-preview"
472
- style="width: 28px; height: 28px">
473
- </div>
474
-
475
- </td>
476
- </tr>
477
- <tr>
478
- <td class="with-icons is-vcentered"
479
- id="base-sizing375"
480
- title="theme: base; category: sizing; variant: 375; ">
481
- sizing375
482
- <a href="#base-sizing375"
483
- title="permalink"
484
- class="permalink">
485
- 🔗
486
- </a>
487
- </td>
488
- <td class="is-vcentered">
489
- <pre>30px</pre>
490
- </td>
491
- <td class="is-vcentered">
492
- <div class="table__sizing-preview"
493
- style="width: 30px; height: 30px">
494
- </div>
495
-
496
- </td>
497
- </tr>
498
- <tr>
499
- <td class="with-icons is-vcentered"
500
- id="base-sizing400"
501
- title="theme: base; category: sizing; variant: 400; ">
502
- sizing400
503
- <a href="#base-sizing400"
504
- title="permalink"
505
- class="permalink">
506
- 🔗
507
- </a>
508
- </td>
509
- <td class="is-vcentered">
510
- <pre>32px</pre>
511
- </td>
512
- <td class="is-vcentered">
513
- <div class="table__sizing-preview"
514
- style="width: 32px; height: 32px">
515
- </div>
516
-
517
- </td>
518
- </tr>
519
- <tr>
520
- <td class="with-icons is-vcentered"
521
- id="base-sizing450"
522
- title="theme: base; category: sizing; variant: 450; ">
523
- sizing450
524
- <a href="#base-sizing450"
525
- title="permalink"
526
- class="permalink">
527
- 🔗
528
- </a>
529
- </td>
530
- <td class="is-vcentered">
531
- <pre>36px</pre>
532
- </td>
533
- <td class="is-vcentered">
534
- <div class="table__sizing-preview"
535
- style="width: 36px; height: 36px">
536
- </div>
537
-
538
- </td>
539
- </tr>
540
- <tr>
541
- <td class="with-icons is-vcentered"
542
- id="base-sizing500"
543
- title="theme: base; category: sizing; variant: 500; ">
544
- sizing500
545
- <a href="#base-sizing500"
546
- title="permalink"
547
- class="permalink">
548
- 🔗
549
- </a>
550
- </td>
551
- <td class="is-vcentered">
552
- <pre>40px</pre>
553
- </td>
554
- <td class="is-vcentered">
555
- <div class="table__sizing-preview"
556
- style="width: 40px; height: 40px">
557
- </div>
558
-
559
- </td>
560
- </tr>
561
- <tr>
562
- <td class="with-icons is-vcentered"
563
- id="base-sizing525"
564
- title="theme: base; category: sizing; variant: 525; ">
565
- sizing525
566
- <a href="#base-sizing525"
567
- title="permalink"
568
- class="permalink">
569
- 🔗
570
- </a>
571
- </td>
572
- <td class="is-vcentered">
573
- <pre>42px</pre>
574
- </td>
575
- <td class="is-vcentered">
576
- <div class="table__sizing-preview"
577
- style="width: 42px; height: 42px">
578
- </div>
579
-
580
- </td>
581
- </tr>
582
- <tr>
583
- <td class="with-icons is-vcentered"
584
- id="base-sizing600"
585
- title="theme: base; category: sizing; variant: 600; ">
586
- sizing600
587
- <a href="#base-sizing600"
588
- title="permalink"
589
- class="permalink">
590
- 🔗
591
- </a>
592
- </td>
593
- <td class="is-vcentered">
594
- <pre>48px</pre>
595
- </td>
596
- <td class="is-vcentered">
597
- <div class="table__sizing-preview"
598
- style="width: 48px; height: 48px">
599
- </div>
600
-
601
- </td>
602
- </tr>
603
- <tr>
604
- <td class="with-icons is-vcentered"
605
- id="base-sizing700"
606
- title="theme: base; category: sizing; variant: 700; ">
607
- sizing700
608
- <a href="#base-sizing700"
609
- title="permalink"
610
- class="permalink">
611
- 🔗
612
- </a>
613
- </td>
614
- <td class="is-vcentered">
615
- <pre>56px</pre>
616
- </td>
617
- <td class="is-vcentered">
618
- <div class="table__sizing-preview"
619
- style="width: 56px; height: 56px">
620
- </div>
621
-
622
- </td>
623
- </tr>
624
- <tr>
625
- <td class="with-icons is-vcentered"
626
- id="base-sizing800"
627
- title="theme: base; category: sizing; variant: 800; ">
628
- sizing800
629
- <a href="#base-sizing800"
630
- title="permalink"
631
- class="permalink">
632
- 🔗
633
- </a>
634
- </td>
635
- <td class="is-vcentered">
636
- <pre>64px</pre>
637
- </td>
638
- <td class="is-vcentered">
639
- <div class="table__sizing-preview"
640
- style="width: 64px; height: 64px">
641
- </div>
642
-
643
- </td>
644
- </tr>
645
- <tr>
646
- <td class="with-icons is-vcentered"
647
- id="base-sizing900"
648
- title="theme: base; category: sizing; variant: 900; ">
649
- sizing900
650
- <a href="#base-sizing900"
651
- title="permalink"
652
- class="permalink">
653
- 🔗
654
- </a>
655
- </td>
656
- <td class="is-vcentered">
657
- <pre>72px</pre>
658
- </td>
659
- <td class="is-vcentered">
660
- <div class="table__sizing-preview"
661
- style="width: 72px; height: 72px">
662
- </div>
663
-
664
- </td>
665
- </tr>
666
- <tr>
667
- <td class="with-icons is-vcentered"
668
- id="base-sizing1000"
669
- title="theme: base; category: sizing; variant: 1000; ">
670
- sizing1000
671
- <a href="#base-sizing1000"
672
- title="permalink"
673
- class="permalink">
674
- 🔗
675
- </a>
676
- </td>
677
- <td class="is-vcentered">
678
- <pre>80px</pre>
679
- </td>
680
- <td class="is-vcentered">
681
- <div class="table__sizing-preview"
682
- style="width: 80px; height: 80px">
683
- </div>
684
-
685
- </td>
686
- </tr>
687
- <tr>
688
- <td class="with-icons is-vcentered"
689
- id="base-sizing1200"
690
- title="theme: base; category: sizing; variant: 1200; ">
691
- sizing1200
692
- <a href="#base-sizing1200"
693
- title="permalink"
694
- class="permalink">
695
- 🔗
696
- </a>
697
- </td>
698
- <td class="is-vcentered">
699
- <pre>96px</pre>
700
- </td>
701
- <td class="is-vcentered">
702
- <div class="table__sizing-preview"
703
- style="width: 96px; height: 96px">
704
- </div>
705
-
706
- </td>
707
- </tr>
708
- <tr>
709
- <td class="with-icons is-vcentered"
710
- id="base-sizing1300"
711
- title="theme: base; category: sizing; variant: 1300; ">
712
- sizing1300
713
- <a href="#base-sizing1300"
714
- title="permalink"
715
- class="permalink">
716
- 🔗
717
- </a>
718
- </td>
719
- <td class="is-vcentered">
720
- <pre>104px</pre>
721
- </td>
722
- <td class="is-vcentered">
723
- <div class="table__sizing-preview"
724
- style="width: 104px; height: 104px">
725
- </div>
726
-
727
- </td>
728
- </tr>
729
- <tr>
730
- <td class="with-icons is-vcentered"
731
- id="base-sizing1600"
732
- title="theme: base; category: sizing; variant: 1600; ">
733
- sizing1600
734
- <a href="#base-sizing1600"
735
- title="permalink"
736
- class="permalink">
737
- 🔗
738
- </a>
739
- </td>
740
- <td class="is-vcentered">
741
- <pre>128px</pre>
742
- </td>
743
- <td class="is-vcentered">
744
- <div class="table__sizing-preview"
745
- style="width: 128px; height: 128px">
746
- </div>
747
-
748
- </td>
749
- </tr>
750
- <tr>
751
- <td class="with-icons is-vcentered"
752
- id="base-sizing010"
753
- title="theme: base; category: sizing; variant: 010; ">
754
- sizing010
755
- <a href="#base-sizing010"
756
- title="permalink"
757
- class="permalink">
758
- 🔗
759
- </a>
760
- </td>
761
- <td class="is-vcentered">
762
- <pre>1px</pre>
763
- </td>
764
- <td class="is-vcentered">
765
- <div class="table__sizing-preview"
766
- style="width: 1px; height: 1px">
767
- </div>
768
-
769
- </td>
770
- </tr>
771
- <tr>
772
- <td class="with-icons is-vcentered"
773
- id="base-sizing025"
774
- title="theme: base; category: sizing; variant: 025; ">
775
- sizing025
776
- <a href="#base-sizing025"
777
- title="permalink"
778
- class="permalink">
779
- 🔗
780
- </a>
781
- </td>
782
- <td class="is-vcentered">
783
- <pre>2px</pre>
784
- </td>
785
- <td class="is-vcentered">
786
- <div class="table__sizing-preview"
787
- style="width: 2px; height: 2px">
788
- </div>
789
-
790
- </td>
791
- </tr>
792
- <tr>
793
- <td class="with-icons is-vcentered"
794
- id="base-sizing050"
795
- title="theme: base; category: sizing; variant: 050; ">
796
- sizing050
797
- <a href="#base-sizing050"
798
- title="permalink"
799
- class="permalink">
800
- 🔗
801
- </a>
802
- </td>
803
- <td class="is-vcentered">
804
- <pre>4px</pre>
805
- </td>
806
- <td class="is-vcentered">
807
- <div class="table__sizing-preview"
808
- style="width: 4px; height: 4px">
809
- </div>
810
-
811
- </td>
812
- </tr>
813
- <tr>
814
- <td class="with-icons is-vcentered"
815
- id="base-sizing075"
816
- title="theme: base; category: sizing; variant: 075; ">
817
- sizing075
818
- <a href="#base-sizing075"
819
- title="permalink"
820
- class="permalink">
821
- 🔗
822
- </a>
823
- </td>
824
- <td class="is-vcentered">
825
- <pre>6px</pre>
826
- </td>
827
- <td class="is-vcentered">
828
- <div class="table__sizing-preview"
829
- style="width: 6px; height: 6px">
830
- </div>
831
-
832
- </td>
833
- </tr>
834
- <tr>
835
- <td class="with-icons is-vcentered"
836
- id="base-sizingLogowidth"
837
- title="theme: base; category: sizing; variant: logowidth; ">
838
- sizingLogowidth
839
- <a href="#base-sizingLogowidth"
840
- title="permalink"
841
- class="permalink">
842
- 🔗
843
- </a>
844
- </td>
845
- <td class="is-vcentered">
846
- <pre>40px</pre>
847
- </td>
848
- <td class="is-vcentered">
849
- <div class="table__sizing-preview"
850
- style="width: 40px; height: 40px">
851
- </div>
852
-
853
- </td>
854
- </tr>
855
- </table>
856
- </section>
857
- </main>
858
- </div>
859
-
860
-
861
- </div>
862
-
863
- <script>
864
- const searchParams = new URLSearchParams(window.location.search);
865
- const embedded = !!searchParams.get('embedded');
866
- if(embedded) {
867
- document.body.classList.add('embedded')
868
- }
869
- </script>
870
- </body>
871
- </html>