jekyll-v4-theme-primer 0.11.0 → 0.13.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 +24 -3
- data/_layouts/default.html +4 -2
- data/_sass/@primer/css/autocomplete/suggester.scss +11 -11
- data/_sass/@primer/css/avatars/avatar-parent-child.scss +2 -2
- data/_sass/@primer/css/avatars/circle-badge.scss +3 -3
- data/_sass/@primer/css/base/base.scss +5 -5
- data/_sass/@primer/css/base/kbd.scss +5 -5
- data/_sass/@primer/css/base/normalize.scss +3 -2
- data/_sass/@primer/css/box/box-overlay.scss +3 -3
- data/_sass/@primer/css/branch-name/branch-name.scss +6 -6
- data/_sass/@primer/css/buttons/button.scss +63 -63
- data/_sass/@primer/css/buttons/misc.scss +26 -26
- data/_sass/@primer/css/color-modes/native.scss +4 -2
- data/_sass/@primer/css/core/index.scss +0 -1
- data/_sass/@primer/css/forms/form-control.scss +18 -18
- data/_sass/@primer/css/forms/form-group.scss +31 -30
- data/_sass/@primer/css/forms/form-select.scss +1 -1
- data/_sass/@primer/css/forms/index.scss +0 -1
- data/_sass/@primer/css/forms/input-group.scss +10 -0
- data/_sass/@primer/css/forms/radio-group.scss +6 -6
- data/_sass/@primer/css/header/header.scss +7 -7
- data/_sass/@primer/css/labels/index.scss +0 -1
- data/_sass/@primer/css/layout/app-frame.scss +13 -13
- data/_sass/@primer/css/layout/page-layout.scss +2 -6
- data/_sass/@primer/css/layout/stack.scss +7 -7
- data/_sass/@primer/css/markdown/blob-csv.scss +2 -2
- data/_sass/@primer/css/markdown/code.scss +3 -3
- data/_sass/@primer/css/markdown/footnotes.scss +3 -3
- data/_sass/@primer/css/markdown/headings.scss +4 -4
- data/_sass/@primer/css/markdown/images.scss +3 -3
- data/_sass/@primer/css/markdown/lists.scss +4 -4
- data/_sass/@primer/css/markdown/markdown-body.scss +4 -4
- data/_sass/@primer/css/markdown/tables.scss +4 -4
- data/_sass/@primer/css/marketing/buttons/button.scss +9 -10
- data/_sass/@primer/css/marketing/support/variables.scss +15 -0
- data/_sass/@primer/css/marketing/utilities/layout.scss +0 -1
- data/_sass/@primer/css/navigation/filter-list.scss +8 -8
- data/_sass/@primer/css/navigation/sidenav.scss +12 -12
- data/_sass/@primer/css/navigation/subnav.scss +9 -9
- data/_sass/@primer/css/pagination/pagination.scss +7 -7
- data/_sass/@primer/css/primitives/index.scss +9 -9
- data/_sass/@primer/css/select-menu/select-menu.scss +41 -41
- data/_sass/@primer/css/support/mixins/color-modes.scss +89 -1
- data/_sass/@primer/css/support/mixins/misc.scss +8 -8
- data/_sass/@primer/css/support/variables/misc.scss +2 -2
- data/_sass/@primer/css/support/variables/typography.scss +1 -1
- data/_sass/@primer/css/toasts/toasts.scss +17 -17
- data/_sass/@primer/css/tooltips/tooltips.scss +9 -62
- data/_sass/@primer/css/utilities/borders.scss +9 -9
- data/_sass/@primer/css/utilities/box-shadow.scss +8 -4
- data/_sass/@primer/css/utilities/colors.scss +59 -60
- data/_sass/@primer/css/utilities/details.scss +1 -1
- data/_sass/@primer/css/utilities/flexbox.scss +0 -1
- data/_sass/@primer/css/utilities/layout.scss +7 -5
- data/_sass/@primer/css/utilities/margin.scss +0 -2
- data/_sass/@primer/css/utilities/padding.scss +0 -1
- data/_sass/@primer/css/utilities/typography.scss +8 -8
- data/_sass/@primer/css/utilities/visibility-display.scss +10 -9
- data/_sass/@primer/primitives/dist/scss/base/size/size.scss +17 -0
- data/_sass/@primer/primitives/dist/scss/base/typography/typography.scss +4 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark.scss +29 -20
- data/_sass/@primer/primitives/dist/scss/colors/_dark_colorblind.scss +14 -5
- data/_sass/@primer/primitives/dist/scss/colors/_dark_dimmed.scss +14 -5
- data/_sass/@primer/primitives/dist/scss/colors/_dark_high_contrast.scss +12 -3
- data/_sass/@primer/primitives/dist/scss/colors/_dark_tritanopia.scss +14 -5
- data/_sass/@primer/primitives/dist/scss/colors/_light.scss +13 -4
- data/_sass/@primer/primitives/dist/scss/colors/_light_colorblind.scss +13 -4
- data/_sass/@primer/primitives/dist/scss/colors/_light_high_contrast.scss +13 -4
- data/_sass/@primer/primitives/dist/scss/colors/_light_tritanopia.scss +13 -4
- data/_sass/@primer/primitives/dist/scss/functional/motion/motion.scss +3 -0
- data/_sass/@primer/primitives/dist/scss/functional/size/border.scss +12 -0
- data/_sass/@primer/primitives/dist/scss/functional/size/breakpoints.scss +6 -0
- data/_sass/@primer/primitives/dist/scss/functional/size/size-coarse.scss +3 -0
- data/_sass/@primer/primitives/dist/scss/functional/size/size-fine.scss +3 -0
- data/_sass/@primer/primitives/dist/scss/functional/size/size.scss +72 -0
- data/_sass/@primer/primitives/dist/scss/functional/size/viewport.scss +6 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/dark-colorblind.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/dark-dimmed.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/dark-high-contrast.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/dark-tritanopia.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/dark.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/light-colorblind.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/light-high-contrast.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/light-tritanopia.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/themes/light.scss +503 -0
- data/_sass/@primer/primitives/dist/scss/functional/typography/typography.scss +45 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/base/size/size.scss +17 -21
- data/_sass/@primer/primitives/tokens-next-private/scss/base/typography/typography.scss +4 -8
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/motion/motion.scss +3 -0
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/border.scss +12 -16
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/breakpoints.scss +6 -10
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size-coarse.scss +3 -7
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size-fine.scss +3 -7
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/size.scss +72 -51
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/size/viewport.scss +6 -19
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-colorblind.scss +503 -391
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-dimmed.scss +503 -391
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +503 -391
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +503 -391
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/dark.scss +503 -391
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-colorblind.scss +503 -366
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-high-contrast.scss +503 -366
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light-tritanopia.scss +503 -366
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/themes/light.scss +503 -366
- data/_sass/@primer/primitives/tokens-next-private/scss/functional/typography/typography.scss +45 -49
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/size/size.scss +2 -2
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/typography/typography.scss +2 -2
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/border.scss +2 -2
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +2 -2
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +2 -2
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +2 -2
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size.scss +2 -2
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/viewport.scss +2 -2
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/typography/typography.scss +2 -2
- data/_sass/@primer/view-components/README.md +1 -1
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/action_bar_element.d.ts +17 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/action_menu/action_menu_element.d.ts +51 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/dropdown/menu.d.ts +1 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/dropdown.d.ts +1 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/image_crop.d.ts +1 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/modal_dialog.d.ts +18 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/segmented_control.d.ts +12 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/tab_container.d.ts +1 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/toggle_switch.d.ts +30 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/tool_tip.d.ts +27 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/alpha/x_banner.d.ts +13 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/anchored_position.d.ts +27 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/beta/auto_complete/auto_complete.d.ts +1 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/beta/clipboard_copy.d.ts +1 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/beta/nav_list.d.ts +17 -0
- data/_sass/@primer/view-components/app/{components/primer/alpha/nav_list.d.ts → assets/javascripts/app/components/primer/beta/nav_list_group_element.d.ts} +3 -9
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/dialog_helper.d.ts +15 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/focus_group.d.ts +19 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/primer.d.ts +23 -0
- data/_sass/@primer/view-components/app/assets/javascripts/app/components/primer/scrollable_region.d.ts +13 -0
- data/_sass/@primer/view-components/app/assets/javascripts/lib/primer/forms/primer_multi_input.d.ts +10 -0
- data/_sass/@primer/view-components/app/assets/javascripts/lib/primer/forms/primer_text_field.d.ts +1 -0
- data/_sass/@primer/view-components/app/assets/javascripts/lib/primer/forms/toggle_switch_input.d.ts +5 -0
- 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 +1 -3
- 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_bar.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/action_bar.css.json +14 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/action_bar_element.d.ts +17 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/action_bar_element.js +180 -0
- 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 +136 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/action_menu/action_menu_element.d.ts +51 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/action_menu/action_menu_element.js +470 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css.json +23 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/banner.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/banner.css.json +24 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css.json +33 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css.json +65 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css.json +40 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/layout.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/layout.css.json +80 -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 +28 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.js +50 -27
- data/_sass/@primer/view-components/app/components/primer/alpha/overlay.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/overlay.css.json +11 -0
- 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 +29 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.js +4 -4
- 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 +24 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css +1 -3
- data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css.json +144 -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 +40 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.d.ts +2 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.js +54 -45
- data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.d.ts +4 -2
- data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.js +159 -72
- 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 +28 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.d.ts +3 -1
- data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.js +25 -10
- data/_sass/@primer/view-components/app/components/primer/anchored_position.d.ts +27 -0
- data/_sass/@primer/view-components/app/components/primer/anchored_position.js +157 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/avatar.css.json +17 -1
- data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css.json +28 -1
- data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css.json +23 -1
- data/_sass/@primer/view-components/app/components/primer/beta/border_box.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/border_box.css.json +54 -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 +11 -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 +77 -1
- data/_sass/@primer/view-components/app/components/primer/beta/button_group.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/button_group.css.json +12 -0
- data/_sass/@primer/view-components/app/components/primer/beta/counter.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/counter.css.json +10 -1
- data/_sass/@primer/view-components/app/components/primer/beta/flash.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/flash.css.json +27 -1
- data/_sass/@primer/view-components/app/components/primer/beta/label.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/label.css.json +25 -1
- data/_sass/@primer/view-components/app/components/primer/beta/link.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/link.css.json +20 -1
- data/_sass/@primer/view-components/app/components/primer/beta/nav_list.d.ts +17 -0
- data/_sass/@primer/view-components/app/components/primer/beta/nav_list.js +170 -0
- data/_sass/@primer/view-components/app/components/primer/beta/nav_list_group_element.d.ts +19 -0
- data/_sass/@primer/view-components/app/components/primer/{alpha/nav_list.js → beta/nav_list_group_element.js} +30 -53
- data/_sass/@primer/view-components/app/components/primer/beta/popover.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/popover.css.json +39 -1
- data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css.json +10 -1
- data/_sass/@primer/view-components/app/components/primer/beta/state.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/state.css.json +13 -1
- data/_sass/@primer/view-components/app/components/primer/beta/subhead.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/subhead.css.json +14 -1
- data/_sass/@primer/view-components/app/components/primer/beta/timeline_item.css +1 -1
- data/_sass/@primer/view-components/app/components/primer/beta/timeline_item.css.json +16 -1
- 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 +12 -1
- data/_sass/@primer/view-components/app/components/primer/dialog_helper.d.ts +15 -0
- data/_sass/@primer/view-components/app/components/primer/dialog_helper.js +117 -0
- data/_sass/@primer/view-components/app/components/primer/focus_group.d.ts +19 -0
- data/_sass/@primer/view-components/app/components/primer/focus_group.js +163 -0
- data/_sass/@primer/view-components/app/components/primer/primer.d.ts +10 -3
- data/_sass/@primer/view-components/app/components/primer/primer.js +10 -3
- data/_sass/@primer/view-components/app/components/primer/scrollable_region.d.ts +13 -0
- data/_sass/@primer/view-components/app/components/primer/scrollable_region.js +52 -0
- data/_sass/@primer/view-components/app/components/primer/truncate.css.json +13 -1
- data/_sass/@primer/view-components/lib/primer/forms/primer_multi_input.js +2 -3
- data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.js +55 -11
- data/_sass/@primer/view-components/lib/primer/forms/toggle_switch_input.js +7 -2
- data/_sass/@primer/view-components/package.json +34 -33
- data/_sass/@primer/view-components/static/arguments.json +2786 -454
- data/_sass/@primer/view-components/static/audited_at.json +39 -24
- data/_sass/@primer/view-components/static/classes.json +612 -0
- data/_sass/@primer/view-components/static/constants.json +318 -77
- data/_sass/@primer/view-components/static/info_arch.json +15698 -0
- data/_sass/@primer/view-components/static/previews.json +6814 -0
- data/_sass/@primer/view-components/static/statuses.json +41 -26
- data/_sass/{jekyll-theme-primer.scss → jekyll-v4-theme-primer.scss} +14 -3
- data/_sass/primer.scss +1 -1
- data/assets/css/style.scss +1 -1
- data/assets/js/github-clipboard-copy-element.js +154 -0
- data/assets/js/primer-clipboard-copy.js +106 -0
- metadata +77 -18
- data/_sass/@primer/css/actionlist/action-list-item-divider.scss +0 -48
- data/_sass/@primer/css/actionlist/action-list-item.scss +0 -593
- data/_sass/@primer/css/actionlist/action-list-tree.scss +0 -118
- data/_sass/@primer/css/actionlist/action-list-variables.scss +0 -8
- data/_sass/@primer/css/actionlist/action-list.scss +0 -67
- data/_sass/@primer/css/actionlist/index.scss +0 -6
- data/_sass/@primer/css/forms/form-validation.scss +0 -265
- data/_sass/@primer/css/labels/diffstat.scss +0 -37
- data/_sass/@primer/view-components/app/components/primer/time_ago_component.js +0 -1
- /data/_sass/@primer/view-components/app/{components/primer/local_time.d.ts → assets/javascripts/app/components/primer/beta/relative_time.d.ts} +0 -0
- /data/_sass/@primer/view-components/app/components/primer/{local_time.js → beta/relative_time.d.ts} +0 -0
- /data/_sass/@primer/view-components/app/components/primer/{time_ago_component.d.ts → beta/relative_time.js} +0 -0
@@ -1,3 +1,5 @@
|
|
1
|
+
/* stylelint-disable primer/spacing */
|
2
|
+
|
1
3
|
.tooltipped {
|
2
4
|
position: relative;
|
3
5
|
}
|
@@ -7,10 +9,10 @@
|
|
7
9
|
position: absolute;
|
8
10
|
z-index: 1000000;
|
9
11
|
display: none;
|
10
|
-
padding:
|
11
|
-
font: normal normal 11px/1.5 $body-font;
|
12
|
+
padding: var(--overlay-paddingBlock-condensed, 0.25rem) var(--overlay-padding-condensed, 0.5rem);
|
13
|
+
font: var(--text-body-shorthand-small, normal normal 11px/1.5 $body-font);
|
12
14
|
-webkit-font-smoothing: subpixel-antialiased;
|
13
|
-
color: var(--color-fg-on-emphasis);
|
15
|
+
color: var(--fgColor-onEmphasis, var(--color-fg-on-emphasis));
|
14
16
|
text-align: center;
|
15
17
|
text-decoration: none;
|
16
18
|
text-shadow: none;
|
@@ -20,23 +22,9 @@
|
|
20
22
|
white-space: pre;
|
21
23
|
pointer-events: none;
|
22
24
|
content: attr(aria-label);
|
23
|
-
background: var(--color-neutral-emphasis-plus);
|
24
|
-
border-radius: $border-radius;
|
25
|
-
opacity: 0;
|
26
|
-
}
|
27
|
-
|
28
|
-
// This is the tooltip arrow
|
29
|
-
.tooltipped::before {
|
30
|
-
position: absolute;
|
31
|
-
z-index: 1000001;
|
32
|
-
display: none;
|
33
|
-
width: 0;
|
34
|
-
height: 0;
|
35
|
-
color: var(--color-neutral-emphasis-plus);
|
36
|
-
pointer-events: none;
|
37
|
-
content: '';
|
25
|
+
background: var(--bgColor-emphasis, var(--color-neutral-emphasis-plus));
|
38
26
|
// stylelint-disable-next-line primer/borders
|
39
|
-
border:
|
27
|
+
border-radius: var(--borderRadius-medium);
|
40
28
|
opacity: 0;
|
41
29
|
}
|
42
30
|
|
@@ -63,7 +51,6 @@
|
|
63
51
|
animation-duration: $tooltip-duration;
|
64
52
|
animation-fill-mode: forwards;
|
65
53
|
animation-timing-function: ease-in;
|
66
|
-
animation-delay: $tooltip-delay;
|
67
54
|
}
|
68
55
|
}
|
69
56
|
|
@@ -91,18 +78,8 @@
|
|
91
78
|
&::after {
|
92
79
|
top: 100%;
|
93
80
|
right: 50%;
|
94
|
-
// stylelint-disable-next-line primer/spacing
|
95
81
|
margin-top: 6px;
|
96
82
|
}
|
97
|
-
|
98
|
-
&::before {
|
99
|
-
top: auto;
|
100
|
-
right: 50%;
|
101
|
-
bottom: -7px;
|
102
|
-
// stylelint-disable-next-line primer/spacing
|
103
|
-
margin-right: -6px;
|
104
|
-
border-bottom-color: var(--color-neutral-emphasis-plus);
|
105
|
-
}
|
106
83
|
}
|
107
84
|
|
108
85
|
.tooltipped-se {
|
@@ -124,18 +101,8 @@
|
|
124
101
|
&::after {
|
125
102
|
right: 50%;
|
126
103
|
bottom: 100%;
|
127
|
-
// stylelint-disable-next-line primer/spacing
|
128
104
|
margin-bottom: 6px;
|
129
105
|
}
|
130
|
-
|
131
|
-
&::before {
|
132
|
-
top: -7px;
|
133
|
-
right: 50%;
|
134
|
-
bottom: auto;
|
135
|
-
// stylelint-disable-next-line primer/spacing
|
136
|
-
margin-right: -6px;
|
137
|
-
border-top-color: var(--color-neutral-emphasis-plus);
|
138
|
-
}
|
139
106
|
}
|
140
107
|
|
141
108
|
.tooltipped-ne {
|
@@ -161,19 +128,9 @@
|
|
161
128
|
&::after {
|
162
129
|
right: 100%;
|
163
130
|
bottom: 50%;
|
164
|
-
// stylelint-disable-next-line primer/spacing
|
165
131
|
margin-right: 6px;
|
166
132
|
transform: translateY(50%);
|
167
133
|
}
|
168
|
-
|
169
|
-
&::before {
|
170
|
-
top: 50%;
|
171
|
-
bottom: 50%;
|
172
|
-
left: -7px;
|
173
|
-
// stylelint-disable-next-line primer/spacing
|
174
|
-
margin-top: -6px;
|
175
|
-
border-left-color: var(--color-neutral-emphasis-plus);
|
176
|
-
}
|
177
134
|
}
|
178
135
|
|
179
136
|
// tooltipped to the right
|
@@ -181,19 +138,9 @@
|
|
181
138
|
&::after {
|
182
139
|
bottom: 50%;
|
183
140
|
left: 100%;
|
184
|
-
// stylelint-disable-next-line primer/spacing
|
185
141
|
margin-left: 6px;
|
186
142
|
transform: translateY(50%);
|
187
143
|
}
|
188
|
-
|
189
|
-
&::before {
|
190
|
-
top: 50%;
|
191
|
-
right: -7px;
|
192
|
-
bottom: 50%;
|
193
|
-
// stylelint-disable-next-line primer/spacing
|
194
|
-
margin-top: -6px;
|
195
|
-
border-right-color: var(--color-neutral-emphasis-plus);
|
196
|
-
}
|
197
144
|
}
|
198
145
|
|
199
146
|
// Tooltip align right and left
|
@@ -218,7 +165,7 @@
|
|
218
165
|
}
|
219
166
|
|
220
167
|
.tooltipped-align-left-1,
|
221
|
-
.tooltipped-align-left-2
|
168
|
+
.tooltipped-align-left-2 {
|
222
169
|
&::after {
|
223
170
|
left: 0;
|
224
171
|
margin-left: 0;
|
@@ -245,7 +192,7 @@
|
|
245
192
|
.tooltipped-multiline {
|
246
193
|
&::after {
|
247
194
|
width: max-content;
|
248
|
-
max-width:
|
195
|
+
max-width: var(--overlay-width-small, 20rem);
|
249
196
|
word-wrap: break-word;
|
250
197
|
white-space: pre-line;
|
251
198
|
border-collapse: separate;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// Core border utilities
|
2
|
-
// stylelint-disable
|
2
|
+
// stylelint-disable primer/borders
|
3
3
|
|
4
4
|
/* Add a gray border to the left and right */
|
5
5
|
.border-x {
|
@@ -31,11 +31,11 @@
|
|
31
31
|
.border#{$variant}-left-0 { border-left: 0 !important; }
|
32
32
|
|
33
33
|
// Rounded corners
|
34
|
-
.rounded#{$variant} { border-radius: var(--
|
34
|
+
.rounded#{$variant} { border-radius: var(--borderRadius-medium, $border-radius-2) !important; }
|
35
35
|
.rounded#{$variant}-0 { border-radius: 0 !important; }
|
36
|
-
.rounded#{$variant}-1 { border-radius: var(--
|
37
|
-
.rounded#{$variant}-2 { border-radius: var(--
|
38
|
-
.rounded#{$variant}-3 { border-radius: var(--
|
36
|
+
.rounded#{$variant}-1 { border-radius: var(--borderRadius-small, $border-radius-1) !important; }
|
37
|
+
.rounded#{$variant}-2 { border-radius: var(--borderRadius-medium, $border-radius-2) !important; }
|
38
|
+
.rounded#{$variant}-3 { border-radius: var(--borderRadius-large, $border-radius-3) !important; }
|
39
39
|
|
40
40
|
@each $edge, $corners in $edges {
|
41
41
|
.rounded#{$variant}-#{$edge}-0 {
|
@@ -46,19 +46,19 @@
|
|
46
46
|
|
47
47
|
.rounded#{$variant}-#{$edge}-1 {
|
48
48
|
@each $corner in $corners {
|
49
|
-
border-#{$corner}-radius: var(--
|
49
|
+
border-#{$corner}-radius: var(--borderRadius-small, $border-radius-1) !important;
|
50
50
|
}
|
51
51
|
}
|
52
52
|
|
53
53
|
.rounded#{$variant}-#{$edge}-2 {
|
54
54
|
@each $corner in $corners {
|
55
|
-
border-#{$corner}-radius: var(--
|
55
|
+
border-#{$corner}-radius: var(--borderRadius-medium, $border-radius-2) !important;
|
56
56
|
}
|
57
57
|
}
|
58
58
|
|
59
59
|
.rounded#{$variant}-#{$edge}-3 {
|
60
60
|
@each $corner in $corners {
|
61
|
-
border-#{$corner}-radius: var(--
|
61
|
+
border-#{$corner}-radius: var(--borderRadius-medium, $border-radius-3) !important;
|
62
62
|
}
|
63
63
|
}
|
64
64
|
}
|
@@ -66,7 +66,7 @@
|
|
66
66
|
}
|
67
67
|
|
68
68
|
/* Add a 50% border-radius to make something into a circle */
|
69
|
-
.circle { border-radius: var(--
|
69
|
+
.circle { border-radius: var(--borderRadius-full, 50%) !important; }
|
70
70
|
|
71
71
|
/* Change the border style to dashed, in conjunction with another utility */
|
72
72
|
.border-dashed {
|
@@ -3,19 +3,23 @@
|
|
3
3
|
// Box shadows
|
4
4
|
|
5
5
|
.color-shadow-small {
|
6
|
-
box-shadow: var(--color-shadow-small) !important;
|
6
|
+
box-shadow: var(--shadow-resting-small, var(--color-shadow-small)) !important;
|
7
7
|
}
|
8
8
|
|
9
9
|
.color-shadow-medium {
|
10
|
-
box-shadow: var(--color-shadow-medium) !important;
|
10
|
+
box-shadow: var(--shadow-resting-medium, var(--color-shadow-medium)) !important;
|
11
11
|
}
|
12
12
|
|
13
13
|
.color-shadow-large {
|
14
|
-
box-shadow: var(--color-shadow-large) !important;
|
14
|
+
box-shadow: var(--shadow-floating-large, var(--color-shadow-large)) !important;
|
15
15
|
}
|
16
16
|
|
17
17
|
.color-shadow-extra-large {
|
18
|
-
box-shadow: var(--color-shadow-extra-large) !important;
|
18
|
+
box-shadow: var(--shadow-floating-xlarge, var(--color-shadow-extra-large)) !important;
|
19
|
+
}
|
20
|
+
|
21
|
+
.shadow-floating-small {
|
22
|
+
box-shadow: var(--shadow-floating-small, var(--color-overlay-shadow)) !important;
|
19
23
|
}
|
20
24
|
|
21
25
|
// Turn off box shadow
|
@@ -1,95 +1,94 @@
|
|
1
|
-
// stylelint-disable block-opening-brace-space-before
|
2
1
|
|
3
2
|
// Foreground
|
4
3
|
|
5
|
-
.color-fg-default { color: var(--color-fg-default) !important; }
|
6
|
-
.color-fg-muted
|
7
|
-
.color-fg-subtle { color: var(--color-fg-subtle) !important; }
|
4
|
+
.color-fg-default, .fgColor-default { color: var(--fgColor-default, var(--color-fg-default)) !important; }
|
5
|
+
.color-fg-muted, .fgColor-muted { color: var(--fgColor-muted, var(--color-fg-muted)) !important; }
|
6
|
+
.color-fg-subtle { color: var(--fgColor-muted, var(--color-fg-subtle)) !important; }
|
8
7
|
|
9
|
-
.color-fg-accent { color: var(--color-accent-fg) !important; }
|
10
|
-
.color-fg-success { color: var(--color-success-fg) !important; }
|
11
|
-
.color-fg-attention { color: var(--color-attention-fg) !important; }
|
12
|
-
.color-fg-severe { color: var(--color-severe-fg) !important; }
|
13
|
-
.color-fg-danger { color: var(--color-danger-fg) !important; }
|
14
|
-
.color-fg-open { color: var(--color-open-fg) !important; }
|
15
|
-
.color-fg-closed { color: var(--color-closed-fg) !important; }
|
16
|
-
.color-fg-done { color: var(--color-done-fg) !important; }
|
17
|
-
.color-fg-sponsors { color: var(--color-sponsors-fg) !important; }
|
8
|
+
.color-fg-accent, .fgColor-accent { color: var(--fgColor-accent, var(--color-accent-fg)) !important; }
|
9
|
+
.color-fg-success, .fgColor-success { color: var(--fgColor-success, var(--color-success-fg)) !important; }
|
10
|
+
.color-fg-attention, .fgColor-attention { color: var(--fgColor-attention, var(--color-attention-fg)) !important; }
|
11
|
+
.color-fg-severe, .fgColor-severe { color: var(--fgColor-severe, var(--color-severe-fg)) !important; }
|
12
|
+
.color-fg-danger, .fgColor-danger { color: var(--fgColor-danger, var(--color-danger-fg)) !important; }
|
13
|
+
.color-fg-open, .fgColor-open { color: var(--fgColor-open, var(--color-open-fg)) !important; }
|
14
|
+
.color-fg-closed, .fgColor-closed { color: var(--fgColor-closed, var(--color-closed-fg)) !important; }
|
15
|
+
.color-fg-done, .fgColor-done { color: var(--fgColor-done, var(--color-done-fg)) !important; }
|
16
|
+
.color-fg-sponsors, .fgColor-sponsors { color: var(--fgColor-sponsors, var(--color-sponsors-fg)) !important; }
|
18
17
|
|
19
|
-
.color-fg-on-emphasis { color: var(--color-fg-on-emphasis) !important; }
|
18
|
+
.color-fg-on-emphasis, .fgColor-onEmphasis { color: var(--fgColor-onEmphasis, var(--color-fg-on-emphasis)) !important; }
|
20
19
|
|
21
20
|
// Background
|
22
21
|
|
23
|
-
.color-bg-default { background-color: var(--color-canvas-default) !important; }
|
24
|
-
.color-bg-overlay { background-color: var(--color-canvas-overlay) !important; }
|
25
|
-
.color-bg-inset { background-color: var(--color-canvas-inset) !important; }
|
26
|
-
.color-bg-subtle { background-color: var(--color-canvas-subtle) !important; }
|
27
|
-
.color-bg-emphasis { background-color: var(--color-neutral-emphasis-plus) !important; }
|
22
|
+
.color-bg-default, .bgColor-default { background-color: var(--bgColor-default, var(--color-canvas-default)) !important; }
|
23
|
+
.color-bg-overlay { background-color: var(--overlay-bgColor, var(--color-canvas-overlay)) !important; }
|
24
|
+
.color-bg-inset, .bgColor-inset { background-color: var(--bgColor-inset, var(--color-canvas-inset)) !important; }
|
25
|
+
.color-bg-subtle, .bgColor-muted { background-color: var(--bgColor-muted, var(--color-canvas-subtle)) !important; }
|
26
|
+
.color-bg-emphasis, .bgColor-emphasis { background-color: var(--bgColor-emphasis, var(--color-neutral-emphasis-plus)) !important; }
|
28
27
|
|
29
|
-
.color-bg-accent { background-color: var(--color-accent-subtle) !important; }
|
30
|
-
.color-bg-accent-emphasis { background-color: var(--color-accent-emphasis) !important; }
|
28
|
+
.color-bg-accent, .bgColor-accent-muted { background-color: var(--bgColor-accent-muted, var(--color-accent-subtle)) !important; }
|
29
|
+
.color-bg-accent-emphasis, .bgColor-accent-emphasis { background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis)) !important; }
|
31
30
|
|
32
|
-
.color-bg-success { background-color: var(--color-success-subtle) !important; }
|
33
|
-
.color-bg-success-emphasis { background-color: var(--color-success-emphasis) !important; }
|
31
|
+
.color-bg-success, .bgColor-success-muted { background-color: var(--bgColor-success-muted, var(--color-success-subtle)) !important; }
|
32
|
+
.color-bg-success-emphasis, .bgColor-success-emphasis { background-color: var(--bgColor-success-emphasis, var(--color-success-emphasis)) !important; }
|
34
33
|
|
35
|
-
.color-bg-attention { background-color: var(--color-attention-subtle) !important; }
|
36
|
-
.color-bg-attention-emphasis { background-color: var(--color-attention-emphasis) !important; }
|
34
|
+
.color-bg-attention, .bgColor-attention-muted { background-color: var(--bgColor-attention-muted, var(--color-attention-subtle)) !important; }
|
35
|
+
.color-bg-attention-emphasis, .bgColor-attention-emphasis { background-color: var(--bgColor-attention-emphasis, var(--color-attention-emphasis)) !important; }
|
37
36
|
|
38
|
-
.color-bg-severe { background-color: var(--color-severe-subtle) !important; }
|
39
|
-
.color-bg-severe-emphasis { background-color: var(--color-severe-emphasis) !important; }
|
37
|
+
.color-bg-severe, .bgColor-severe-muted { background-color: var(--bgColor-severe-muted, var(--color-severe-subtle)) !important; }
|
38
|
+
.color-bg-severe-emphasis, .bgColor-severe-emphasis { background-color: var(--bgColor-severe-emphasis, var(--color-severe-emphasis)) !important; }
|
40
39
|
|
41
|
-
.color-bg-danger { background-color: var(--color-danger-subtle) !important; }
|
42
|
-
.color-bg-danger-emphasis { background-color: var(--color-danger-emphasis) !important; }
|
40
|
+
.color-bg-danger, .bgColor-danger-muted { background-color: var(--bgColor-danger-muted, var(--color-danger-subtle)) !important; }
|
41
|
+
.color-bg-danger-emphasis, .bgColor-danger-emphasis { background-color: var(--bgColor-danger-emphasis, var(--color-danger-emphasis)) !important; }
|
43
42
|
|
44
|
-
.color-bg-open { background-color: var(--color-open-subtle) !important; }
|
45
|
-
.color-bg-open-emphasis { background-color: var(--color-open-emphasis) !important; }
|
43
|
+
.color-bg-open, .bgColor-open-muted { background-color: var(--bgColor-open-muted, var(--color-open-subtle)) !important; }
|
44
|
+
.color-bg-open-emphasis, .bgColor-open-emphasis { background-color: var(--bgColor-open-emphasis, var(--color-open-emphasis)) !important; }
|
46
45
|
|
47
|
-
.color-bg-closed { background-color: var(--color-closed-subtle) !important; }
|
48
|
-
.color-bg-closed-emphasis { background-color: var(--color-closed-emphasis) !important; }
|
46
|
+
.color-bg-closed, .bgColor-closed-muted { background-color: var(--bgColor-closed-muted, var(--color-closed-subtle)) !important; }
|
47
|
+
.color-bg-closed-emphasis, .bgColor-closed-emphasis { background-color: var(--bgColor-closed-emphasis, var(--color-closed-emphasis)) !important; }
|
49
48
|
|
50
|
-
.color-bg-done { background-color: var(--color-done-subtle) !important; }
|
51
|
-
.color-bg-done-emphasis { background-color: var(--color-done-emphasis) !important; }
|
49
|
+
.color-bg-done, .bgColor-done-muted { background-color: var(--bgColor-done-muted, var(--color-done-subtle)) !important; }
|
50
|
+
.color-bg-done-emphasis, .bgColor-done-emphasis { background-color: var(--bgColor-done-emphasis, var(--color-done-emphasis)) !important; }
|
52
51
|
|
53
|
-
.color-bg-sponsors { background-color: var(--color-sponsors-subtle) !important; }
|
54
|
-
.color-bg-sponsors-emphasis { background-color: var(--color-sponsors-emphasis) !important; }
|
52
|
+
.color-bg-sponsors, .bgColor-sponsors-muted { background-color: var(--bgColor-sponsors-muted, var(--color-sponsors-subtle)) !important; }
|
53
|
+
.color-bg-sponsors-emphasis, .bgColor-sponsors-emphasis { background-color: var(--bgColor-sponsors-emphasis, var(--color-sponsors-emphasis)) !important; }
|
55
54
|
|
56
|
-
.color-bg-transparent { background-color: transparent !important; }
|
55
|
+
.color-bg-transparent, .bgColor-transparent { background-color: transparent !important; }
|
57
56
|
|
58
57
|
// Border
|
59
58
|
|
60
|
-
.color-border-default { border-color: var(--color-border-default) !important; }
|
61
|
-
.color-border-muted { border-color: var(--color-border-muted) !important; }
|
62
|
-
.color-border-subtle { border-color: var(--color-border-subtle) !important; }
|
59
|
+
.color-border-default, .borderColor-default { border-color: var(--borderColor-default, var(--color-border-default)) !important; }
|
60
|
+
.color-border-muted, .borderColor-muted { border-color: var(--borderColor-muted, var(--color-border-muted)) !important; }
|
61
|
+
.color-border-subtle { border-color: var(--borderColor-muted, var(--color-border-subtle)) !important; }
|
63
62
|
|
64
|
-
.color-border-accent { border-color: var(--color-accent-muted) !important; }
|
65
|
-
.color-border-accent-emphasis { border-color: var(--color-accent-emphasis) !important; }
|
63
|
+
.color-border-accent, .borderColor-accent-muted { border-color: var(--borderColor-accent-muted, var(--color-accent-muted)) !important; }
|
64
|
+
.color-border-accent-emphasis, .borderColor-accent-emphasis { border-color: var(--borderColor-accent-emphasis, var(--color-accent-emphasis)) !important; }
|
66
65
|
|
67
|
-
.color-border-success { border-color: var(--color-success-muted) !important; }
|
68
|
-
.color-border-success-emphasis { border-color: var(--color-success-emphasis) !important; }
|
66
|
+
.color-border-success, .borderColor-success-muted { border-color: var(--borderColor-success-muted, var(--color-success-muted)) !important; }
|
67
|
+
.color-border-success-emphasis, .borderColor-success-emphasis { border-color: var(--borderColor-success-emphasis, var(--color-success-emphasis)) !important; }
|
69
68
|
|
70
|
-
.color-border-attention { border-color: var(--color-attention-muted) !important; }
|
71
|
-
.color-border-attention-emphasis { border-color: var(--color-attention-emphasis) !important; }
|
69
|
+
.color-border-attention, .borderColor-attention-muted { border-color: var(--borderColor-attention-muted, var(--color-attention-muted)) !important; }
|
70
|
+
.color-border-attention-emphasis, .borderColor-attention-emphasis { border-color: var(--borderColor-attention-emphasis, var(--color-attention-emphasis)) !important; }
|
72
71
|
|
73
|
-
.color-border-severe { border-color: var(--color-severe-muted) !important; }
|
74
|
-
.color-border-severe-emphasis { border-color: var(--color-severe-emphasis) !important; }
|
72
|
+
.color-border-severe, .borderColor-severe-muted { border-color: var(--borderColor-severe-muted, var(--color-severe-muted)) !important; }
|
73
|
+
.color-border-severe-emphasis, .borderColor-severe-emphasis { border-color: var(--borderColor-severe-emphasis, var(--color-severe-emphasis)) !important; }
|
75
74
|
|
76
|
-
.color-border-danger { border-color: var(--color-danger-muted) !important; }
|
77
|
-
.color-border-danger-emphasis { border-color: var(--color-danger-emphasis) !important; }
|
75
|
+
.color-border-danger, .borderColor-danger-muted { border-color: var(--borderColor-danger-muted, var(--color-danger-muted)) !important; }
|
76
|
+
.color-border-danger-emphasis, .borderColor-danger-emphasis { border-color: var(--borderColor-danger-emphasis, var(--color-danger-emphasis)) !important; }
|
78
77
|
|
79
|
-
.color-border-open { border-color: var(--color-open-muted) !important; }
|
80
|
-
.color-border-open-emphasis { border-color: var(--color-open-emphasis) !important; }
|
78
|
+
.color-border-open, .borderColor-open-muted { border-color: var(--borderColor-open-muted, var(--color-open-muted)) !important; }
|
79
|
+
.color-border-open-emphasis, .borderColor-open-emphasis { border-color: var(--borderColor-open-emphasis, var(--color-open-emphasis)) !important; }
|
81
80
|
|
82
|
-
.color-border-closed { border-color: var(--color-closed-muted) !important; }
|
83
|
-
.color-border-closed-emphasis { border-color: var(--color-closed-emphasis) !important; }
|
81
|
+
.color-border-closed, .borderColor-closed-muted { border-color: var(--borderColor-closed-muted, var(--color-closed-muted)) !important; }
|
82
|
+
.color-border-closed-emphasis, .borderColor-closed-emphasis { border-color: var(--borderColor-closed-emphasis, var(--color-closed-emphasis)) !important; }
|
84
83
|
|
85
|
-
.color-border-done { border-color: var(--color-done-muted) !important; }
|
86
|
-
.color-border-done-emphasis { border-color: var(--color-done-emphasis) !important; }
|
84
|
+
.color-border-done, .borderColor-done-muted { border-color: var(--borderColor-done-muted, var(--color-done-muted)) !important; }
|
85
|
+
.color-border-done-emphasis, .borderColor-done-emphasis { border-color: var(--borderColor-done-emphasis, var(--color-done-emphasis)) !important; }
|
87
86
|
|
88
|
-
.color-border-sponsors { border-color: var(--color-sponsors-muted) !important; }
|
89
|
-
.color-border-sponsors-emphasis { border-color: var(--color-sponsors-emphasis) !important; }
|
87
|
+
.color-border-sponsors, .borderColor-sponsors-muted { border-color: var(--borderColor-sponsors-muted, var(--color-sponsors-muted)) !important; }
|
88
|
+
.color-border-sponsors-emphasis, .borderColor-sponsors-emphasis { border-color: var(--borderColor-sponsors-emphasis, var(--color-sponsors-emphasis)) !important; }
|
90
89
|
|
91
90
|
// Misc
|
92
91
|
|
93
|
-
.color-fg-inherit {
|
92
|
+
.color-fg-inherit, .fgColor-inherit {
|
94
93
|
color: inherit !important;
|
95
94
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// Layout
|
2
|
-
// stylelint-disable
|
2
|
+
// stylelint-disable comment-empty-line-before
|
3
3
|
|
4
4
|
/* Position */
|
5
5
|
@each $breakpoint, $variant in $responsive-variants {
|
@@ -71,13 +71,15 @@
|
|
71
71
|
// Width and height utilities, helpful in combination
|
72
72
|
// with display-table utilities and images
|
73
73
|
/* Max width 100% */
|
74
|
-
.width-fit
|
74
|
+
.width-fit { max-width: 100% !important; }
|
75
75
|
/* Set the width to 100% */
|
76
|
-
.width-full
|
76
|
+
.width-full { width: 100% !important; }
|
77
|
+
/* Set the max-width to 65 characters */
|
78
|
+
.width-comfortable { max-width: 65ch !important; }
|
77
79
|
/* Max height 100% */
|
78
|
-
.height-fit
|
80
|
+
.height-fit { max-height: 100% !important; }
|
79
81
|
/* Set the height to 100% */
|
80
|
-
.height-full
|
82
|
+
.height-full { height: 100% !important; }
|
81
83
|
|
82
84
|
/* Remove min-width from element */
|
83
85
|
.min-width-0 { min-width: 0 !important; }
|
@@ -66,7 +66,7 @@
|
|
66
66
|
.h4,
|
67
67
|
.h5,
|
68
68
|
.h6 {
|
69
|
-
font-weight:
|
69
|
+
font-weight: $font-weight-bold !important;
|
70
70
|
}
|
71
71
|
|
72
72
|
// Type utilities that match type sale
|
@@ -120,7 +120,7 @@
|
|
120
120
|
/* Set the font size to 40px and weight to light */
|
121
121
|
.f00-light {
|
122
122
|
font-size: var(--h00-size-mobile, $h00-size-mobile) !important;
|
123
|
-
font-weight:
|
123
|
+
font-weight: $font-weight-light !important;
|
124
124
|
|
125
125
|
@include breakpoint(md) {
|
126
126
|
font-size: var(--h00-size, $h00-size) !important;
|
@@ -130,7 +130,7 @@
|
|
130
130
|
/* Set the font size to 32px and weight to light */
|
131
131
|
.f0-light {
|
132
132
|
font-size: var(--h0-size-mobile, $h0-size-mobile) !important;
|
133
|
-
font-weight:
|
133
|
+
font-weight: $font-weight-light !important;
|
134
134
|
|
135
135
|
@include breakpoint(md) {
|
136
136
|
font-size: var(--h0-size, $h0-size) !important;
|
@@ -140,7 +140,7 @@
|
|
140
140
|
/* Set the font size to 26px and weight to light */
|
141
141
|
.f1-light {
|
142
142
|
font-size: var(--h1-size-mobile, $h1-size-mobile) !important;
|
143
|
-
font-weight:
|
143
|
+
font-weight: $font-weight-light !important;
|
144
144
|
|
145
145
|
@include breakpoint(md) {
|
146
146
|
font-size: var(--h1-size, $h1-size) !important;
|
@@ -150,7 +150,7 @@
|
|
150
150
|
/* Set the font size to 22px and weight to light */
|
151
151
|
.f2-light {
|
152
152
|
font-size: var(--h2-size-mobile, $h2-size-mobile) !important;
|
153
|
-
font-weight:
|
153
|
+
font-weight: $font-weight-light !important;
|
154
154
|
|
155
155
|
@include breakpoint(md) {
|
156
156
|
font-size: var(--h2-size, $h2-size) !important;
|
@@ -161,7 +161,7 @@
|
|
161
161
|
/* Set the font size to 18px and weight to light */
|
162
162
|
.f3-light {
|
163
163
|
font-size: var(--h3-size-mobile, $h3-size-mobile) !important;
|
164
|
-
font-weight:
|
164
|
+
font-weight: $font-weight-light !important;
|
165
165
|
|
166
166
|
@include breakpoint(md) {
|
167
167
|
font-size: var(--h3-size, $h3-size) !important;
|
@@ -181,7 +181,7 @@
|
|
181
181
|
// stylelint-disable-next-line primer/spacing
|
182
182
|
margin-bottom: 30px;
|
183
183
|
font-size: var(--h3-size, $h3-size);
|
184
|
-
font-weight:
|
184
|
+
font-weight: $font-weight-light;
|
185
185
|
}
|
186
186
|
|
187
187
|
// Line-height variations
|
@@ -308,7 +308,7 @@
|
|
308
308
|
}
|
309
309
|
|
310
310
|
.text-emphasized {
|
311
|
-
font-weight:
|
311
|
+
font-weight: $font-weight-bold;
|
312
312
|
}
|
313
313
|
|
314
314
|
// List styles
|
@@ -107,17 +107,18 @@
|
|
107
107
|
|
108
108
|
// Only display content on focus
|
109
109
|
.show-on-focus {
|
110
|
-
position: absolute;
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
110
|
+
position: absolute !important;
|
111
|
+
|
112
|
+
&:not(:focus) {
|
113
|
+
width: 1px !important;
|
114
|
+
height: 1px !important;
|
115
|
+
padding: 0 !important;
|
116
|
+
overflow: hidden !important;
|
117
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
118
|
+
border: 0 !important;
|
119
|
+
}
|
116
120
|
|
117
121
|
&:focus {
|
118
122
|
z-index: 999;
|
119
|
-
width: auto;
|
120
|
-
height: auto;
|
121
|
-
clip: auto;
|
122
123
|
}
|
123
124
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
$base-size-4: 0.25rem;
|
2
|
+
$base-size-8: 0.5rem;
|
3
|
+
$base-size-12: 0.75rem;
|
4
|
+
$base-size-16: 1rem;
|
5
|
+
$base-size-20: 1.25rem;
|
6
|
+
$base-size-24: 1.5rem;
|
7
|
+
$base-size-28: 1.75rem;
|
8
|
+
$base-size-32: 2rem;
|
9
|
+
$base-size-36: 2.25rem;
|
10
|
+
$base-size-40: 2.5rem;
|
11
|
+
$base-size-44: 2.75rem;
|
12
|
+
$base-size-48: 3rem;
|
13
|
+
$base-size-64: 4rem;
|
14
|
+
$base-size-80: 5rem;
|
15
|
+
$base-size-96: 6rem;
|
16
|
+
$base-size-112: 7rem;
|
17
|
+
$base-size-128: 8rem;
|