@primer/css 19.0.0-rc.dbdedf98 → 19.1.0-rc.c064d682
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/CHANGELOG.md +14 -0
- package/base/normalize.scss +1 -1
- package/box/box-overlay.scss +40 -0
- package/box/index.scss +1 -0
- package/color-modes/index.scss +1 -0
- package/color-modes/themes/dark.scss +2 -2
- package/color-modes/themes/dark_colorblind.scss +2 -2
- package/color-modes/themes/dark_dimmed.scss +2 -2
- package/color-modes/themes/dark_high_contrast.scss +2 -2
- package/color-modes/themes/light.scss +2 -2
- package/color-modes/themes/light_colorblind.scss +2 -2
- package/color-modes/themes/light_high_contrast.scss +7 -0
- package/dist/base.css +1 -1
- package/dist/base.css.map +1 -1
- package/dist/box.css +1 -1
- package/dist/box.css.map +1 -1
- package/dist/color-modes.css +1 -1
- package/dist/color-modes.css.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.css.map +1 -1
- package/dist/marketing-buttons.css +1 -1
- package/dist/marketing-buttons.css.map +1 -1
- package/dist/marketing-type.css.map +1 -1
- package/dist/marketing-utilities.css.map +1 -1
- package/dist/marketing.css +1 -1
- package/dist/marketing.css.map +1 -1
- package/dist/meta.json +69 -82
- package/dist/popover.css +1 -1
- package/dist/popover.css.map +1 -1
- package/dist/primer.css +4 -4
- package/dist/primer.css.map +1 -1
- package/dist/product.css +1 -1
- package/dist/product.css.map +1 -1
- package/dist/stats/base.json +1 -1
- package/dist/stats/box.json +1 -1
- package/dist/stats/color-modes.json +1 -1
- package/dist/stats/core.json +1 -1
- package/dist/stats/marketing-buttons.json +1 -1
- package/dist/stats/marketing.json +1 -1
- package/dist/stats/popover.json +1 -1
- package/dist/stats/primer.json +1 -1
- package/dist/stats/product.json +1 -1
- package/dist/variables.json +62 -62
- package/index.scss +4 -4
- package/marketing/buttons/button.scss +14 -8
- package/marketing/buttons/index.scss +2 -2
- package/marketing/support/index.scss +2 -2
- package/marketing/support/variables.scss +4 -5
- package/marketing/type/index.scss +2 -2
- package/marketing/type/typography.scss +23 -23
- package/marketing/utilities/index.scss +5 -5
- package/marketing/utilities/layout.scss +1 -1
- package/package.json +6 -6
- package/popover/popover.scss +42 -4
- package/support/mixins/layout.scss +5 -5
- package/support/mixins/misc.scss +1 -1
- package/support/variables/layout.scss +5 -5
- package/support/variables/typography.scss +1 -1
package/dist/variables.json
CHANGED
|
@@ -211,13 +211,13 @@
|
|
|
211
211
|
},
|
|
212
212
|
"$body-font": {
|
|
213
213
|
"values": [
|
|
214
|
-
"-apple-system, BlinkMacSystemFont,
|
|
214
|
+
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
215
215
|
],
|
|
216
216
|
"source": {
|
|
217
217
|
"path": "src/support/variables/typography.scss",
|
|
218
218
|
"line": 35
|
|
219
219
|
},
|
|
220
|
-
"computed": "-apple-system, BlinkMacSystemFont,
|
|
220
|
+
"computed": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
221
221
|
},
|
|
222
222
|
"$mono-font": {
|
|
223
223
|
"values": [
|
|
@@ -788,24 +788,24 @@
|
|
|
788
788
|
},
|
|
789
789
|
"$marketing-font-path": {
|
|
790
790
|
"values": [
|
|
791
|
-
"
|
|
791
|
+
"'/fonts/'"
|
|
792
792
|
],
|
|
793
793
|
"source": {
|
|
794
794
|
"path": "src/marketing/support/variables.scss",
|
|
795
|
-
"line":
|
|
795
|
+
"line": 2
|
|
796
796
|
},
|
|
797
|
-
"computed": "
|
|
797
|
+
"computed": "'/fonts/'"
|
|
798
798
|
},
|
|
799
799
|
"$font-mktg": {
|
|
800
800
|
"values": [
|
|
801
801
|
"$body-font",
|
|
802
|
-
"-apple-system, BlinkMacSystemFont,
|
|
802
|
+
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
803
803
|
],
|
|
804
804
|
"source": {
|
|
805
805
|
"path": "src/marketing/support/variables.scss",
|
|
806
|
-
"line":
|
|
806
|
+
"line": 4
|
|
807
807
|
},
|
|
808
|
-
"computed": "-apple-system, BlinkMacSystemFont,
|
|
808
|
+
"computed": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
809
809
|
},
|
|
810
810
|
"$font-weight-medium": {
|
|
811
811
|
"values": [
|
|
@@ -813,7 +813,7 @@
|
|
|
813
813
|
],
|
|
814
814
|
"source": {
|
|
815
815
|
"path": "src/marketing/support/variables.scss",
|
|
816
|
-
"line":
|
|
816
|
+
"line": 5
|
|
817
817
|
},
|
|
818
818
|
"computed": "450"
|
|
819
819
|
},
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
],
|
|
824
824
|
"source": {
|
|
825
825
|
"path": "src/marketing/support/variables.scss",
|
|
826
|
-
"line":
|
|
826
|
+
"line": 6
|
|
827
827
|
},
|
|
828
828
|
"computed": "800"
|
|
829
829
|
},
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
],
|
|
834
834
|
"source": {
|
|
835
835
|
"path": "src/marketing/support/variables.scss",
|
|
836
|
-
"line":
|
|
836
|
+
"line": 8
|
|
837
837
|
},
|
|
838
838
|
"computed": "'ss02' on, 'ss01' on"
|
|
839
839
|
},
|
|
@@ -843,7 +843,7 @@
|
|
|
843
843
|
],
|
|
844
844
|
"source": {
|
|
845
845
|
"path": "src/marketing/support/variables.scss",
|
|
846
|
-
"line":
|
|
846
|
+
"line": 9
|
|
847
847
|
},
|
|
848
848
|
"computed": "-0.03em"
|
|
849
849
|
},
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
],
|
|
854
854
|
"source": {
|
|
855
855
|
"path": "src/marketing/support/variables.scss",
|
|
856
|
-
"line":
|
|
856
|
+
"line": 10
|
|
857
857
|
},
|
|
858
858
|
"computed": "-0.01em"
|
|
859
859
|
},
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
],
|
|
864
864
|
"source": {
|
|
865
865
|
"path": "src/marketing/support/variables.scss",
|
|
866
|
-
"line":
|
|
866
|
+
"line": 11
|
|
867
867
|
},
|
|
868
868
|
"computed": "48px"
|
|
869
869
|
},
|
|
@@ -874,7 +874,7 @@
|
|
|
874
874
|
],
|
|
875
875
|
"source": {
|
|
876
876
|
"path": "src/marketing/support/variables.scss",
|
|
877
|
-
"line":
|
|
877
|
+
"line": 12
|
|
878
878
|
},
|
|
879
879
|
"computed": "800"
|
|
880
880
|
},
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
],
|
|
886
886
|
"source": {
|
|
887
887
|
"path": "src/marketing/support/variables.scss",
|
|
888
|
-
"line":
|
|
888
|
+
"line": 13
|
|
889
889
|
},
|
|
890
890
|
"computed": "600"
|
|
891
891
|
},
|
|
@@ -895,7 +895,7 @@
|
|
|
895
895
|
],
|
|
896
896
|
"source": {
|
|
897
897
|
"path": "src/marketing/support/variables.scss",
|
|
898
|
-
"line":
|
|
898
|
+
"line": 14
|
|
899
899
|
},
|
|
900
900
|
"computed": "24px"
|
|
901
901
|
},
|
|
@@ -905,7 +905,7 @@
|
|
|
905
905
|
],
|
|
906
906
|
"source": {
|
|
907
907
|
"path": "src/marketing/support/variables.scss",
|
|
908
|
-
"line":
|
|
908
|
+
"line": 17
|
|
909
909
|
},
|
|
910
910
|
"computed": "96px"
|
|
911
911
|
},
|
|
@@ -915,7 +915,7 @@
|
|
|
915
915
|
],
|
|
916
916
|
"source": {
|
|
917
917
|
"path": "src/marketing/support/variables.scss",
|
|
918
|
-
"line":
|
|
918
|
+
"line": 18
|
|
919
919
|
},
|
|
920
920
|
"computed": "72px"
|
|
921
921
|
},
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
],
|
|
926
926
|
"source": {
|
|
927
927
|
"path": "src/marketing/support/variables.scss",
|
|
928
|
-
"line":
|
|
928
|
+
"line": 19
|
|
929
929
|
},
|
|
930
930
|
"computed": "64px"
|
|
931
931
|
},
|
|
@@ -935,7 +935,7 @@
|
|
|
935
935
|
],
|
|
936
936
|
"source": {
|
|
937
937
|
"path": "src/marketing/support/variables.scss",
|
|
938
|
-
"line":
|
|
938
|
+
"line": 20
|
|
939
939
|
},
|
|
940
940
|
"computed": "56px"
|
|
941
941
|
},
|
|
@@ -945,7 +945,7 @@
|
|
|
945
945
|
],
|
|
946
946
|
"source": {
|
|
947
947
|
"path": "src/marketing/support/variables.scss",
|
|
948
|
-
"line":
|
|
948
|
+
"line": 21
|
|
949
949
|
},
|
|
950
950
|
"computed": "48px"
|
|
951
951
|
},
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
],
|
|
956
956
|
"source": {
|
|
957
957
|
"path": "src/marketing/support/variables.scss",
|
|
958
|
-
"line":
|
|
958
|
+
"line": 22
|
|
959
959
|
},
|
|
960
960
|
"computed": "40px"
|
|
961
961
|
},
|
|
@@ -965,7 +965,7 @@
|
|
|
965
965
|
],
|
|
966
966
|
"source": {
|
|
967
967
|
"path": "src/marketing/support/variables.scss",
|
|
968
|
-
"line":
|
|
968
|
+
"line": 23
|
|
969
969
|
},
|
|
970
970
|
"computed": "32px"
|
|
971
971
|
},
|
|
@@ -975,7 +975,7 @@
|
|
|
975
975
|
],
|
|
976
976
|
"source": {
|
|
977
977
|
"path": "src/marketing/support/variables.scss",
|
|
978
|
-
"line":
|
|
978
|
+
"line": 24
|
|
979
979
|
},
|
|
980
980
|
"computed": "28px"
|
|
981
981
|
},
|
|
@@ -985,7 +985,7 @@
|
|
|
985
985
|
],
|
|
986
986
|
"source": {
|
|
987
987
|
"path": "src/marketing/support/variables.scss",
|
|
988
|
-
"line":
|
|
988
|
+
"line": 25
|
|
989
989
|
},
|
|
990
990
|
"computed": "24px"
|
|
991
991
|
},
|
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
],
|
|
996
996
|
"source": {
|
|
997
997
|
"path": "src/marketing/support/variables.scss",
|
|
998
|
-
"line":
|
|
998
|
+
"line": 26
|
|
999
999
|
},
|
|
1000
1000
|
"computed": "20px"
|
|
1001
1001
|
},
|
|
@@ -1005,7 +1005,7 @@
|
|
|
1005
1005
|
],
|
|
1006
1006
|
"source": {
|
|
1007
1007
|
"path": "src/marketing/support/variables.scss",
|
|
1008
|
-
"line":
|
|
1008
|
+
"line": 27
|
|
1009
1009
|
},
|
|
1010
1010
|
"computed": "16px"
|
|
1011
1011
|
},
|
|
@@ -1015,7 +1015,7 @@
|
|
|
1015
1015
|
],
|
|
1016
1016
|
"source": {
|
|
1017
1017
|
"path": "src/marketing/support/variables.scss",
|
|
1018
|
-
"line":
|
|
1018
|
+
"line": 30
|
|
1019
1019
|
},
|
|
1020
1020
|
"computed": "100px"
|
|
1021
1021
|
},
|
|
@@ -1025,7 +1025,7 @@
|
|
|
1025
1025
|
],
|
|
1026
1026
|
"source": {
|
|
1027
1027
|
"path": "src/marketing/support/variables.scss",
|
|
1028
|
-
"line":
|
|
1028
|
+
"line": 31
|
|
1029
1029
|
},
|
|
1030
1030
|
"computed": "76px"
|
|
1031
1031
|
},
|
|
@@ -1035,7 +1035,7 @@
|
|
|
1035
1035
|
],
|
|
1036
1036
|
"source": {
|
|
1037
1037
|
"path": "src/marketing/support/variables.scss",
|
|
1038
|
-
"line":
|
|
1038
|
+
"line": 32
|
|
1039
1039
|
},
|
|
1040
1040
|
"computed": "68px"
|
|
1041
1041
|
},
|
|
@@ -1045,7 +1045,7 @@
|
|
|
1045
1045
|
],
|
|
1046
1046
|
"source": {
|
|
1047
1047
|
"path": "src/marketing/support/variables.scss",
|
|
1048
|
-
"line":
|
|
1048
|
+
"line": 33
|
|
1049
1049
|
},
|
|
1050
1050
|
"computed": "60px"
|
|
1051
1051
|
},
|
|
@@ -1055,7 +1055,7 @@
|
|
|
1055
1055
|
],
|
|
1056
1056
|
"source": {
|
|
1057
1057
|
"path": "src/marketing/support/variables.scss",
|
|
1058
|
-
"line":
|
|
1058
|
+
"line": 34
|
|
1059
1059
|
},
|
|
1060
1060
|
"computed": "52px"
|
|
1061
1061
|
},
|
|
@@ -1065,7 +1065,7 @@
|
|
|
1065
1065
|
],
|
|
1066
1066
|
"source": {
|
|
1067
1067
|
"path": "src/marketing/support/variables.scss",
|
|
1068
|
-
"line":
|
|
1068
|
+
"line": 35
|
|
1069
1069
|
},
|
|
1070
1070
|
"computed": "44px"
|
|
1071
1071
|
},
|
|
@@ -1075,7 +1075,7 @@
|
|
|
1075
1075
|
],
|
|
1076
1076
|
"source": {
|
|
1077
1077
|
"path": "src/marketing/support/variables.scss",
|
|
1078
|
-
"line":
|
|
1078
|
+
"line": 36
|
|
1079
1079
|
},
|
|
1080
1080
|
"computed": "36px"
|
|
1081
1081
|
},
|
|
@@ -1085,7 +1085,7 @@
|
|
|
1085
1085
|
],
|
|
1086
1086
|
"source": {
|
|
1087
1087
|
"path": "src/marketing/support/variables.scss",
|
|
1088
|
-
"line":
|
|
1088
|
+
"line": 37
|
|
1089
1089
|
},
|
|
1090
1090
|
"computed": "32px"
|
|
1091
1091
|
},
|
|
@@ -1095,7 +1095,7 @@
|
|
|
1095
1095
|
],
|
|
1096
1096
|
"source": {
|
|
1097
1097
|
"path": "src/marketing/support/variables.scss",
|
|
1098
|
-
"line":
|
|
1098
|
+
"line": 38
|
|
1099
1099
|
},
|
|
1100
1100
|
"computed": "28px"
|
|
1101
1101
|
},
|
|
@@ -1105,7 +1105,7 @@
|
|
|
1105
1105
|
],
|
|
1106
1106
|
"source": {
|
|
1107
1107
|
"path": "src/marketing/support/variables.scss",
|
|
1108
|
-
"line":
|
|
1108
|
+
"line": 39
|
|
1109
1109
|
},
|
|
1110
1110
|
"computed": "24px"
|
|
1111
1111
|
},
|
|
@@ -1115,7 +1115,7 @@
|
|
|
1115
1115
|
],
|
|
1116
1116
|
"source": {
|
|
1117
1117
|
"path": "src/marketing/support/variables.scss",
|
|
1118
|
-
"line":
|
|
1118
|
+
"line": 40
|
|
1119
1119
|
},
|
|
1120
1120
|
"computed": "20px"
|
|
1121
1121
|
},
|
|
@@ -1125,7 +1125,7 @@
|
|
|
1125
1125
|
],
|
|
1126
1126
|
"source": {
|
|
1127
1127
|
"path": "src/marketing/support/variables.scss",
|
|
1128
|
-
"line":
|
|
1128
|
+
"line": 68
|
|
1129
1129
|
},
|
|
1130
1130
|
"computed": "28px"
|
|
1131
1131
|
},
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
],
|
|
1136
1136
|
"source": {
|
|
1137
1137
|
"path": "src/marketing/support/variables.scss",
|
|
1138
|
-
"line":
|
|
1138
|
+
"line": 69
|
|
1139
1139
|
},
|
|
1140
1140
|
"computed": "24px"
|
|
1141
1141
|
},
|
|
@@ -1145,7 +1145,7 @@
|
|
|
1145
1145
|
],
|
|
1146
1146
|
"source": {
|
|
1147
1147
|
"path": "src/marketing/support/variables.scss",
|
|
1148
|
-
"line":
|
|
1148
|
+
"line": 107
|
|
1149
1149
|
},
|
|
1150
1150
|
"computed": "-0.01em"
|
|
1151
1151
|
},
|
|
@@ -1155,7 +1155,7 @@
|
|
|
1155
1155
|
],
|
|
1156
1156
|
"source": {
|
|
1157
1157
|
"path": "src/marketing/support/variables.scss",
|
|
1158
|
-
"line":
|
|
1158
|
+
"line": 73
|
|
1159
1159
|
},
|
|
1160
1160
|
"computed": "48px"
|
|
1161
1161
|
},
|
|
@@ -1165,7 +1165,7 @@
|
|
|
1165
1165
|
],
|
|
1166
1166
|
"source": {
|
|
1167
1167
|
"path": "src/marketing/support/variables.scss",
|
|
1168
|
-
"line":
|
|
1168
|
+
"line": 74
|
|
1169
1169
|
},
|
|
1170
1170
|
"computed": "40px"
|
|
1171
1171
|
},
|
|
@@ -1175,7 +1175,7 @@
|
|
|
1175
1175
|
],
|
|
1176
1176
|
"source": {
|
|
1177
1177
|
"path": "src/marketing/support/variables.scss",
|
|
1178
|
-
"line":
|
|
1178
|
+
"line": 75
|
|
1179
1179
|
},
|
|
1180
1180
|
"computed": "32px"
|
|
1181
1181
|
},
|
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
],
|
|
1186
1186
|
"source": {
|
|
1187
1187
|
"path": "src/marketing/support/variables.scss",
|
|
1188
|
-
"line":
|
|
1188
|
+
"line": 76
|
|
1189
1189
|
},
|
|
1190
1190
|
"computed": "28px"
|
|
1191
1191
|
},
|
|
@@ -1195,7 +1195,7 @@
|
|
|
1195
1195
|
],
|
|
1196
1196
|
"source": {
|
|
1197
1197
|
"path": "src/marketing/support/variables.scss",
|
|
1198
|
-
"line":
|
|
1198
|
+
"line": 77
|
|
1199
1199
|
},
|
|
1200
1200
|
"computed": "24px"
|
|
1201
1201
|
},
|
|
@@ -1205,7 +1205,7 @@
|
|
|
1205
1205
|
],
|
|
1206
1206
|
"source": {
|
|
1207
1207
|
"path": "src/marketing/support/variables.scss",
|
|
1208
|
-
"line":
|
|
1208
|
+
"line": 78
|
|
1209
1209
|
},
|
|
1210
1210
|
"computed": "20px"
|
|
1211
1211
|
},
|
|
@@ -1215,7 +1215,7 @@
|
|
|
1215
1215
|
],
|
|
1216
1216
|
"source": {
|
|
1217
1217
|
"path": "src/marketing/support/variables.scss",
|
|
1218
|
-
"line":
|
|
1218
|
+
"line": 79
|
|
1219
1219
|
},
|
|
1220
1220
|
"computed": "16px"
|
|
1221
1221
|
},
|
|
@@ -1225,7 +1225,7 @@
|
|
|
1225
1225
|
],
|
|
1226
1226
|
"source": {
|
|
1227
1227
|
"path": "src/marketing/support/variables.scss",
|
|
1228
|
-
"line":
|
|
1228
|
+
"line": 80
|
|
1229
1229
|
},
|
|
1230
1230
|
"computed": "14px"
|
|
1231
1231
|
},
|
|
@@ -1235,7 +1235,7 @@
|
|
|
1235
1235
|
],
|
|
1236
1236
|
"source": {
|
|
1237
1237
|
"path": "src/marketing/support/variables.scss",
|
|
1238
|
-
"line":
|
|
1238
|
+
"line": 81
|
|
1239
1239
|
},
|
|
1240
1240
|
"computed": "12px"
|
|
1241
1241
|
},
|
|
@@ -1245,7 +1245,7 @@
|
|
|
1245
1245
|
],
|
|
1246
1246
|
"source": {
|
|
1247
1247
|
"path": "src/marketing/support/variables.scss",
|
|
1248
|
-
"line":
|
|
1248
|
+
"line": 84
|
|
1249
1249
|
},
|
|
1250
1250
|
"computed": "64px"
|
|
1251
1251
|
},
|
|
@@ -1255,7 +1255,7 @@
|
|
|
1255
1255
|
],
|
|
1256
1256
|
"source": {
|
|
1257
1257
|
"path": "src/marketing/support/variables.scss",
|
|
1258
|
-
"line":
|
|
1258
|
+
"line": 85
|
|
1259
1259
|
},
|
|
1260
1260
|
"computed": "52px"
|
|
1261
1261
|
},
|
|
@@ -1265,7 +1265,7 @@
|
|
|
1265
1265
|
],
|
|
1266
1266
|
"source": {
|
|
1267
1267
|
"path": "src/marketing/support/variables.scss",
|
|
1268
|
-
"line":
|
|
1268
|
+
"line": 86
|
|
1269
1269
|
},
|
|
1270
1270
|
"computed": "44px"
|
|
1271
1271
|
},
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
],
|
|
1276
1276
|
"source": {
|
|
1277
1277
|
"path": "src/marketing/support/variables.scss",
|
|
1278
|
-
"line":
|
|
1278
|
+
"line": 87
|
|
1279
1279
|
},
|
|
1280
1280
|
"computed": "40px"
|
|
1281
1281
|
},
|
|
@@ -1285,7 +1285,7 @@
|
|
|
1285
1285
|
],
|
|
1286
1286
|
"source": {
|
|
1287
1287
|
"path": "src/marketing/support/variables.scss",
|
|
1288
|
-
"line":
|
|
1288
|
+
"line": 88
|
|
1289
1289
|
},
|
|
1290
1290
|
"computed": "32px"
|
|
1291
1291
|
},
|
|
@@ -1295,7 +1295,7 @@
|
|
|
1295
1295
|
],
|
|
1296
1296
|
"source": {
|
|
1297
1297
|
"path": "src/marketing/support/variables.scss",
|
|
1298
|
-
"line":
|
|
1298
|
+
"line": 89
|
|
1299
1299
|
},
|
|
1300
1300
|
"computed": "28px"
|
|
1301
1301
|
},
|
|
@@ -1305,7 +1305,7 @@
|
|
|
1305
1305
|
],
|
|
1306
1306
|
"source": {
|
|
1307
1307
|
"path": "src/marketing/support/variables.scss",
|
|
1308
|
-
"line":
|
|
1308
|
+
"line": 90
|
|
1309
1309
|
},
|
|
1310
1310
|
"computed": "24px"
|
|
1311
1311
|
},
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
],
|
|
1316
1316
|
"source": {
|
|
1317
1317
|
"path": "src/marketing/support/variables.scss",
|
|
1318
|
-
"line":
|
|
1318
|
+
"line": 91
|
|
1319
1319
|
},
|
|
1320
1320
|
"computed": "20px"
|
|
1321
1321
|
},
|
|
@@ -1325,7 +1325,7 @@
|
|
|
1325
1325
|
],
|
|
1326
1326
|
"source": {
|
|
1327
1327
|
"path": "src/marketing/support/variables.scss",
|
|
1328
|
-
"line":
|
|
1328
|
+
"line": 92
|
|
1329
1329
|
},
|
|
1330
1330
|
"computed": "20px"
|
|
1331
1331
|
},
|
|
@@ -1335,7 +1335,7 @@
|
|
|
1335
1335
|
],
|
|
1336
1336
|
"source": {
|
|
1337
1337
|
"path": "src/marketing/support/variables.scss",
|
|
1338
|
-
"line":
|
|
1338
|
+
"line": 120
|
|
1339
1339
|
},
|
|
1340
1340
|
"computed": "0.4s"
|
|
1341
1341
|
},
|
|
@@ -1345,7 +1345,7 @@
|
|
|
1345
1345
|
],
|
|
1346
1346
|
"source": {
|
|
1347
1347
|
"path": "src/marketing/support/variables.scss",
|
|
1348
|
-
"line":
|
|
1348
|
+
"line": 121
|
|
1349
1349
|
},
|
|
1350
1350
|
"computed": "calc(cubic-bezier(0.16, 1, 0.3, 1))"
|
|
1351
1351
|
}
|
package/index.scss
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
// Should you need specific files, you can easily use separate `@import`s.
|
|
12
12
|
|
|
13
13
|
// CSS color variables
|
|
14
|
-
@import
|
|
14
|
+
@import './color-modes/index.scss';
|
|
15
15
|
|
|
16
16
|
// Global requirements
|
|
17
|
-
@import
|
|
18
|
-
@import
|
|
19
|
-
@import
|
|
17
|
+
@import './core/index.scss';
|
|
18
|
+
@import './product/index.scss';
|
|
19
|
+
@import './marketing/index.scss';
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
.btn-mktg {
|
|
2
|
-
color: var(--color-canvas-default);
|
|
3
2
|
position: relative;
|
|
4
3
|
z-index: 1;
|
|
5
4
|
display: inline-block;
|
|
6
|
-
appearance: none !important;
|
|
7
5
|
// stylelint-disable-next-line primer/spacing
|
|
8
6
|
padding: 0.9rem 1.5rem 1.1rem;
|
|
9
7
|
// stylelint-disable-next-line primer/typography
|
|
10
8
|
font-size: 1rem;
|
|
11
9
|
font-weight: $font-weight-bold;
|
|
12
10
|
line-height: 1;
|
|
11
|
+
color: var(--color-canvas-default);
|
|
13
12
|
text-align: center;
|
|
14
13
|
white-space: nowrap;
|
|
15
14
|
vertical-align: middle;
|
|
16
15
|
user-select: none;
|
|
16
|
+
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%), var(--color-mktg-btn-bg) !important;
|
|
17
17
|
border: 0;
|
|
18
18
|
// stylelint-disable-next-line primer/borders
|
|
19
19
|
border-radius: 0.375rem;
|
|
20
|
-
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%),
|
|
21
|
-
var(--color-mktg-btn-bg) !important;
|
|
22
20
|
transition: box-shadow 0.2s;
|
|
21
|
+
appearance: none !important;
|
|
23
22
|
|
|
24
23
|
&::before {
|
|
25
24
|
position: absolute;
|
|
@@ -28,11 +27,11 @@
|
|
|
28
27
|
bottom: 0;
|
|
29
28
|
left: 0;
|
|
30
29
|
z-index: -1;
|
|
31
|
-
content:
|
|
32
|
-
// stylelint-disable-next-line primer/
|
|
30
|
+
content: '';
|
|
31
|
+
// stylelint-disable-next-line primer/colors
|
|
32
|
+
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%) !important;
|
|
33
33
|
border-radius: inherit;
|
|
34
34
|
opacity: 0;
|
|
35
|
-
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%) !important;
|
|
36
35
|
opacity: 0;
|
|
37
36
|
transition: opacity 0.2s;
|
|
38
37
|
background-blend-mode: normal;
|
|
@@ -44,8 +43,8 @@
|
|
|
44
43
|
|
|
45
44
|
&:focus,
|
|
46
45
|
&.focus {
|
|
47
|
-
box-shadow: var(--color-mktg-btn-shadow-focus), var(--color-mktg-btn-shadow-hover) !important;
|
|
48
46
|
outline: 0;
|
|
47
|
+
box-shadow: var(--color-mktg-btn-shadow-focus), var(--color-mktg-btn-shadow-hover) !important;
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
&:hover,
|
|
@@ -62,6 +61,7 @@
|
|
|
62
61
|
|
|
63
62
|
&:active {
|
|
64
63
|
outline: none;
|
|
64
|
+
// stylelint-disable-next-line primer/box-shadow
|
|
65
65
|
box-shadow: 0 0 0 transparent;
|
|
66
66
|
|
|
67
67
|
&::before {
|
|
@@ -89,10 +89,12 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&:active {
|
|
92
|
+
// stylelint-disable-next-line primer/box-shadow
|
|
92
93
|
box-shadow: var(--color-fg-default) 0 0 0 3px inset !important;
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
&:disabled {
|
|
97
|
+
// stylelint-disable-next-line primer/box-shadow
|
|
96
98
|
box-shadow: var(--color-fg-subtle) 0 0 0 1px inset !important;
|
|
97
99
|
}
|
|
98
100
|
}
|
|
@@ -117,14 +119,18 @@
|
|
|
117
119
|
}
|
|
118
120
|
|
|
119
121
|
.btn-signup-mktg {
|
|
122
|
+
// stylelint-disable-next-line primer/colors
|
|
120
123
|
color: #fff;
|
|
124
|
+
// stylelint-disable-next-line primer/colors
|
|
121
125
|
background: linear-gradient(180deg, rgba(52, 183, 89, 0.15) 0%, rgba(46, 164, 79, 0) 100%), rgb(46, 164, 79) !important;
|
|
122
126
|
|
|
123
127
|
&::before {
|
|
128
|
+
// stylelint-disable-next-line primer/colors
|
|
124
129
|
background: linear-gradient(180deg, rgba(52, 183, 89, 0.15) 0%, rgba(46, 164, 79, 0) 100%) !important;
|
|
125
130
|
}
|
|
126
131
|
|
|
127
132
|
&:focus {
|
|
133
|
+
// stylelint-disable-next-line primer/box-shadow
|
|
128
134
|
box-shadow: rgba(46, 164, 79, 0.45) 0 0 0 4px !important;
|
|
129
135
|
}
|
|
130
136
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// support files
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
2
|
+
@import '../support/index.scss';
|
|
3
|
+
@import './button.scss';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
1
|
+
@import '../../support/index.scss';
|
|
2
|
+
@import './variables.scss';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
// stylelint-disable unit-no-unknown
|
|
2
1
|
// Typography
|
|
3
|
-
$marketing-font-path:
|
|
2
|
+
$marketing-font-path: '/fonts/' !default;
|
|
4
3
|
|
|
5
4
|
$font-mktg: $body-font !default;
|
|
6
5
|
$font-weight-medium: 450 !default;
|
|
@@ -122,7 +121,7 @@ $transition-time: 0.4s !default;
|
|
|
122
121
|
$ease-mktg: cubic-bezier(0.16, 1, 0.3, 1) !default;
|
|
123
122
|
|
|
124
123
|
$marketing-position-variants: (
|
|
125
|
-
|
|
126
|
-
md:
|
|
127
|
-
lg:
|
|
124
|
+
'': '',
|
|
125
|
+
md: '-md',
|
|
126
|
+
lg: '-lg',
|
|
128
127
|
) !default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// support files
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
2
|
+
@import '../support/index.scss';
|
|
3
|
+
@import './typography.scss';
|