@podoba/tokens 0.0.17 → 0.0.19
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/package.json +1 -1
- package/src/tokens.json +83 -23
- package/src/variables.css +8 -4
package/package.json
CHANGED
package/src/tokens.json
CHANGED
|
@@ -871,30 +871,15 @@
|
|
|
871
871
|
},
|
|
872
872
|
"display": {
|
|
873
873
|
"$type": "dimension",
|
|
874
|
-
"$value": "
|
|
875
|
-
"$description": "Font size — display (
|
|
876
|
-
"$extensions": {
|
|
877
|
-
"graphicstandard": {
|
|
878
|
-
"family": "dimension",
|
|
879
|
-
"layer": "semantic",
|
|
880
|
-
"value": {
|
|
881
|
-
"kind": "scalar",
|
|
882
|
-
"value": "2rem"
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
},
|
|
887
|
-
"display-xl": {
|
|
888
|
-
"$type": "dimension",
|
|
889
|
-
"$value": "2.5rem",
|
|
890
|
-
"$description": "Font size — display-xl (40px); hero tiles; size-only.",
|
|
874
|
+
"$value": "1.75rem",
|
|
875
|
+
"$description": "Font size — display (28px); size-only.",
|
|
891
876
|
"$extensions": {
|
|
892
877
|
"graphicstandard": {
|
|
893
878
|
"family": "dimension",
|
|
894
879
|
"layer": "semantic",
|
|
895
880
|
"value": {
|
|
896
881
|
"kind": "scalar",
|
|
897
|
-
"value": "
|
|
882
|
+
"value": "1.75rem"
|
|
898
883
|
}
|
|
899
884
|
}
|
|
900
885
|
}
|
|
@@ -916,15 +901,15 @@
|
|
|
916
901
|
},
|
|
917
902
|
"heading2": {
|
|
918
903
|
"$type": "dimension",
|
|
919
|
-
"$value": "1.
|
|
920
|
-
"$description": "Font size — heading 2 (
|
|
904
|
+
"$value": "1.375rem",
|
|
905
|
+
"$description": "Font size — heading 2 (22px).",
|
|
921
906
|
"$extensions": {
|
|
922
907
|
"graphicstandard": {
|
|
923
908
|
"family": "dimension",
|
|
924
909
|
"layer": "semantic",
|
|
925
910
|
"value": {
|
|
926
911
|
"kind": "scalar",
|
|
927
|
-
"value": "1.
|
|
912
|
+
"value": "1.375rem"
|
|
928
913
|
}
|
|
929
914
|
}
|
|
930
915
|
}
|
|
@@ -974,6 +959,36 @@
|
|
|
974
959
|
}
|
|
975
960
|
}
|
|
976
961
|
},
|
|
962
|
+
"headline": {
|
|
963
|
+
"$type": "dimension",
|
|
964
|
+
"$value": "1.375rem",
|
|
965
|
+
"$description": "Font size — headline (22px); size-only.",
|
|
966
|
+
"$extensions": {
|
|
967
|
+
"graphicstandard": {
|
|
968
|
+
"family": "dimension",
|
|
969
|
+
"layer": "semantic",
|
|
970
|
+
"value": {
|
|
971
|
+
"kind": "scalar",
|
|
972
|
+
"value": "1.375rem"
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"label": {
|
|
978
|
+
"$type": "dimension",
|
|
979
|
+
"$value": "0.75rem",
|
|
980
|
+
"$description": "Font size — label (12px); size-only.",
|
|
981
|
+
"$extensions": {
|
|
982
|
+
"graphicstandard": {
|
|
983
|
+
"family": "dimension",
|
|
984
|
+
"layer": "semantic",
|
|
985
|
+
"value": {
|
|
986
|
+
"kind": "scalar",
|
|
987
|
+
"value": "0.75rem"
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
},
|
|
977
992
|
"micro": {
|
|
978
993
|
"$type": "dimension",
|
|
979
994
|
"$value": "0.625rem",
|
|
@@ -988,6 +1003,51 @@
|
|
|
988
1003
|
}
|
|
989
1004
|
}
|
|
990
1005
|
}
|
|
1006
|
+
},
|
|
1007
|
+
"small": {
|
|
1008
|
+
"$type": "dimension",
|
|
1009
|
+
"$value": "0.875rem",
|
|
1010
|
+
"$description": "Font size — small (14px); default small UI text; size-only.",
|
|
1011
|
+
"$extensions": {
|
|
1012
|
+
"graphicstandard": {
|
|
1013
|
+
"family": "dimension",
|
|
1014
|
+
"layer": "semantic",
|
|
1015
|
+
"value": {
|
|
1016
|
+
"kind": "scalar",
|
|
1017
|
+
"value": "0.875rem"
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
"subtitle": {
|
|
1023
|
+
"$type": "dimension",
|
|
1024
|
+
"$value": "1.125rem",
|
|
1025
|
+
"$description": "Font size — subtitle (18px); size-only.",
|
|
1026
|
+
"$extensions": {
|
|
1027
|
+
"graphicstandard": {
|
|
1028
|
+
"family": "dimension",
|
|
1029
|
+
"layer": "semantic",
|
|
1030
|
+
"value": {
|
|
1031
|
+
"kind": "scalar",
|
|
1032
|
+
"value": "1.125rem"
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
"title": {
|
|
1038
|
+
"$type": "dimension",
|
|
1039
|
+
"$value": "1.25rem",
|
|
1040
|
+
"$description": "Font size — title (20px); size-only.",
|
|
1041
|
+
"$extensions": {
|
|
1042
|
+
"graphicstandard": {
|
|
1043
|
+
"family": "dimension",
|
|
1044
|
+
"layer": "semantic",
|
|
1045
|
+
"value": {
|
|
1046
|
+
"kind": "scalar",
|
|
1047
|
+
"value": "1.25rem"
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
991
1051
|
}
|
|
992
1052
|
}
|
|
993
1053
|
},
|
|
@@ -1009,7 +1069,7 @@
|
|
|
1009
1069
|
},
|
|
1010
1070
|
"heading2": {
|
|
1011
1071
|
"$type": "dimension",
|
|
1012
|
-
"$value": "
|
|
1072
|
+
"$value": "24px",
|
|
1013
1073
|
"$description": "Line height — heading 2.",
|
|
1014
1074
|
"$extensions": {
|
|
1015
1075
|
"graphicstandard": {
|
|
@@ -1017,7 +1077,7 @@
|
|
|
1017
1077
|
"layer": "semantic",
|
|
1018
1078
|
"value": {
|
|
1019
1079
|
"kind": "scalar",
|
|
1020
|
-
"value": "
|
|
1080
|
+
"value": "24px"
|
|
1021
1081
|
}
|
|
1022
1082
|
}
|
|
1023
1083
|
}
|
package/src/variables.css
CHANGED
|
@@ -38,16 +38,20 @@
|
|
|
38
38
|
--font-size-callout: 0.9375rem;
|
|
39
39
|
--font-size-caption: 0.6875rem;
|
|
40
40
|
--font-size-compact: 0.8125rem;
|
|
41
|
-
--font-size-display:
|
|
42
|
-
--font-size-display-xl: 2.5rem;
|
|
41
|
+
--font-size-display: 1.75rem;
|
|
43
42
|
--font-size-heading1: 1.75rem;
|
|
44
|
-
--font-size-heading2: 1.
|
|
43
|
+
--font-size-heading2: 1.375rem;
|
|
45
44
|
--font-size-heading3: 1.25rem;
|
|
46
45
|
--font-size-heading4: 1.125rem;
|
|
47
46
|
--font-size-heading5: 1rem;
|
|
47
|
+
--font-size-headline: 1.375rem;
|
|
48
|
+
--font-size-label: 0.75rem;
|
|
48
49
|
--font-size-micro: 0.625rem;
|
|
50
|
+
--font-size-small: 0.875rem;
|
|
51
|
+
--font-size-subtitle: 1.125rem;
|
|
52
|
+
--font-size-title: 1.25rem;
|
|
49
53
|
--line-height-heading1: 30px;
|
|
50
|
-
--line-height-heading2:
|
|
54
|
+
--line-height-heading2: 24px;
|
|
51
55
|
--line-height-heading3: 22px;
|
|
52
56
|
--line-height-heading4: 22px;
|
|
53
57
|
--line-height-heading5: 20px;
|