@commmerce/tokens 1.3.0 → 1.5.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.
- package/README.md +1 -1
- package/THIRD_PARTY_NOTICES.txt +101 -0
- package/dist/fonts/OFL-DancingScript.txt +93 -0
- package/dist/fonts/dancing-script-latin-400-normal.woff2 +0 -0
- package/dist/fonts.css +10 -0
- package/dist/tokens.css +103 -46
- package/dist/tokens.d.ts +98 -20
- package/dist/tokens.js +41 -2
- package/dist/tokens.json +425 -78
- package/package.json +1 -1
package/dist/tokens.json
CHANGED
|
@@ -339,10 +339,11 @@
|
|
|
339
339
|
"family": "color",
|
|
340
340
|
"cssVar": "--cm-border-default",
|
|
341
341
|
"value": {
|
|
342
|
-
"light": "#
|
|
343
|
-
"dark": "#
|
|
342
|
+
"light": "#e5e5e5",
|
|
343
|
+
"dark": "#2e2e2e"
|
|
344
344
|
},
|
|
345
|
-
"usage": "
|
|
345
|
+
"usage": "Deprecated since 1.5: use border-subtle (same value).",
|
|
346
|
+
"deprecated": true
|
|
346
347
|
},
|
|
347
348
|
{
|
|
348
349
|
"name": "border-strong",
|
|
@@ -362,7 +363,7 @@
|
|
|
362
363
|
"light": "#8b8b8b",
|
|
363
364
|
"dark": "#6f6f6f"
|
|
364
365
|
},
|
|
365
|
-
"usage": "Outline of text fields, selects and other form controls (3.4:1 on white, 3.4:1 dark). gray-600 from the Figma black scale."
|
|
366
|
+
"usage": "Outline of text fields, selects and other form controls (3.4:1 on white, 3.4:1 dark). gray-600 from the Figma black scale. Since 1.5 the second border level: every form control outline (3:1 or more on surfaces)."
|
|
366
367
|
},
|
|
367
368
|
{
|
|
368
369
|
"name": "action-primary",
|
|
@@ -439,10 +440,11 @@
|
|
|
439
440
|
"family": "color",
|
|
440
441
|
"cssVar": "--cm-border-card",
|
|
441
442
|
"value": {
|
|
442
|
-
"light": "
|
|
443
|
-
"dark": "
|
|
443
|
+
"light": "#e5e5e5",
|
|
444
|
+
"dark": "#2e2e2e"
|
|
444
445
|
},
|
|
445
|
-
"usage": "
|
|
446
|
+
"usage": "Deprecated since 1.5: use border-subtle (same value).",
|
|
447
|
+
"deprecated": true
|
|
446
448
|
},
|
|
447
449
|
{
|
|
448
450
|
"name": "gray-1000",
|
|
@@ -549,10 +551,10 @@
|
|
|
549
551
|
"family": "color",
|
|
550
552
|
"cssVar": "--cm-border-subtle",
|
|
551
553
|
"value": {
|
|
552
|
-
"light": "#
|
|
553
|
-
"dark": "#
|
|
554
|
+
"light": "#e5e5e5",
|
|
555
|
+
"dark": "#2e2e2e"
|
|
554
556
|
},
|
|
555
|
-
"usage": "
|
|
557
|
+
"usage": "Dividers, card and panel outlines, table rules, popover edges (decorative; 1px). Since 1.5 one of the two border levels: border-subtle for structure, border-input for controls."
|
|
556
558
|
},
|
|
557
559
|
{
|
|
558
560
|
"name": "toggle-on",
|
|
@@ -665,81 +667,316 @@
|
|
|
665
667
|
"usage": "Attention icon tile in notifications."
|
|
666
668
|
},
|
|
667
669
|
{
|
|
668
|
-
"name": "
|
|
670
|
+
"name": "font-size-12",
|
|
671
|
+
"family": "fontSize",
|
|
672
|
+
"cssVar": "--cm-font-size-12",
|
|
673
|
+
"value": "12px",
|
|
674
|
+
"usage": "Captions, badges, counts, table headers. Smallest size."
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "font-size-13",
|
|
678
|
+
"family": "fontSize",
|
|
679
|
+
"cssVar": "--cm-font-size-13",
|
|
680
|
+
"value": "13px",
|
|
681
|
+
"usage": "Help text, slim buttons, secondary lines."
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "font-size-14",
|
|
685
|
+
"family": "fontSize",
|
|
686
|
+
"cssVar": "--cm-font-size-14",
|
|
687
|
+
"value": "14px",
|
|
688
|
+
"usage": "Default UI text."
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "font-size-16",
|
|
692
|
+
"family": "fontSize",
|
|
693
|
+
"cssVar": "--cm-font-size-16",
|
|
694
|
+
"value": "16px",
|
|
695
|
+
"usage": "Card and section headings, reading text."
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "font-size-18",
|
|
699
|
+
"family": "fontSize",
|
|
700
|
+
"cssVar": "--cm-font-size-18",
|
|
701
|
+
"value": "18px",
|
|
702
|
+
"usage": "Small headings on phones."
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "font-size-20",
|
|
706
|
+
"family": "fontSize",
|
|
707
|
+
"cssVar": "--cm-font-size-20",
|
|
708
|
+
"value": "20px",
|
|
709
|
+
"usage": "Modal titles, page titles on phones."
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "font-size-24",
|
|
713
|
+
"family": "fontSize",
|
|
714
|
+
"cssVar": "--cm-font-size-24",
|
|
715
|
+
"value": "24px",
|
|
716
|
+
"usage": "Page titles."
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"name": "font-size-30",
|
|
720
|
+
"family": "fontSize",
|
|
721
|
+
"cssVar": "--cm-font-size-30",
|
|
722
|
+
"value": "30px",
|
|
723
|
+
"usage": "Display numbers."
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"name": "font-size-40",
|
|
727
|
+
"family": "fontSize",
|
|
728
|
+
"cssVar": "--cm-font-size-40",
|
|
729
|
+
"value": "40px",
|
|
730
|
+
"usage": "Marketing and hero headings only (the docs home page). Not for product UI: components never use it."
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"name": "line-height-12",
|
|
734
|
+
"family": "lineHeight",
|
|
735
|
+
"cssVar": "--cm-line-height-12",
|
|
736
|
+
"value": "16px",
|
|
737
|
+
"usage": "Line height for font-size-12."
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "line-height-13",
|
|
741
|
+
"family": "lineHeight",
|
|
742
|
+
"cssVar": "--cm-line-height-13",
|
|
743
|
+
"value": "18px",
|
|
744
|
+
"usage": "Line height for font-size-13."
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"name": "line-height-14",
|
|
748
|
+
"family": "lineHeight",
|
|
749
|
+
"cssVar": "--cm-line-height-14",
|
|
750
|
+
"value": "20px",
|
|
751
|
+
"usage": "Line height for font-size-14."
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"name": "line-height-16",
|
|
755
|
+
"family": "lineHeight",
|
|
756
|
+
"cssVar": "--cm-line-height-16",
|
|
757
|
+
"value": "24px",
|
|
758
|
+
"usage": "Line height for font-size-16."
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"name": "line-height-18",
|
|
762
|
+
"family": "lineHeight",
|
|
763
|
+
"cssVar": "--cm-line-height-18",
|
|
764
|
+
"value": "26px",
|
|
765
|
+
"usage": "Line height for font-size-18."
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "line-height-20",
|
|
769
|
+
"family": "lineHeight",
|
|
770
|
+
"cssVar": "--cm-line-height-20",
|
|
771
|
+
"value": "28px",
|
|
772
|
+
"usage": "Line height for font-size-20."
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "line-height-24",
|
|
776
|
+
"family": "lineHeight",
|
|
777
|
+
"cssVar": "--cm-line-height-24",
|
|
778
|
+
"value": "32px",
|
|
779
|
+
"usage": "Line height for font-size-24."
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"name": "line-height-30",
|
|
783
|
+
"family": "lineHeight",
|
|
784
|
+
"cssVar": "--cm-line-height-30",
|
|
785
|
+
"value": "36px",
|
|
786
|
+
"usage": "Line height for font-size-30."
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "line-height-40",
|
|
790
|
+
"family": "lineHeight",
|
|
791
|
+
"cssVar": "--cm-line-height-40",
|
|
792
|
+
"value": "48px",
|
|
793
|
+
"usage": "Line height for font-size-40."
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "space-4",
|
|
669
797
|
"family": "spacing",
|
|
670
|
-
"cssVar": "--cm-space-
|
|
671
|
-
"value": "
|
|
672
|
-
"usage": "
|
|
798
|
+
"cssVar": "--cm-space-4",
|
|
799
|
+
"value": "4px",
|
|
800
|
+
"usage": "Icon to text inside small controls; badge and tag gaps."
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"name": "space-8",
|
|
804
|
+
"family": "spacing",
|
|
805
|
+
"cssVar": "--cm-space-8",
|
|
806
|
+
"value": "8px",
|
|
807
|
+
"usage": "Default gap inside controls and between related items (buttons in a row, label to field)."
|
|
673
808
|
},
|
|
674
809
|
{
|
|
675
810
|
"name": "space-12",
|
|
676
811
|
"family": "spacing",
|
|
677
812
|
"cssVar": "--cm-space-12",
|
|
678
813
|
"value": "12px",
|
|
679
|
-
"usage": "
|
|
814
|
+
"usage": "Control side padding; gap between list rows and small cards."
|
|
680
815
|
},
|
|
681
816
|
{
|
|
682
|
-
"name": "space-
|
|
817
|
+
"name": "space-16",
|
|
683
818
|
"family": "spacing",
|
|
684
|
-
"cssVar": "--cm-space-
|
|
685
|
-
"value": "
|
|
686
|
-
"usage": "
|
|
819
|
+
"cssVar": "--cm-space-16",
|
|
820
|
+
"value": "16px",
|
|
821
|
+
"usage": "Card padding on phones; gap between fields in a form."
|
|
687
822
|
},
|
|
688
823
|
{
|
|
689
824
|
"name": "space-20",
|
|
690
825
|
"family": "spacing",
|
|
691
826
|
"cssVar": "--cm-space-20",
|
|
692
827
|
"value": "20px",
|
|
693
|
-
"usage": "
|
|
828
|
+
"usage": "Card padding; the default gap between cards (cm-stack, cm-grid, cm-layout); gap between form sections."
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "space-24",
|
|
832
|
+
"family": "spacing",
|
|
833
|
+
"cssVar": "--cm-space-24",
|
|
834
|
+
"value": "24px",
|
|
835
|
+
"usage": "Page side padding (cm-page, cm-page-header); gap between page sections."
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"name": "space-32",
|
|
839
|
+
"family": "spacing",
|
|
840
|
+
"cssVar": "--cm-space-32",
|
|
841
|
+
"value": "32px",
|
|
842
|
+
"usage": "Gap between page sections."
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"name": "space-40",
|
|
846
|
+
"family": "spacing",
|
|
847
|
+
"cssVar": "--cm-space-40",
|
|
848
|
+
"value": "40px",
|
|
849
|
+
"usage": "Large section spacing."
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "space-48",
|
|
853
|
+
"family": "spacing",
|
|
854
|
+
"cssVar": "--cm-space-48",
|
|
855
|
+
"value": "48px",
|
|
856
|
+
"usage": "Empty-state and hero spacing."
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"name": "space-64",
|
|
860
|
+
"family": "spacing",
|
|
861
|
+
"cssVar": "--cm-space-64",
|
|
862
|
+
"value": "64px",
|
|
863
|
+
"usage": "Largest layout spacing."
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"name": "space-10",
|
|
867
|
+
"family": "spacing",
|
|
868
|
+
"cssVar": "--cm-space-10",
|
|
869
|
+
"value": "10px",
|
|
870
|
+
"usage": "Deprecated since 1.5: off the 4px grid, kept with its old value for existing apps. Use space-8 (or space-12).",
|
|
871
|
+
"deprecated": true
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "space-15",
|
|
875
|
+
"family": "spacing",
|
|
876
|
+
"cssVar": "--cm-space-15",
|
|
877
|
+
"value": "15px",
|
|
878
|
+
"usage": "Deprecated since 1.5: off the 4px grid, kept with its old value for existing apps. Use space-16 (or space-12).",
|
|
879
|
+
"deprecated": true
|
|
694
880
|
},
|
|
695
881
|
{
|
|
696
882
|
"name": "space-22",
|
|
697
883
|
"family": "spacing",
|
|
698
884
|
"cssVar": "--cm-space-22",
|
|
699
885
|
"value": "22px",
|
|
700
|
-
"usage": "
|
|
886
|
+
"usage": "Deprecated since 1.5: off the 4px grid, kept with its old value for existing apps. Use space-24.",
|
|
887
|
+
"deprecated": true
|
|
701
888
|
},
|
|
702
889
|
{
|
|
703
890
|
"name": "space-30",
|
|
704
891
|
"family": "spacing",
|
|
705
892
|
"cssVar": "--cm-space-30",
|
|
706
893
|
"value": "30px",
|
|
707
|
-
"usage": "
|
|
894
|
+
"usage": "Deprecated since 1.5: off the 4px grid, kept with its old value for existing apps. Use space-32.",
|
|
895
|
+
"deprecated": true
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "control-height-sm",
|
|
899
|
+
"family": "size",
|
|
900
|
+
"cssVar": "--cm-control-height-sm",
|
|
901
|
+
"value": "32px",
|
|
902
|
+
"usage": "Small controls: toolbar and filter fields (size=\"small\"), slim buttons, segmented controls."
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "control-height-md",
|
|
906
|
+
"family": "size",
|
|
907
|
+
"cssVar": "--cm-control-height-md",
|
|
908
|
+
"value": "36px",
|
|
909
|
+
"usage": "Default height of buttons, text fields, selects and pickers."
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"name": "control-height-lg",
|
|
913
|
+
"family": "size",
|
|
914
|
+
"cssVar": "--cm-control-height-lg",
|
|
915
|
+
"value": "40px",
|
|
916
|
+
"usage": "Large buttons (save bars, page actions) and large search."
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"name": "control-height-touch",
|
|
920
|
+
"family": "size",
|
|
921
|
+
"cssVar": "--cm-control-height-touch",
|
|
922
|
+
"value": "44px",
|
|
923
|
+
"usage": "Minimum height (and width for icon buttons) of every control on touch screens (pointer: coarse)."
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"name": "icon-size-sm",
|
|
927
|
+
"family": "size",
|
|
928
|
+
"cssVar": "--cm-icon-size-sm",
|
|
929
|
+
"value": "16px",
|
|
930
|
+
"usage": "Icons inside controls: buttons, fields, menu items."
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"name": "icon-size-md",
|
|
934
|
+
"family": "size",
|
|
935
|
+
"cssVar": "--cm-icon-size-md",
|
|
936
|
+
"value": "20px",
|
|
937
|
+
"usage": "Navigation icons."
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "icon-size-lg",
|
|
941
|
+
"family": "size",
|
|
942
|
+
"cssVar": "--cm-icon-size-lg",
|
|
943
|
+
"value": "24px",
|
|
944
|
+
"usage": "Feature icons: empty states, tiles."
|
|
708
945
|
},
|
|
709
946
|
{
|
|
710
947
|
"name": "radius-xs",
|
|
711
948
|
"family": "radius",
|
|
712
949
|
"cssVar": "--cm-radius-xs",
|
|
713
|
-
"value": "
|
|
714
|
-
"usage": "Checkboxes
|
|
950
|
+
"value": "4px",
|
|
951
|
+
"usage": "Checkboxes and other small marks."
|
|
715
952
|
},
|
|
716
953
|
{
|
|
717
954
|
"name": "radius-sm",
|
|
718
955
|
"family": "radius",
|
|
719
956
|
"cssVar": "--cm-radius-sm",
|
|
720
|
-
"value": "
|
|
721
|
-
"usage": "
|
|
957
|
+
"value": "6px",
|
|
958
|
+
"usage": "Controls: buttons, inputs, selects, badges, segmented controls, menu items."
|
|
722
959
|
},
|
|
723
960
|
{
|
|
724
961
|
"name": "radius-md",
|
|
725
962
|
"family": "radius",
|
|
726
963
|
"cssVar": "--cm-radius-md",
|
|
727
|
-
"value": "
|
|
728
|
-
"usage": "Cards."
|
|
964
|
+
"value": "8px",
|
|
965
|
+
"usage": "Cards, popovers, dropdowns, menus, toasts."
|
|
729
966
|
},
|
|
730
967
|
{
|
|
731
968
|
"name": "radius-lg",
|
|
732
969
|
"family": "radius",
|
|
733
970
|
"cssVar": "--cm-radius-lg",
|
|
734
971
|
"value": "12px",
|
|
735
|
-
"usage": "
|
|
972
|
+
"usage": "Panels, modals, side panels, bottom sheets."
|
|
736
973
|
},
|
|
737
974
|
{
|
|
738
975
|
"name": "radius-full",
|
|
739
976
|
"family": "radius",
|
|
740
977
|
"cssVar": "--cm-radius-full",
|
|
741
978
|
"value": "9999px",
|
|
742
|
-
"usage": "
|
|
979
|
+
"usage": "Pills, avatars, toggles and circular icon buttons."
|
|
743
980
|
},
|
|
744
981
|
{
|
|
745
982
|
"name": "border-1",
|
|
@@ -753,21 +990,65 @@
|
|
|
753
990
|
"family": "shadow",
|
|
754
991
|
"cssVar": "--cm-shadow-0",
|
|
755
992
|
"value": "none",
|
|
756
|
-
"usage": "
|
|
993
|
+
"usage": "Cards and panels: flat, with a border-subtle line."
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "shadow-sm",
|
|
997
|
+
"family": "shadow",
|
|
998
|
+
"cssVar": "--cm-shadow-sm",
|
|
999
|
+
"value": "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08)",
|
|
1000
|
+
"usage": "Small overlays: tooltips, menus."
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "shadow-md",
|
|
1004
|
+
"family": "shadow",
|
|
1005
|
+
"cssVar": "--cm-shadow-md",
|
|
1006
|
+
"value": "0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04)",
|
|
1007
|
+
"usage": "Popovers and dropdowns: select and combobox lists, date pickers, search results, notification panel."
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"name": "shadow-lg",
|
|
1011
|
+
"family": "shadow",
|
|
1012
|
+
"cssVar": "--cm-shadow-lg",
|
|
1013
|
+
"value": "0 16px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06)",
|
|
1014
|
+
"usage": "Modals, side panels, bottom sheets, toasts, save bars, dragged cards."
|
|
757
1015
|
},
|
|
758
1016
|
{
|
|
759
1017
|
"name": "shadow-100",
|
|
760
1018
|
"family": "shadow",
|
|
761
1019
|
"cssVar": "--cm-shadow-100",
|
|
762
|
-
"value": "
|
|
763
|
-
"usage": "
|
|
1020
|
+
"value": "0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04)",
|
|
1021
|
+
"usage": "Deprecated since 1.5: use shadow-md (same value).",
|
|
1022
|
+
"deprecated": true
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"name": "duration-fast",
|
|
1026
|
+
"family": "motion",
|
|
1027
|
+
"cssVar": "--cm-duration-fast",
|
|
1028
|
+
"value": "120ms",
|
|
1029
|
+
"usage": "Hover, press, toggles, chevrons."
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "duration-base",
|
|
1033
|
+
"family": "motion",
|
|
1034
|
+
"cssVar": "--cm-duration-base",
|
|
1035
|
+
"value": "200ms",
|
|
1036
|
+
"usage": "Opening and closing: popovers, panels, accordions."
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"name": "easing-standard",
|
|
1040
|
+
"family": "motion",
|
|
1041
|
+
"cssVar": "--cm-easing-standard",
|
|
1042
|
+
"value": "cubic-bezier(0.2, 0, 0, 1)",
|
|
1043
|
+
"usage": "Every transition. Under prefers-reduced-motion components turn transitions off."
|
|
764
1044
|
},
|
|
765
1045
|
{
|
|
766
1046
|
"name": "tracking-caps",
|
|
767
1047
|
"family": "letterSpacing",
|
|
768
1048
|
"cssVar": "--cm-tracking-caps",
|
|
769
1049
|
"value": "0.16em",
|
|
770
|
-
"usage": "
|
|
1050
|
+
"usage": "Deprecated since 1.5: components no longer use uppercase text (sentence case everywhere). Kept for existing apps.",
|
|
1051
|
+
"deprecated": true
|
|
771
1052
|
},
|
|
772
1053
|
{
|
|
773
1054
|
"name": "font-sans",
|
|
@@ -775,27 +1056,60 @@
|
|
|
775
1056
|
"cssVar": "--cm-font-sans",
|
|
776
1057
|
"value": "\"Poppins\", system-ui, sans-serif"
|
|
777
1058
|
},
|
|
1059
|
+
{
|
|
1060
|
+
"name": "type-display-lg",
|
|
1061
|
+
"family": "type",
|
|
1062
|
+
"group": "Desktop",
|
|
1063
|
+
"value": {
|
|
1064
|
+
"fontSize": "40px",
|
|
1065
|
+
"lineHeight": "48px",
|
|
1066
|
+
"fontWeight": 600
|
|
1067
|
+
},
|
|
1068
|
+
"usage": "Marketing/hero only: the one big heading of a marketing-style page (the docs home). 40/48. Never in product UI."
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"name": "type-display",
|
|
1072
|
+
"family": "type",
|
|
1073
|
+
"group": "Desktop",
|
|
1074
|
+
"value": {
|
|
1075
|
+
"fontSize": "30px",
|
|
1076
|
+
"lineHeight": "36px",
|
|
1077
|
+
"fontWeight": 600
|
|
1078
|
+
},
|
|
1079
|
+
"usage": "Large numbers and the rare marketing-style heading. 30/36."
|
|
1080
|
+
},
|
|
778
1081
|
{
|
|
779
1082
|
"name": "type-heading-lg",
|
|
780
1083
|
"family": "type",
|
|
781
1084
|
"group": "Desktop",
|
|
782
1085
|
"value": {
|
|
783
|
-
"fontSize": "
|
|
784
|
-
"lineHeight":
|
|
1086
|
+
"fontSize": "24px",
|
|
1087
|
+
"lineHeight": "32px",
|
|
785
1088
|
"fontWeight": 600
|
|
786
1089
|
},
|
|
787
|
-
"usage": "Page titles (
|
|
1090
|
+
"usage": "Page titles (cm-page-header). 24/32 semibold."
|
|
788
1091
|
},
|
|
789
1092
|
{
|
|
790
|
-
"name": "type-heading-
|
|
1093
|
+
"name": "type-heading-md",
|
|
791
1094
|
"family": "type",
|
|
792
1095
|
"group": "Desktop",
|
|
793
1096
|
"value": {
|
|
794
1097
|
"fontSize": "20px",
|
|
795
|
-
"lineHeight":
|
|
796
|
-
"fontWeight":
|
|
1098
|
+
"lineHeight": "28px",
|
|
1099
|
+
"fontWeight": 600
|
|
1100
|
+
},
|
|
1101
|
+
"usage": "Modal and side panel titles, big section headings. 20/28."
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"name": "type-heading-sm",
|
|
1105
|
+
"family": "type",
|
|
1106
|
+
"group": "Desktop",
|
|
1107
|
+
"value": {
|
|
1108
|
+
"fontSize": "16px",
|
|
1109
|
+
"lineHeight": "24px",
|
|
1110
|
+
"fontWeight": 600
|
|
797
1111
|
},
|
|
798
|
-
"usage": "Card and
|
|
1112
|
+
"usage": "Card, section and form-group titles. 16/24 semibold."
|
|
799
1113
|
},
|
|
800
1114
|
{
|
|
801
1115
|
"name": "type-body-lg",
|
|
@@ -803,10 +1117,10 @@
|
|
|
803
1117
|
"group": "Desktop",
|
|
804
1118
|
"value": {
|
|
805
1119
|
"fontSize": "16px",
|
|
806
|
-
"lineHeight":
|
|
1120
|
+
"lineHeight": "24px",
|
|
807
1121
|
"fontWeight": 400
|
|
808
1122
|
},
|
|
809
|
-
"usage": "
|
|
1123
|
+
"usage": "Long reading text. 16/24."
|
|
810
1124
|
},
|
|
811
1125
|
{
|
|
812
1126
|
"name": "type-body-md",
|
|
@@ -814,120 +1128,153 @@
|
|
|
814
1128
|
"group": "Desktop",
|
|
815
1129
|
"value": {
|
|
816
1130
|
"fontSize": "14px",
|
|
817
|
-
"lineHeight":
|
|
1131
|
+
"lineHeight": "20px",
|
|
818
1132
|
"fontWeight": 400
|
|
819
1133
|
},
|
|
820
|
-
"usage": "
|
|
1134
|
+
"usage": "Default UI text: field values, buttons, list and table text. 14/20."
|
|
821
1135
|
},
|
|
822
1136
|
{
|
|
823
1137
|
"name": "type-body-sm",
|
|
824
1138
|
"family": "type",
|
|
825
1139
|
"group": "Desktop",
|
|
826
1140
|
"value": {
|
|
827
|
-
"fontSize": "
|
|
828
|
-
"lineHeight":
|
|
1141
|
+
"fontSize": "13px",
|
|
1142
|
+
"lineHeight": "18px",
|
|
829
1143
|
"fontWeight": 400
|
|
830
1144
|
},
|
|
831
|
-
"usage": "Help text,
|
|
1145
|
+
"usage": "Help text, secondary lines, slim buttons. 13/18."
|
|
832
1146
|
},
|
|
833
1147
|
{
|
|
834
1148
|
"name": "type-body-xs",
|
|
835
1149
|
"family": "type",
|
|
836
1150
|
"group": "Desktop",
|
|
837
1151
|
"value": {
|
|
838
|
-
"fontSize": "
|
|
839
|
-
"lineHeight":
|
|
1152
|
+
"fontSize": "12px",
|
|
1153
|
+
"lineHeight": "16px",
|
|
840
1154
|
"fontWeight": 400
|
|
841
1155
|
},
|
|
842
|
-
"usage": "Captions,
|
|
1156
|
+
"usage": "Captions, badges, counts, table headers. 12/16. Nothing is smaller."
|
|
843
1157
|
},
|
|
844
1158
|
{
|
|
845
1159
|
"name": "type-label",
|
|
846
1160
|
"family": "type",
|
|
847
1161
|
"group": "Desktop",
|
|
848
1162
|
"value": {
|
|
849
|
-
"fontSize": "
|
|
850
|
-
"lineHeight":
|
|
851
|
-
"fontWeight":
|
|
1163
|
+
"fontSize": "14px",
|
|
1164
|
+
"lineHeight": "20px",
|
|
1165
|
+
"fontWeight": 500
|
|
852
1166
|
},
|
|
853
|
-
"usage": "Form labels."
|
|
1167
|
+
"usage": "Form labels. 14/20 medium."
|
|
854
1168
|
},
|
|
855
1169
|
{
|
|
856
|
-
"name": "type-
|
|
1170
|
+
"name": "type-display-lg-resp",
|
|
1171
|
+
"family": "type",
|
|
1172
|
+
"group": "Responsive",
|
|
1173
|
+
"value": {
|
|
1174
|
+
"fontSize": "30px",
|
|
1175
|
+
"lineHeight": "36px",
|
|
1176
|
+
"fontWeight": 600
|
|
1177
|
+
},
|
|
1178
|
+
"usage": "Marketing/hero only, on phones. 30/36."
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "type-display-resp",
|
|
857
1182
|
"family": "type",
|
|
858
1183
|
"group": "Responsive",
|
|
859
1184
|
"value": {
|
|
860
1185
|
"fontSize": "24px",
|
|
861
|
-
"lineHeight":
|
|
1186
|
+
"lineHeight": "32px",
|
|
862
1187
|
"fontWeight": 600
|
|
863
1188
|
},
|
|
864
|
-
"usage": "
|
|
1189
|
+
"usage": "Display text on phones."
|
|
865
1190
|
},
|
|
866
1191
|
{
|
|
867
|
-
"name": "type-heading-
|
|
1192
|
+
"name": "type-heading-lg-resp",
|
|
1193
|
+
"family": "type",
|
|
1194
|
+
"group": "Responsive",
|
|
1195
|
+
"value": {
|
|
1196
|
+
"fontSize": "20px",
|
|
1197
|
+
"lineHeight": "28px",
|
|
1198
|
+
"fontWeight": 600
|
|
1199
|
+
},
|
|
1200
|
+
"usage": "Page titles on phones."
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "type-heading-md-resp",
|
|
868
1204
|
"family": "type",
|
|
869
1205
|
"group": "Responsive",
|
|
870
1206
|
"value": {
|
|
871
1207
|
"fontSize": "18px",
|
|
872
|
-
"lineHeight":
|
|
873
|
-
"fontWeight":
|
|
1208
|
+
"lineHeight": "26px",
|
|
1209
|
+
"fontWeight": 600
|
|
874
1210
|
},
|
|
875
|
-
"usage": "
|
|
1211
|
+
"usage": "Modal and panel titles on phones."
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"name": "type-heading-sm-resp",
|
|
1215
|
+
"family": "type",
|
|
1216
|
+
"group": "Responsive",
|
|
1217
|
+
"value": {
|
|
1218
|
+
"fontSize": "16px",
|
|
1219
|
+
"lineHeight": "24px",
|
|
1220
|
+
"fontWeight": 600
|
|
1221
|
+
},
|
|
1222
|
+
"usage": "Section titles on phones (same as desktop)."
|
|
876
1223
|
},
|
|
877
1224
|
{
|
|
878
1225
|
"name": "type-body-lg-resp",
|
|
879
1226
|
"family": "type",
|
|
880
1227
|
"group": "Responsive",
|
|
881
1228
|
"value": {
|
|
882
|
-
"fontSize": "
|
|
883
|
-
"lineHeight":
|
|
1229
|
+
"fontSize": "16px",
|
|
1230
|
+
"lineHeight": "24px",
|
|
884
1231
|
"fontWeight": 400
|
|
885
1232
|
},
|
|
886
|
-
"usage": "
|
|
1233
|
+
"usage": "Reading text on phones."
|
|
887
1234
|
},
|
|
888
1235
|
{
|
|
889
1236
|
"name": "type-body-md-resp",
|
|
890
1237
|
"family": "type",
|
|
891
1238
|
"group": "Responsive",
|
|
892
1239
|
"value": {
|
|
893
|
-
"fontSize": "
|
|
894
|
-
"lineHeight":
|
|
1240
|
+
"fontSize": "14px",
|
|
1241
|
+
"lineHeight": "20px",
|
|
895
1242
|
"fontWeight": 400
|
|
896
1243
|
},
|
|
897
|
-
"usage": "
|
|
1244
|
+
"usage": "UI text on phones (same as desktop: text never shrinks below 14 on phones)."
|
|
898
1245
|
},
|
|
899
1246
|
{
|
|
900
1247
|
"name": "type-body-sm-resp",
|
|
901
1248
|
"family": "type",
|
|
902
1249
|
"group": "Responsive",
|
|
903
1250
|
"value": {
|
|
904
|
-
"fontSize": "
|
|
905
|
-
"lineHeight":
|
|
1251
|
+
"fontSize": "13px",
|
|
1252
|
+
"lineHeight": "18px",
|
|
906
1253
|
"fontWeight": 400
|
|
907
1254
|
},
|
|
908
|
-
"usage": "Help text on
|
|
1255
|
+
"usage": "Help text on phones."
|
|
909
1256
|
},
|
|
910
1257
|
{
|
|
911
1258
|
"name": "type-body-xs-resp",
|
|
912
1259
|
"family": "type",
|
|
913
1260
|
"group": "Responsive",
|
|
914
1261
|
"value": {
|
|
915
|
-
"fontSize": "
|
|
916
|
-
"lineHeight":
|
|
1262
|
+
"fontSize": "12px",
|
|
1263
|
+
"lineHeight": "16px",
|
|
917
1264
|
"fontWeight": 400
|
|
918
1265
|
},
|
|
919
|
-
"usage": "Captions on
|
|
1266
|
+
"usage": "Captions on phones."
|
|
920
1267
|
},
|
|
921
1268
|
{
|
|
922
1269
|
"name": "type-label-resp",
|
|
923
1270
|
"family": "type",
|
|
924
1271
|
"group": "Responsive",
|
|
925
1272
|
"value": {
|
|
926
|
-
"fontSize": "
|
|
927
|
-
"lineHeight":
|
|
928
|
-
"fontWeight":
|
|
1273
|
+
"fontSize": "14px",
|
|
1274
|
+
"lineHeight": "20px",
|
|
1275
|
+
"fontWeight": 500
|
|
929
1276
|
},
|
|
930
|
-
"usage": "Form labels on
|
|
1277
|
+
"usage": "Form labels on phones."
|
|
931
1278
|
}
|
|
932
1279
|
]
|
|
933
1280
|
}
|