jekyll-v4-theme-primer 0.9.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -6
- data/_includes/theme.html +1 -1
- data/_sass/@primer/css/forms/form-validation.scss +0 -104
- data/_sass/@primer/css/labels/states.scss +1 -1
- data/_sass/@primer/css/links/link.scss +1 -60
- data/_sass/@primer/css/markdown/code.scss +1 -0
- data/_sass/@primer/css/markdown/tables.scss +7 -1
- data/_sass/@primer/css/marketing/buttons/button.scss +1 -0
- data/_sass/@primer/css/subhead/subhead.scss +1 -1
- data/_sass/@primer/css/timeline/timeline-item.scss +1 -1
- data/_sass/@primer/primitives/dist/scss/colors/_dark.scss +61 -61
- data/_sass/@primer/primitives/dist/scss/colors/_dark_colorblind.scss +28 -28
- data/_sass/@primer/primitives/dist/scss/colors/_dark_dimmed.scss +29 -29
- data/_sass/@primer/primitives/dist/scss/colors/_dark_high_contrast.scss +29 -29
- data/_sass/@primer/primitives/dist/scss/colors/_dark_tritanopia.scss +28 -28
- data/_sass/@primer/primitives/dist/scss/colors/_light.scss +69 -69
- data/_sass/@primer/primitives/dist/scss/colors/_light_colorblind.scss +27 -27
- data/_sass/@primer/primitives/dist/scss/colors/_light_high_contrast.scss +28 -28
- data/_sass/@primer/primitives/dist/scss/colors/_light_tritanopia.scss +27 -27
- data/_sass/@primer/primitives/tokens-next-private/scss/base/size/size.scss +21 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/base/typography/typography.scss +8 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/border.scss +16 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/breakpoints.scss +10 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size-coarse.scss +7 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size-fine.scss +7 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size.scss +51 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/viewport.scss +19 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-colorblind.scss +391 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-dimmed.scss +391 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +391 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +391 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark.scss +391 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-colorblind.scss +366 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-high-contrast.scss +366 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-tritanopia.scss +366 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light.scss +366 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/typography/typography.scss +49 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/typography/typography.scss +3 -3
- data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js +1 -1
- data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css +2 -2
- data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css.map +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/menu.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/menu.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.js +26 -12
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.js +23 -11
- data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.js +3 -10
- data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/button.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/button.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/state.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/subhead.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/timeline_item.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/truncate.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/truncate.css.json +1 -1
- data/_sass/@primer/view-components/app/components/primer/primer.d.ts +2 -1
- data/_sass/@primer/view-components/app/components/primer/primer.js +2 -1
- data/_sass/@primer/view-components/lib/primer/forms/toggle_switch_input.d.ts +5 -0
- data/_sass/@primer/view-components/lib/primer/forms/toggle_switch_input.js +29 -0
- data/_sass/@primer/view-components/package.json +4 -2
- data/_sass/@primer/view-components/static/arguments.json +190 -216
- data/_sass/@primer/view-components/static/audited_at.json +6 -3
- data/_sass/@primer/view-components/static/constants.json +78 -76
- data/_sass/@primer/view-components/static/statuses.json +12 -9
- data/_sass/jekyll-theme-primer.scss +22 -1
- data/_sass/rouge-dark.scss +112 -0
- data/_sass/rouge-light.scss +112 -0
- metadata +35 -14
- data/_sass/@primer/view-components/app/components/primer/state_component.css.json +0 -1
- data/_sass/@primer/view-components/app/components/primer/subhead_component.css.json +0 -1
- data/_sass/@primer/view-components/app/components/primer/timeline_item_component.css.json +0 -1
- data/_sass/rouge.scss +0 -213
- /data/_sass/@primer/view-components/app/components/primer/{tab_container_component.d.ts → alpha/tab_container.d.ts} +0 -0
- /data/_sass/@primer/view-components/app/components/primer/{tab_container_component.js → alpha/tab_container.js} +0 -0
- /data/_sass/@primer/view-components/app/components/primer/{state_component.css → beta/state.css} +0 -0
- /data/_sass/@primer/view-components/app/components/primer/{subhead_component.css → beta/subhead.css} +0 -0
- /data/_sass/@primer/view-components/app/components/primer/{timeline_item_component.css → beta/timeline_item.css} +0 -0
@@ -14,6 +14,7 @@
|
|
14
14
|
"Primer::Alpha::Dropdown": "",
|
15
15
|
"Primer::Alpha::Dropdown::Menu": "",
|
16
16
|
"Primer::Alpha::Dropdown::Menu::Item": "",
|
17
|
+
"Primer::Alpha::HellipButton": "",
|
17
18
|
"Primer::Alpha::HiddenTextExpander": "",
|
18
19
|
"Primer::Alpha::Image": "",
|
19
20
|
"Primer::Alpha::ImageCrop": "",
|
@@ -27,6 +28,7 @@
|
|
27
28
|
"Primer::Alpha::OcticonSymbols": "",
|
28
29
|
"Primer::Alpha::SegmentedControl": "",
|
29
30
|
"Primer::Alpha::SegmentedControl::Item": "",
|
31
|
+
"Primer::Alpha::TabContainer": "",
|
30
32
|
"Primer::Alpha::TabNav": "",
|
31
33
|
"Primer::Alpha::TabPanels": "",
|
32
34
|
"Primer::Alpha::TextField": "",
|
@@ -62,20 +64,21 @@
|
|
62
64
|
"Primer::Beta::ProgressBar": "",
|
63
65
|
"Primer::Beta::RelativeTime": "",
|
64
66
|
"Primer::Beta::Spinner": "",
|
67
|
+
"Primer::Beta::State": "",
|
68
|
+
"Primer::Beta::Subhead": "",
|
65
69
|
"Primer::Beta::Text": "",
|
70
|
+
"Primer::Beta::TimelineItem": "",
|
71
|
+
"Primer::Beta::TimelineItem::Badge": "",
|
66
72
|
"Primer::Beta::Truncate": "",
|
67
73
|
"Primer::Beta::Truncate::TruncateText": "",
|
68
74
|
"Primer::BlankslateComponent": "",
|
69
75
|
"Primer::Box": "",
|
70
|
-
"Primer::BoxComponent": "",
|
71
76
|
"Primer::ButtonComponent": "",
|
72
|
-
"Primer::ClipboardCopy": "",
|
73
77
|
"Primer::ConditionalWrapper": "",
|
74
78
|
"Primer::Content": "",
|
75
79
|
"Primer::Dropdown": "",
|
76
80
|
"Primer::Dropdown::Menu": "",
|
77
81
|
"Primer::Dropdown::Menu::Item": "",
|
78
|
-
"Primer::DropdownMenuComponent": "",
|
79
82
|
"Primer::HellipButton": "",
|
80
83
|
"Primer::IconButton": "",
|
81
84
|
"Primer::LabelComponent": "",
|
@@ -163,14 +163,16 @@
|
|
163
163
|
"medium_portrait": "Overlay--size-medium-portrait",
|
164
164
|
"medium": "Overlay--size-medium",
|
165
165
|
"large": "Overlay--size-large",
|
166
|
-
"xlarge": "Overlay--size-xlarge"
|
166
|
+
"xlarge": "Overlay--size-xlarge",
|
167
|
+
"auto": "Overlay--size-auto"
|
167
168
|
},
|
168
169
|
"SIZE_OPTIONS": [
|
169
170
|
"small",
|
170
171
|
"medium_portrait",
|
171
172
|
"medium",
|
172
173
|
"large",
|
173
|
-
"xlarge"
|
174
|
+
"xlarge",
|
175
|
+
"auto"
|
174
176
|
]
|
175
177
|
},
|
176
178
|
"Primer::Alpha::Dialog::Body": {
|
@@ -216,6 +218,8 @@
|
|
216
218
|
"summary"
|
217
219
|
]
|
218
220
|
},
|
221
|
+
"Primer::Alpha::HellipButton": {
|
222
|
+
},
|
219
223
|
"Primer::Alpha::HiddenTextExpander": {
|
220
224
|
},
|
221
225
|
"Primer::Alpha::Image": {
|
@@ -328,6 +332,8 @@
|
|
328
332
|
},
|
329
333
|
"Primer::Alpha::SegmentedControl::Item": {
|
330
334
|
},
|
335
|
+
"Primer::Alpha::TabContainer": {
|
336
|
+
},
|
331
337
|
"Primer::Alpha::TabNav": {
|
332
338
|
"BODY_TAG_DEFAULT": "ul",
|
333
339
|
"TAG_DEFAULT": "nav",
|
@@ -794,6 +800,13 @@
|
|
794
800
|
"micro",
|
795
801
|
"elapsed"
|
796
802
|
],
|
803
|
+
"FORMAT_STYLE_DEFAULT": null,
|
804
|
+
"FORMAT_STYLE_OPTIONS": [
|
805
|
+
null,
|
806
|
+
"long",
|
807
|
+
"short",
|
808
|
+
"narrow"
|
809
|
+
],
|
797
810
|
"HOUR_DEFAULT": null,
|
798
811
|
"HOUR_MAPPINGS": {
|
799
812
|
"": null,
|
@@ -912,9 +925,72 @@
|
|
912
925
|
"large"
|
913
926
|
]
|
914
927
|
},
|
928
|
+
"Primer::Beta::State": {
|
929
|
+
"DEPRECATED_SCHEME_MAPPINGS": {
|
930
|
+
"default": "",
|
931
|
+
"green": "State--open",
|
932
|
+
"red": "State--closed",
|
933
|
+
"purple": "State--merged"
|
934
|
+
},
|
935
|
+
"NEW_SCHEME_MAPPINGS": {
|
936
|
+
"open": "State--open",
|
937
|
+
"closed": "State--closed",
|
938
|
+
"merged": "State--merged"
|
939
|
+
},
|
940
|
+
"SCHEME_DEFAULT": "default",
|
941
|
+
"SCHEME_MAPPINGS": {
|
942
|
+
"open": "State--open",
|
943
|
+
"closed": "State--closed",
|
944
|
+
"merged": "State--merged",
|
945
|
+
"default": "",
|
946
|
+
"green": "State--open",
|
947
|
+
"red": "State--closed",
|
948
|
+
"purple": "State--merged"
|
949
|
+
},
|
950
|
+
"SCHEME_OPTIONS": [
|
951
|
+
"open",
|
952
|
+
"closed",
|
953
|
+
"merged",
|
954
|
+
"default",
|
955
|
+
"green",
|
956
|
+
"red",
|
957
|
+
"purple"
|
958
|
+
],
|
959
|
+
"SIZE_DEFAULT": "default",
|
960
|
+
"SIZE_MAPPINGS": {
|
961
|
+
"default": "",
|
962
|
+
"small": "State--small"
|
963
|
+
},
|
964
|
+
"SIZE_OPTIONS": [
|
965
|
+
"default",
|
966
|
+
"small"
|
967
|
+
],
|
968
|
+
"TAG_DEFAULT": "span",
|
969
|
+
"TAG_OPTIONS": [
|
970
|
+
"span",
|
971
|
+
"div"
|
972
|
+
]
|
973
|
+
},
|
974
|
+
"Primer::Beta::Subhead": {
|
975
|
+
"DEFAULT_HEADING_TAG": "div",
|
976
|
+
"HEADING_TAG_OPTIONS": [
|
977
|
+
"div",
|
978
|
+
"h1",
|
979
|
+
"h2",
|
980
|
+
"h3",
|
981
|
+
"h4",
|
982
|
+
"h5",
|
983
|
+
"h6"
|
984
|
+
]
|
985
|
+
},
|
915
986
|
"Primer::Beta::Text": {
|
916
987
|
"DEFAULT_TAG": "span"
|
917
988
|
},
|
989
|
+
"Primer::Beta::TimelineItem": {
|
990
|
+
"Badge": "Primer::Beta::TimelineItem::Badge"
|
991
|
+
},
|
992
|
+
"Primer::Beta::TimelineItem::Badge": {
|
993
|
+
},
|
918
994
|
"Primer::Beta::Truncate": {
|
919
995
|
"TruncateText": "Primer::Beta::Truncate::TruncateText"
|
920
996
|
},
|
@@ -924,8 +1000,6 @@
|
|
924
1000
|
},
|
925
1001
|
"Primer::Box": {
|
926
1002
|
},
|
927
|
-
"Primer::BoxComponent": {
|
928
|
-
},
|
929
1003
|
"Primer::ButtonComponent": {
|
930
1004
|
"DEFAULT_SCHEME": "default",
|
931
1005
|
"DEFAULT_SIZE": "medium",
|
@@ -955,8 +1029,6 @@
|
|
955
1029
|
"medium"
|
956
1030
|
]
|
957
1031
|
},
|
958
|
-
"Primer::ClipboardCopy": {
|
959
|
-
},
|
960
1032
|
"Primer::ConditionalWrapper": {
|
961
1033
|
},
|
962
1034
|
"Primer::Content": {
|
@@ -969,22 +1041,6 @@
|
|
969
1041
|
},
|
970
1042
|
"Primer::Dropdown::Menu::Item": {
|
971
1043
|
},
|
972
|
-
"Primer::DropdownMenuComponent": {
|
973
|
-
"DIRECTION_DEFAULT": "se",
|
974
|
-
"DIRECTION_OPTIONS": [
|
975
|
-
"se",
|
976
|
-
"sw",
|
977
|
-
"w",
|
978
|
-
"e",
|
979
|
-
"ne",
|
980
|
-
"s"
|
981
|
-
],
|
982
|
-
"SCHEME_DEFAULT": "default",
|
983
|
-
"SCHEME_MAPPINGS": {
|
984
|
-
"default": "",
|
985
|
-
"dark": "dropdown-menu-dark"
|
986
|
-
}
|
987
|
-
},
|
988
1044
|
"Primer::HellipButton": {
|
989
1045
|
},
|
990
1046
|
"Primer::IconButton": {
|
@@ -1056,62 +1112,8 @@
|
|
1056
1112
|
"Primer::SpinnerComponent": {
|
1057
1113
|
},
|
1058
1114
|
"Primer::StateComponent": {
|
1059
|
-
"DEPRECATED_SCHEME_MAPPINGS": {
|
1060
|
-
"default": "",
|
1061
|
-
"green": "State--open",
|
1062
|
-
"red": "State--closed",
|
1063
|
-
"purple": "State--merged"
|
1064
|
-
},
|
1065
|
-
"NEW_SCHEME_MAPPINGS": {
|
1066
|
-
"open": "State--open",
|
1067
|
-
"closed": "State--closed",
|
1068
|
-
"merged": "State--merged"
|
1069
|
-
},
|
1070
|
-
"SCHEME_DEFAULT": "default",
|
1071
|
-
"SCHEME_MAPPINGS": {
|
1072
|
-
"open": "State--open",
|
1073
|
-
"closed": "State--closed",
|
1074
|
-
"merged": "State--merged",
|
1075
|
-
"default": "",
|
1076
|
-
"green": "State--open",
|
1077
|
-
"red": "State--closed",
|
1078
|
-
"purple": "State--merged"
|
1079
|
-
},
|
1080
|
-
"SCHEME_OPTIONS": [
|
1081
|
-
"open",
|
1082
|
-
"closed",
|
1083
|
-
"merged",
|
1084
|
-
"default",
|
1085
|
-
"green",
|
1086
|
-
"red",
|
1087
|
-
"purple"
|
1088
|
-
],
|
1089
|
-
"SIZE_DEFAULT": "default",
|
1090
|
-
"SIZE_MAPPINGS": {
|
1091
|
-
"default": "",
|
1092
|
-
"small": "State--small"
|
1093
|
-
},
|
1094
|
-
"SIZE_OPTIONS": [
|
1095
|
-
"default",
|
1096
|
-
"small"
|
1097
|
-
],
|
1098
|
-
"TAG_DEFAULT": "span",
|
1099
|
-
"TAG_OPTIONS": [
|
1100
|
-
"span",
|
1101
|
-
"div"
|
1102
|
-
]
|
1103
1115
|
},
|
1104
1116
|
"Primer::SubheadComponent": {
|
1105
|
-
"DEFAULT_HEADING_TAG": "div",
|
1106
|
-
"HEADING_TAG_OPTIONS": [
|
1107
|
-
"div",
|
1108
|
-
"h1",
|
1109
|
-
"h2",
|
1110
|
-
"h3",
|
1111
|
-
"h4",
|
1112
|
-
"h5",
|
1113
|
-
"h6"
|
1114
|
-
]
|
1115
1117
|
},
|
1116
1118
|
"Primer::TabContainerComponent": {
|
1117
1119
|
},
|
@@ -14,6 +14,7 @@
|
|
14
14
|
"Primer::Alpha::Dropdown": "alpha",
|
15
15
|
"Primer::Alpha::Dropdown::Menu": "alpha",
|
16
16
|
"Primer::Alpha::Dropdown::Menu::Item": "alpha",
|
17
|
+
"Primer::Alpha::HellipButton": "alpha",
|
17
18
|
"Primer::Alpha::HiddenTextExpander": "alpha",
|
18
19
|
"Primer::Alpha::Image": "alpha",
|
19
20
|
"Primer::Alpha::ImageCrop": "alpha",
|
@@ -27,6 +28,7 @@
|
|
27
28
|
"Primer::Alpha::OcticonSymbols": "alpha",
|
28
29
|
"Primer::Alpha::SegmentedControl": "alpha",
|
29
30
|
"Primer::Alpha::SegmentedControl::Item": "alpha",
|
31
|
+
"Primer::Alpha::TabContainer": "alpha",
|
30
32
|
"Primer::Alpha::TabNav": "alpha",
|
31
33
|
"Primer::Alpha::TabPanels": "alpha",
|
32
34
|
"Primer::Alpha::TextField": "alpha",
|
@@ -62,21 +64,22 @@
|
|
62
64
|
"Primer::Beta::ProgressBar": "beta",
|
63
65
|
"Primer::Beta::RelativeTime": "beta",
|
64
66
|
"Primer::Beta::Spinner": "beta",
|
67
|
+
"Primer::Beta::State": "beta",
|
68
|
+
"Primer::Beta::Subhead": "beta",
|
65
69
|
"Primer::Beta::Text": "beta",
|
70
|
+
"Primer::Beta::TimelineItem": "beta",
|
71
|
+
"Primer::Beta::TimelineItem::Badge": "beta",
|
66
72
|
"Primer::Beta::Truncate": "beta",
|
67
73
|
"Primer::Beta::Truncate::TruncateText": "alpha",
|
68
74
|
"Primer::BlankslateComponent": "deprecated",
|
69
75
|
"Primer::Box": "stable",
|
70
|
-
"Primer::BoxComponent": "deprecated",
|
71
76
|
"Primer::ButtonComponent": "deprecated",
|
72
|
-
"Primer::ClipboardCopy": "deprecated",
|
73
77
|
"Primer::ConditionalWrapper": "alpha",
|
74
78
|
"Primer::Content": "stable",
|
75
79
|
"Primer::Dropdown": "deprecated",
|
76
80
|
"Primer::Dropdown::Menu": "deprecated",
|
77
81
|
"Primer::Dropdown::Menu::Item": "deprecated",
|
78
|
-
"Primer::
|
79
|
-
"Primer::HellipButton": "alpha",
|
82
|
+
"Primer::HellipButton": "deprecated",
|
80
83
|
"Primer::IconButton": "deprecated",
|
81
84
|
"Primer::LabelComponent": "deprecated",
|
82
85
|
"Primer::LayoutComponent": "alpha",
|
@@ -89,12 +92,12 @@
|
|
89
92
|
"Primer::OcticonSymbolsComponent": "deprecated",
|
90
93
|
"Primer::PopoverComponent": "deprecated",
|
91
94
|
"Primer::SpinnerComponent": "deprecated",
|
92
|
-
"Primer::StateComponent": "
|
93
|
-
"Primer::SubheadComponent": "
|
94
|
-
"Primer::TabContainerComponent": "
|
95
|
+
"Primer::StateComponent": "deprecated",
|
96
|
+
"Primer::SubheadComponent": "deprecated",
|
97
|
+
"Primer::TabContainerComponent": "deprecated",
|
95
98
|
"Primer::TimeAgoComponent": "deprecated",
|
96
|
-
"Primer::TimelineItemComponent": "
|
97
|
-
"Primer::TimelineItemComponent::BadgeComponent": "
|
99
|
+
"Primer::TimelineItemComponent": "deprecated",
|
100
|
+
"Primer::TimelineItemComponent::BadgeComponent": "deprecated",
|
98
101
|
"Primer::Tooltip": "deprecated",
|
99
102
|
"Primer::Truncate": "beta"
|
100
103
|
}
|
@@ -5,4 +5,25 @@
|
|
5
5
|
@import "@primer/css/utilities/index.scss";
|
6
6
|
@import "@primer/css/layout/index.scss";
|
7
7
|
@import "@primer/css/markdown/index.scss";
|
8
|
-
|
8
|
+
[data-color-mode=light][data-light-theme*=light],
|
9
|
+
[data-color-mode=dark][data-dark-theme*=light] {
|
10
|
+
@import "rouge-light.scss";
|
11
|
+
}
|
12
|
+
|
13
|
+
[data-color-mode=light][data-light-theme*=dark],
|
14
|
+
[data-color-mode=dark][data-dark-theme*=dark] {
|
15
|
+
@import "rouge-dark.scss";
|
16
|
+
}
|
17
|
+
|
18
|
+
@media(prefers-color-scheme: light) {
|
19
|
+
[data-color-mode=auto][data-light-theme*=light]{
|
20
|
+
@import "rouge-light.scss";
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
@media(prefers-color-scheme: dark) {
|
25
|
+
[data-color-mode=auto][data-dark-theme*=dark]{
|
26
|
+
@import "rouge-dark.scss";
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
@@ -0,0 +1,112 @@
|
|
1
|
+
.highlight table td { padding: 5px; }
|
2
|
+
.highlight table pre { margin: 0; }
|
3
|
+
.highlight, .highlight .w {
|
4
|
+
color: #c9d1d9;
|
5
|
+
background-color: #161b22;
|
6
|
+
}
|
7
|
+
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt, .highlight .kv {
|
8
|
+
color: #ff7b72;
|
9
|
+
}
|
10
|
+
.highlight .gr {
|
11
|
+
color: #f0f6fc;
|
12
|
+
}
|
13
|
+
.highlight .gd {
|
14
|
+
color: #ffdcd7;
|
15
|
+
background-color: #67060c;
|
16
|
+
}
|
17
|
+
.highlight .nb {
|
18
|
+
color: #ffa657;
|
19
|
+
}
|
20
|
+
.highlight .nc {
|
21
|
+
color: #ffa657;
|
22
|
+
}
|
23
|
+
.highlight .no {
|
24
|
+
color: #ffa657;
|
25
|
+
}
|
26
|
+
.highlight .nn {
|
27
|
+
color: #ffa657;
|
28
|
+
}
|
29
|
+
.highlight .sr {
|
30
|
+
color: #7ee787;
|
31
|
+
}
|
32
|
+
.highlight .na {
|
33
|
+
color: #7ee787;
|
34
|
+
}
|
35
|
+
.highlight .nt {
|
36
|
+
color: #7ee787;
|
37
|
+
}
|
38
|
+
.highlight .gi {
|
39
|
+
color: #aff5b4;
|
40
|
+
background-color: #033a16;
|
41
|
+
}
|
42
|
+
.highlight .kc {
|
43
|
+
color: #79c0ff;
|
44
|
+
}
|
45
|
+
.highlight .l, .highlight .ld, .highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
46
|
+
color: #79c0ff;
|
47
|
+
}
|
48
|
+
.highlight .sb {
|
49
|
+
color: #79c0ff;
|
50
|
+
}
|
51
|
+
.highlight .bp {
|
52
|
+
color: #79c0ff;
|
53
|
+
}
|
54
|
+
.highlight .ne {
|
55
|
+
color: #79c0ff;
|
56
|
+
}
|
57
|
+
.highlight .nl {
|
58
|
+
color: #79c0ff;
|
59
|
+
}
|
60
|
+
.highlight .py {
|
61
|
+
color: #79c0ff;
|
62
|
+
}
|
63
|
+
.highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi, .highlight .vm {
|
64
|
+
color: #79c0ff;
|
65
|
+
}
|
66
|
+
.highlight .o, .highlight .ow {
|
67
|
+
color: #79c0ff;
|
68
|
+
}
|
69
|
+
.highlight .gh {
|
70
|
+
color: #1f6feb;
|
71
|
+
font-weight: bold;
|
72
|
+
}
|
73
|
+
.highlight .gu {
|
74
|
+
color: #1f6feb;
|
75
|
+
font-weight: bold;
|
76
|
+
}
|
77
|
+
.highlight .s, .highlight .sa, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .se, .highlight .sh, .highlight .sx, .highlight .s1, .highlight .ss {
|
78
|
+
color: #a5d6ff;
|
79
|
+
}
|
80
|
+
.highlight .nd {
|
81
|
+
color: #d2a8ff;
|
82
|
+
}
|
83
|
+
.highlight .nf, .highlight .fm {
|
84
|
+
color: #d2a8ff;
|
85
|
+
}
|
86
|
+
.highlight .err {
|
87
|
+
color: #f0f6fc;
|
88
|
+
background-color: #8e1519;
|
89
|
+
}
|
90
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cp, .highlight .cpf, .highlight .c1, .highlight .cs {
|
91
|
+
color: #8b949e;
|
92
|
+
}
|
93
|
+
.highlight .gl {
|
94
|
+
color: #8b949e;
|
95
|
+
}
|
96
|
+
.highlight .gt {
|
97
|
+
color: #8b949e;
|
98
|
+
}
|
99
|
+
.highlight .ni {
|
100
|
+
color: #c9d1d9;
|
101
|
+
}
|
102
|
+
.highlight .si {
|
103
|
+
color: #c9d1d9;
|
104
|
+
}
|
105
|
+
.highlight .ge {
|
106
|
+
color: #c9d1d9;
|
107
|
+
font-style: italic;
|
108
|
+
}
|
109
|
+
.highlight .gs {
|
110
|
+
color: #c9d1d9;
|
111
|
+
font-weight: bold;
|
112
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
.highlight table td { padding: 5px; }
|
2
|
+
.highlight table pre { margin: 0; }
|
3
|
+
.highlight, .highlight .w {
|
4
|
+
color: #24292f;
|
5
|
+
background-color: #f6f8fa;
|
6
|
+
}
|
7
|
+
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt, .highlight .kv {
|
8
|
+
color: #cf222e;
|
9
|
+
}
|
10
|
+
.highlight .gr {
|
11
|
+
color: #f6f8fa;
|
12
|
+
}
|
13
|
+
.highlight .gd {
|
14
|
+
color: #82071e;
|
15
|
+
background-color: #ffebe9;
|
16
|
+
}
|
17
|
+
.highlight .nb {
|
18
|
+
color: #953800;
|
19
|
+
}
|
20
|
+
.highlight .nc {
|
21
|
+
color: #953800;
|
22
|
+
}
|
23
|
+
.highlight .no {
|
24
|
+
color: #953800;
|
25
|
+
}
|
26
|
+
.highlight .nn {
|
27
|
+
color: #953800;
|
28
|
+
}
|
29
|
+
.highlight .sr {
|
30
|
+
color: #116329;
|
31
|
+
}
|
32
|
+
.highlight .na {
|
33
|
+
color: #116329;
|
34
|
+
}
|
35
|
+
.highlight .nt {
|
36
|
+
color: #116329;
|
37
|
+
}
|
38
|
+
.highlight .gi {
|
39
|
+
color: #116329;
|
40
|
+
background-color: #dafbe1;
|
41
|
+
}
|
42
|
+
.highlight .kc {
|
43
|
+
color: #0550ae;
|
44
|
+
}
|
45
|
+
.highlight .l, .highlight .ld, .highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
46
|
+
color: #0550ae;
|
47
|
+
}
|
48
|
+
.highlight .sb {
|
49
|
+
color: #0550ae;
|
50
|
+
}
|
51
|
+
.highlight .bp {
|
52
|
+
color: #0550ae;
|
53
|
+
}
|
54
|
+
.highlight .ne {
|
55
|
+
color: #0550ae;
|
56
|
+
}
|
57
|
+
.highlight .nl {
|
58
|
+
color: #0550ae;
|
59
|
+
}
|
60
|
+
.highlight .py {
|
61
|
+
color: #0550ae;
|
62
|
+
}
|
63
|
+
.highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi, .highlight .vm {
|
64
|
+
color: #0550ae;
|
65
|
+
}
|
66
|
+
.highlight .o, .highlight .ow {
|
67
|
+
color: #0550ae;
|
68
|
+
}
|
69
|
+
.highlight .gh {
|
70
|
+
color: #0550ae;
|
71
|
+
font-weight: bold;
|
72
|
+
}
|
73
|
+
.highlight .gu {
|
74
|
+
color: #0550ae;
|
75
|
+
font-weight: bold;
|
76
|
+
}
|
77
|
+
.highlight .s, .highlight .sa, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .se, .highlight .sh, .highlight .sx, .highlight .s1, .highlight .ss {
|
78
|
+
color: #0a3069;
|
79
|
+
}
|
80
|
+
.highlight .nd {
|
81
|
+
color: #8250df;
|
82
|
+
}
|
83
|
+
.highlight .nf, .highlight .fm {
|
84
|
+
color: #8250df;
|
85
|
+
}
|
86
|
+
.highlight .err {
|
87
|
+
color: #f6f8fa;
|
88
|
+
background-color: #82071e;
|
89
|
+
}
|
90
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cp, .highlight .cpf, .highlight .c1, .highlight .cs {
|
91
|
+
color: #6e7781;
|
92
|
+
}
|
93
|
+
.highlight .gl {
|
94
|
+
color: #6e7781;
|
95
|
+
}
|
96
|
+
.highlight .gt {
|
97
|
+
color: #6e7781;
|
98
|
+
}
|
99
|
+
.highlight .ni {
|
100
|
+
color: #24292f;
|
101
|
+
}
|
102
|
+
.highlight .si {
|
103
|
+
color: #24292f;
|
104
|
+
}
|
105
|
+
.highlight .ge {
|
106
|
+
color: #24292f;
|
107
|
+
font-style: italic;
|
108
|
+
}
|
109
|
+
.highlight .gs {
|
110
|
+
color: #24292f;
|
111
|
+
font-weight: bold;
|
112
|
+
}
|