From 8d029c42876c2845fd59f5ab60dd31252dcdc515 Mon Sep 17 00:00:00 2001 From: Actions Auto Build Date: Thu, 28 Oct 2021 17:06:08 +0000 Subject: [PATCH] Stylelint auto-fixes --- src/alerts/index.scss | 4 ++-- src/autocomplete/index.scss | 6 +++--- src/autocomplete/suggester.scss | 2 +- src/avatars/avatar-stack.scss | 2 +- src/avatars/circle-badge.scss | 2 +- src/avatars/index.scss | 10 +++++----- src/base/index.scss | 12 +++++------ src/blankslate/index.scss | 4 ++-- src/box/index.scss | 4 ++-- src/branch-name/index.scss | 4 ++-- src/breadcrumb/index.scss | 4 ++-- src/buttons/index.scss | 8 ++++---- src/color-modes/index.scss | 14 ++++++------- src/core/index.scss | 28 +++++++++++++------------- src/dropdown/dropdown.scss | 8 ++++---- src/dropdown/index.scss | 4 ++-- src/forms/form-group.scss | 4 ++-- src/forms/form-select.scss | 4 ++-- src/forms/form-validation.scss | 18 ++++++++--------- src/forms/index.scss | 14 ++++++------- src/header/index.scss | 4 ++-- src/labels/index.scss | 14 ++++++------- src/layout/grid.scss | 2 +- src/layout/index.scss | 12 +++++------ src/layout/layout.scss | 2 +- src/links/index.scss | 4 ++-- src/links/link.scss | 2 +- src/loaders/index.scss | 4 ++-- src/loaders/loaders.scss | 2 +- src/markdown/footnotes.scss | 2 +- src/markdown/index.scss | 18 ++++++++--------- src/markdown/lists.scss | 6 +++--- src/markdown/markdown-body.scss | 8 ++++---- src/marketing/index.scss | 8 ++++---- src/navigation/index.scss | 14 ++++++------- src/navigation/menu.scss | 2 +- src/navigation/sidenav.scss | 6 +++--- src/pagination/index.scss | 4 ++-- src/pagination/pagination.scss | 2 +- src/popover/index.scss | 4 ++-- src/popover/popover.scss | 2 +- src/product/index.scss | 34 ++++++++++++++++---------------- src/progress/index.scss | 4 ++-- src/select-menu/index.scss | 4 ++-- src/select-menu/select-menu.scss | 6 +++--- src/subhead/index.scss | 4 ++-- src/support/index.scss | 14 ++++++------- src/table-object/index.scss | 2 +- src/timeline/index.scss | 4 ++-- src/timeline/timeline-item.scss | 2 +- src/toasts/index.scss | 4 ++-- src/tooltips/index.scss | 4 ++-- src/tooltips/tooltips.scss | 2 +- src/truncate/index.scss | 4 ++-- src/utilities/details.scss | 2 +- src/utilities/index.scss | 24 +++++++++++----------- 56 files changed, 196 insertions(+), 196 deletions(-) diff --git a/src/alerts/index.scss b/src/alerts/index.scss index 0c4b746f27..033fb3b177 100644 --- a/src/alerts/index.scss +++ b/src/alerts/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./flash.scss"; +@import '../support/index.scss'; +@import './flash.scss'; diff --git a/src/autocomplete/index.scss b/src/autocomplete/index.scss index f311c0ce46..5eb68a366e 100644 --- a/src/autocomplete/index.scss +++ b/src/autocomplete/index.scss @@ -1,4 +1,4 @@ // support files -@import "../support/index.scss"; -@import "./autocomplete.scss"; -@import "./suggester.scss"; +@import '../support/index.scss'; +@import './autocomplete.scss'; +@import './suggester.scss'; diff --git a/src/autocomplete/suggester.scss b/src/autocomplete/suggester.scss index 954cad3e61..87baf4dd9c 100644 --- a/src/autocomplete/suggester.scss +++ b/src/autocomplete/suggester.scss @@ -52,7 +52,7 @@ } } - &[aria-selected="true"], + &[aria-selected='true'], &.navigation-focus { color: var(--color-fg-on-emphasis); text-decoration: none; diff --git a/src/avatars/avatar-stack.scss b/src/avatars/avatar-stack.scss index e445b99554..6593838ade 100644 --- a/src/avatars/avatar-stack.scss +++ b/src/avatars/avatar-stack.scss @@ -89,7 +89,7 @@ position: absolute; display: block; height: 20px; - content: ""; + content: ''; // stylelint-disable-next-line primer/borders border-radius: 2px; outline: $border-width $border-style var(--color-canvas-default); diff --git a/src/avatars/circle-badge.scss b/src/avatars/circle-badge.scss index 2bc5d7f680..657bbc931a 100644 --- a/src/avatars/circle-badge.scss +++ b/src/avatars/circle-badge.scss @@ -44,7 +44,7 @@ top: 50%; left: 0; width: 100%; - content: ""; + content: ''; // stylelint-disable-next-line primer/borders border-bottom: 2px dashed var(--color-border-default); } diff --git a/src/avatars/index.scss b/src/avatars/index.scss index f5dfa93b76..2ddedec958 100644 --- a/src/avatars/index.scss +++ b/src/avatars/index.scss @@ -1,7 +1,7 @@ -@import "../support/index.scss"; +@import '../support/index.scss'; // Avatars -@import "./avatar.scss"; -@import "./avatar-parent-child.scss"; -@import "./avatar-stack.scss"; -@import "./circle-badge.scss"; +@import './avatar.scss'; +@import './avatar-parent-child.scss'; +@import './avatar-stack.scss'; +@import './circle-badge.scss'; diff --git a/src/base/index.scss b/src/base/index.scss index 3751e62e59..c9a0de1b8f 100644 --- a/src/base/index.scss +++ b/src/base/index.scss @@ -1,7 +1,7 @@ -@import "../support/index.scss"; +@import '../support/index.scss'; -@import "./normalize.scss"; -@import "./base.scss"; -@import "./kbd.scss"; -@import "./typography-base.scss"; -@import "./octicons.scss"; +@import './normalize.scss'; +@import './base.scss'; +@import './kbd.scss'; +@import './typography-base.scss'; +@import './octicons.scss'; diff --git a/src/blankslate/index.scss b/src/blankslate/index.scss index 9fda17f2cb..46b7f4c77a 100644 --- a/src/blankslate/index.scss +++ b/src/blankslate/index.scss @@ -1,3 +1,3 @@ -@import "../support/index.scss"; +@import '../support/index.scss'; -@import "./blankslate.scss"; +@import './blankslate.scss'; diff --git a/src/box/index.scss b/src/box/index.scss index f4157bac9c..45ad19db36 100644 --- a/src/box/index.scss +++ b/src/box/index.scss @@ -1,2 +1,2 @@ -@import "../support/index.scss"; -@import "./box.scss"; +@import '../support/index.scss'; +@import './box.scss'; diff --git a/src/branch-name/index.scss b/src/branch-name/index.scss index 3413cc59b9..536a69840b 100644 --- a/src/branch-name/index.scss +++ b/src/branch-name/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./branch-name.scss"; +@import '../support/index.scss'; +@import './branch-name.scss'; diff --git a/src/breadcrumb/index.scss b/src/breadcrumb/index.scss index 2b95a88543..bad6ce5e3e 100644 --- a/src/breadcrumb/index.scss +++ b/src/breadcrumb/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./breadcrumb.scss"; +@import '../support/index.scss'; +@import './breadcrumb.scss'; diff --git a/src/buttons/index.scss b/src/buttons/index.scss index fcb71f35f6..0b8c5aa7e6 100644 --- a/src/buttons/index.scss +++ b/src/buttons/index.scss @@ -1,4 +1,4 @@ -@import "../support/index.scss"; -@import "./button.scss"; -@import "./button-group.scss"; -@import "./misc.scss"; +@import '../support/index.scss'; +@import './button.scss'; +@import './button-group.scss'; +@import './misc.scss'; diff --git a/src/color-modes/index.scss b/src/color-modes/index.scss index fe4c9d52d3..f3dac3b716 100644 --- a/src/color-modes/index.scss +++ b/src/color-modes/index.scss @@ -1,9 +1,9 @@ // All themes -@import "./themes/light.scss"; -@import "./themes/light_colorblind.scss"; -@import "./themes/dark.scss"; -@import "./themes/dark_dimmed.scss"; -@import "./themes/dark_high_contrast.scss"; -@import "./themes/dark_colorblind.scss"; -@import "./native.scss"; +@import './themes/light.scss'; +@import './themes/light_colorblind.scss'; +@import './themes/dark.scss'; +@import './themes/dark_dimmed.scss'; +@import './themes/dark_high_contrast.scss'; +@import './themes/dark_colorblind.scss'; +@import './native.scss'; diff --git a/src/core/index.scss b/src/core/index.scss index 53f9483d3e..276fa56b17 100644 --- a/src/core/index.scss +++ b/src/core/index.scss @@ -6,23 +6,23 @@ */ // Global requirements -@import "../support/index.scss"; +@import '../support/index.scss'; // Color modes // Core modules -@import "../base/index.scss"; -@import "../box/index.scss"; -@import "../breadcrumb/index.scss"; -@import "../buttons/index.scss"; -@import "../table-object/index.scss"; -@import "../forms/index.scss"; -@import "../layout/index.scss"; -@import "../links/index.scss"; -@import "../navigation/index.scss"; -@import "../pagination/index.scss"; -@import "../tooltips/index.scss"; -@import "../truncate/index.scss"; +@import '../base/index.scss'; +@import '../box/index.scss'; +@import '../breadcrumb/index.scss'; +@import '../buttons/index.scss'; +@import '../table-object/index.scss'; +@import '../forms/index.scss'; +@import '../layout/index.scss'; +@import '../links/index.scss'; +@import '../navigation/index.scss'; +@import '../pagination/index.scss'; +@import '../tooltips/index.scss'; +@import '../truncate/index.scss'; // Utilities always go last so that they can override components -@import "../utilities/index.scss"; +@import '../utilities/index.scss'; diff --git a/src/dropdown/dropdown.scss b/src/dropdown/dropdown.scss index 418f0e25c6..4789eccd0c 100644 --- a/src/dropdown/dropdown.scss +++ b/src/dropdown/dropdown.scss @@ -7,7 +7,7 @@ width: 0; height: 0; vertical-align: middle; - content: ""; + content: ''; border-style: $border-style; // stylelint-disable-next-line primer/borders border-width: $spacer-1 $spacer-1 0; @@ -40,7 +40,7 @@ &::after { position: absolute; display: inline-block; - content: ""; + content: ''; } // caret border @@ -94,7 +94,7 @@ opacity: 1; } - [class*="color-text-"] { + [class*='color-text-'] { color: inherit !important; } @@ -130,7 +130,7 @@ color: var(--color-fg-muted); } -.dropdown-item[aria-checked="false"] .octicon-check { +.dropdown-item[aria-checked='false'] .octicon-check { display: none; } diff --git a/src/dropdown/index.scss b/src/dropdown/index.scss index 03e02499d5..c92b570be6 100644 --- a/src/dropdown/index.scss +++ b/src/dropdown/index.scss @@ -1,2 +1,2 @@ -@import "../support/index.scss"; -@import "./dropdown.scss"; +@import '../support/index.scss'; +@import './dropdown.scss'; diff --git a/src/forms/form-group.scss b/src/forms/form-group.scss index 29d44b3d05..2a50f84624 100644 --- a/src/forms/form-group.scss +++ b/src/forms/form-group.scss @@ -102,7 +102,7 @@ // stylelint-disable-next-line primer/spacing padding-left: 5px; color: var(--color-danger-fg); - content: "*"; + content: '*'; } } @@ -169,7 +169,7 @@ width: 0; height: 0; pointer-events: none; - content: " "; + content: ' '; // stylelint-disable-next-line primer/borders border: $border-style transparent; } diff --git a/src/forms/form-select.scss b/src/forms/form-select.scss index ad4682755c..77bbdf5cf1 100644 --- a/src/forms/form-select.scss +++ b/src/forms/form-select.scss @@ -8,7 +8,7 @@ padding-right: $spacer-4; background-color: var(--color-canvas-default); // SVG with fill: #586069 (--color-icon-secondary) - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0iIzU4NjA2OSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNC40MjcgOS40MjdsMy4zOTYgMy4zOTZhLjI1MS4yNTEgMCAwMC4zNTQgMGwzLjM5Ni0zLjM5NkEuMjUuMjUgMCAwMDExLjM5NiA5SDQuNjA0YS4yNS4yNSAwIDAwLS4xNzcuNDI3ek00LjQyMyA2LjQ3TDcuODIgMy4wNzJhLjI1LjI1IDAgMDEuMzU0IDBMMTEuNTcgNi40N2EuMjUuMjUgMCAwMS0uMTc3LjQyN0g0LjZhLjI1LjI1IDAgMDEtLjE3Ny0uNDI3eiIgLz48L3N2Zz4="); + background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0iIzU4NjA2OSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNC40MjcgOS40MjdsMy4zOTYgMy4zOTZhLjI1MS4yNTEgMCAwMC4zNTQgMGwzLjM5Ni0zLjM5NkEuMjUuMjUgMCAwMDExLjM5NiA5SDQuNjA0YS4yNS4yNSAwIDAwLS4xNzcuNDI3ek00LjQyMyA2LjQ3TDcuODIgMy4wNzJhLjI1LjI1IDAgMDEuMzU0IDBMMTEuNTcgNi40N2EuMjUuMjUgMCAwMS0uMTc3LjQyN0g0LjZhLjI1LjI1IDAgMDEtLjE3Ny0uNDI3eiIgLz48L3N2Zz4='); background-repeat: no-repeat; background-position: right 4px center; background-size: 16px; @@ -27,7 +27,7 @@ @include color-mode(dark) { .form-select { // SVG with fill: #6e7681 (--color-icon-secondary) - background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0iIzZlNzY4MSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNC40MjcgOS40MjdsMy4zOTYgMy4zOTZhLjI1MS4yNTEgMCAwMC4zNTQgMGwzLjM5Ni0zLjM5NkEuMjUuMjUgMCAwMDExLjM5NiA5SDQuNjA0YS4yNS4yNSAwIDAwLS4xNzcuNDI3ek00LjQyMyA2LjQ3TDcuODIgMy4wNzJhLjI1LjI1IDAgMDEuMzU0IDBMMTEuNTcgNi40N2EuMjUuMjUgMCAwMS0uMTc3LjQyN0g0LjZhLjI1LjI1IDAgMDEtLjE3Ny0uNDI3eiIgLz48L3N2Zz4="); + background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0iIzZlNzY4MSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNC40MjcgOS40MjdsMy4zOTYgMy4zOTZhLjI1MS4yNTEgMCAwMC4zNTQgMGwzLjM5Ni0zLjM5NkEuMjUuMjUgMCAwMDExLjM5NiA5SDQuNjA0YS4yNS4yNSAwIDAwLS4xNzcuNDI3ek00LjQyMyA2LjQ3TDcuODIgMy4wNzJhLjI1LjI1IDAgMDEuMzU0IDBMMTEuNTcgNi40N2EuMjUuMjUgMCAwMS0uMTc3LjQyN0g0LjZhLjI1LjI1IDAgMDEtLjE3Ny0uNDI3eiIgLz48L3N2Zz4='); } } diff --git a/src/forms/form-validation.scss b/src/forms/form-validation.scss index 2da647b6f8..712a68a983 100644 --- a/src/forms/form-validation.scss +++ b/src/forms/form-validation.scss @@ -11,15 +11,15 @@ dl.form-group > dd, // TODO: Deprecate } &.is-autocheck-loading { - background-image: url("/images/spinners/octocat-spinner-16px.gif"); + background-image: url('/images/spinners/octocat-spinner-16px.gif'); } &.is-autocheck-successful { - background-image: url("/images/modules/ajax/success.png"); + background-image: url('/images/modules/ajax/success.png'); } &.is-autocheck-errored { - background-image: url("/images/modules/ajax/error.png"); + background-image: url('/images/modules/ajax/error.png'); } } } @@ -36,15 +36,15 @@ dl.form-group > dd, // TODO: Deprecate } &.is-autocheck-loading { - background-image: url("/images/spinners/octocat-spinner-32.gif"); + background-image: url('/images/spinners/octocat-spinner-32.gif'); } &.is-autocheck-successful { - background-image: url("/images/modules/ajax/success@2x.png"); + background-image: url('/images/modules/ajax/success@2x.png'); } &.is-autocheck-errored { - background-image: url("/images/modules/ajax/error@2x.png"); + background-image: url('/images/modules/ajax/error@2x.png'); } } } @@ -67,7 +67,7 @@ dl.form-group > dd, // TODO: Deprecate .status-indicator-success { // Override primer &::before { - content: ""; + content: ''; } .octicon-check { @@ -84,7 +84,7 @@ dl.form-group > dd, // TODO: Deprecate .status-indicator-failed { // Override primer &::before { - content: ""; + content: ''; } .octicon-check { @@ -100,7 +100,7 @@ dl.form-group > dd, // TODO: Deprecate .status-indicator-loading { width: 16px; - background-image: url("/images/spinners/octocat-spinner-32-EAF2F5.gif"); + background-image: url('/images/spinners/octocat-spinner-32-EAF2F5.gif'); background-repeat: no-repeat; background-position: 0 0; background-size: 16px; diff --git a/src/forms/index.scss b/src/forms/index.scss index aab50b741a..11af7688af 100644 --- a/src/forms/index.scss +++ b/src/forms/index.scss @@ -1,7 +1,7 @@ -@import "../support/index.scss"; -@import "./form-control.scss"; -@import "./form-select.scss"; -@import "./form-group.scss"; -@import "./form-validation.scss"; -@import "./input-group.scss"; -@import "./radio-group.scss"; +@import '../support/index.scss'; +@import './form-control.scss'; +@import './form-select.scss'; +@import './form-group.scss'; +@import './form-validation.scss'; +@import './input-group.scss'; +@import './radio-group.scss'; diff --git a/src/header/index.scss b/src/header/index.scss index 2301d32b78..d6a1d0b485 100644 --- a/src/header/index.scss +++ b/src/header/index.scss @@ -1,2 +1,2 @@ -@import "../support/index.scss"; -@import "./header.scss"; +@import '../support/index.scss'; +@import './header.scss'; diff --git a/src/labels/index.scss b/src/labels/index.scss index 8b27ab8285..ee15ed5af0 100644 --- a/src/labels/index.scss +++ b/src/labels/index.scss @@ -1,8 +1,8 @@ -@import "../support/index.scss"; -@import "./mixins.scss"; +@import '../support/index.scss'; +@import './mixins.scss'; -@import "./issue-labels.scss"; -@import "./labels.scss"; -@import "./states.scss"; -@import "./counters.scss"; -@import "./diffstat.scss"; +@import './issue-labels.scss'; +@import './labels.scss'; +@import './states.scss'; +@import './counters.scss'; +@import './diffstat.scss'; diff --git a/src/layout/grid.scss b/src/layout/grid.scss index 91227d43ee..58158a0598 100644 --- a/src/layout/grid.scss +++ b/src/layout/grid.scss @@ -37,7 +37,7 @@ margin-right: -$gutter-width; margin-left: -$gutter-width; - > [class*="col-"] { + > [class*='col-'] { padding-right: $gutter-width !important; padding-left: $gutter-width !important; } diff --git a/src/layout/index.scss b/src/layout/index.scss index 43f74f180f..7172a37057 100644 --- a/src/layout/index.scss +++ b/src/layout/index.scss @@ -1,7 +1,7 @@ -@import "../support/index.scss"; -@import "./mixins.scss"; +@import '../support/index.scss'; +@import './mixins.scss'; -@import "./container.scss"; -@import "./grid.scss"; -@import "./grid-offset.scss"; -@import "./layout.scss"; +@import './container.scss'; +@import './grid.scss'; +@import './grid-offset.scss'; +@import './layout.scss'; diff --git a/src/layout/layout.scss b/src/layout/layout.scss index 8f0e6a78f3..44c261a129 100644 --- a/src/layout/layout.scss +++ b/src/layout/layout.scss @@ -2,7 +2,7 @@ .Layout { display: grid; - --Layout-sidebar-width: #{map-get($sidebar-width, "sm")}; + --Layout-sidebar-width: #{map-get($sidebar-width, 'sm')}; --Layout-gutter: 16px; @media (max-width: calc(#{$width-sm} - 1px)) { diff --git a/src/links/index.scss b/src/links/index.scss index 54b500d777..f5dd46203d 100644 --- a/src/links/index.scss +++ b/src/links/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./link.scss"; +@import '../support/index.scss'; +@import './link.scss'; diff --git a/src/links/link.scss b/src/links/link.scss index 3e5c2d3846..613218aa2b 100644 --- a/src/links/link.scss +++ b/src/links/link.scss @@ -49,7 +49,7 @@ .Link--secondary, .Link--primary, .Link--muted { - &:hover [class*="color-text"] { + &:hover [class*='color-text'] { color: inherit !important; } } diff --git a/src/loaders/index.scss b/src/loaders/index.scss index c615f3a51f..d4a8afc1ee 100644 --- a/src/loaders/index.scss +++ b/src/loaders/index.scss @@ -1,2 +1,2 @@ -@import "../support/index.scss"; -@import "./loaders.scss"; +@import '../support/index.scss'; +@import './loaders.scss'; diff --git a/src/loaders/loaders.scss b/src/loaders/loaders.scss index cca2f68cd8..c0c589adc8 100644 --- a/src/loaders/loaders.scss +++ b/src/loaders/loaders.scss @@ -9,7 +9,7 @@ &::after { display: inline-block; - content: "..."; + content: '...'; animation: AnimatedEllipsis-keyframes 1.2s steps(4, jump-none) infinite; } diff --git a/src/markdown/footnotes.scss b/src/markdown/footnotes.scss index 1afe6b60bb..2e08517121 100644 --- a/src/markdown/footnotes.scss +++ b/src/markdown/footnotes.scss @@ -21,7 +21,7 @@ bottom: -$spacer-2; left: -$spacer-4; pointer-events: none; - content: ""; + content: ''; // stylelint-disable-next-line primer/borders border: 2px $border-style var(--color-accent-emphasis); border-radius: $border-radius; diff --git a/src/markdown/index.scss b/src/markdown/index.scss index 4b33529c2b..b0838f87e6 100644 --- a/src/markdown/index.scss +++ b/src/markdown/index.scss @@ -1,9 +1,9 @@ -@import "../support/index.scss"; -@import "./markdown-body.scss"; -@import "./headings.scss"; -@import "./lists.scss"; -@import "./tables.scss"; -@import "./images.scss"; -@import "./code.scss"; -@import "./blob-csv.scss"; -@import "./footnotes.scss"; +@import '../support/index.scss'; +@import './markdown-body.scss'; +@import './headings.scss'; +@import './lists.scss'; +@import './tables.scss'; +@import './images.scss'; +@import './code.scss'; +@import './blob-csv.scss'; +@import './footnotes.scss'; diff --git a/src/markdown/lists.scss b/src/markdown/lists.scss index f61233c03a..f2cfbe5bc1 100644 --- a/src/markdown/lists.scss +++ b/src/markdown/lists.scss @@ -14,15 +14,15 @@ } } - ol[type="1"] { + ol[type='1'] { list-style-type: decimal; } - ol[type="a"] { + ol[type='a'] { list-style-type: lower-alpha; } - ol[type="i"] { + ol[type='i'] { list-style-type: lower-roman; } diff --git a/src/markdown/markdown-body.scss b/src/markdown/markdown-body.scss index e5423e0e39..7fe4c96a84 100644 --- a/src/markdown/markdown-body.scss +++ b/src/markdown/markdown-body.scss @@ -13,13 +13,13 @@ // Clearfix on the markdown body &::before { display: table; - content: ""; + content: ''; } &::after { display: table; clear: both; - content: ""; + content: ''; } > *:first-child { @@ -95,10 +95,10 @@ } sup > a::before { - content: "["; + content: '['; } sup > a::after { - content: "]"; + content: ']'; } } diff --git a/src/marketing/index.scss b/src/marketing/index.scss index c84f8a52b0..cd476792a8 100755 --- a/src/marketing/index.scss +++ b/src/marketing/index.scss @@ -6,9 +6,9 @@ */ // Global requirements -@import "./support/index.scss"; +@import './support/index.scss'; // marketing specific css modules -@import "./type/index.scss"; -@import "./buttons/index.scss"; -@import "./utilities/index.scss"; +@import './type/index.scss'; +@import './buttons/index.scss'; +@import './utilities/index.scss'; diff --git a/src/navigation/index.scss b/src/navigation/index.scss index c3002c5a68..12353b9889 100644 --- a/src/navigation/index.scss +++ b/src/navigation/index.scss @@ -1,8 +1,8 @@ -@import "../support/index.scss"; +@import '../support/index.scss'; // Navigation -@import "./menu.scss"; -@import "./tabnav.scss"; -@import "./filter-list.scss"; -@import "./sidenav.scss"; -@import "./subnav.scss"; -@import "./underline-nav.scss"; +@import './menu.scss'; +@import './tabnav.scss'; +@import './filter-list.scss'; +@import './sidenav.scss'; +@import './subnav.scss'; +@import './underline-nav.scss'; diff --git a/src/navigation/menu.scss b/src/navigation/menu.scss index 7a0ede8ae4..5159b494f6 100644 --- a/src/navigation/menu.scss +++ b/src/navigation/menu.scss @@ -60,7 +60,7 @@ bottom: 0; left: 0; width: 2px; - content: ""; + content: ''; background-color: var(--color-primer-border-active); } } diff --git a/src/navigation/sidenav.scss b/src/navigation/sidenav.scss index fe0595ffcd..275527973d 100644 --- a/src/navigation/sidenav.scss +++ b/src/navigation/sidenav.scss @@ -37,7 +37,7 @@ z-index: 1; width: 2px; pointer-events: none; - content: ""; + content: ''; } } @@ -60,7 +60,7 @@ } .SideNav-item[aria-current]:not([aria-current=false]), -.SideNav-item[aria-selected="true"] { +.SideNav-item[aria-selected='true'] { background-color: var(--color-sidenav-selected-bg); // Bar on the left @@ -102,7 +102,7 @@ } .SideNav-subItem[aria-current]:not([aria-current=false]), -.SideNav-subItem[aria-selected="true"] { +.SideNav-subItem[aria-selected='true'] { font-weight: $font-weight-semibold; color: var(--color-fg-default); } diff --git a/src/pagination/index.scss b/src/pagination/index.scss index c624f95138..7e923b2bc1 100644 --- a/src/pagination/index.scss +++ b/src/pagination/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./pagination.scss"; +@import '../support/index.scss'; +@import './pagination.scss'; diff --git a/src/pagination/pagination.scss b/src/pagination/pagination.scss index 3df021230b..541efb68d8 100644 --- a/src/pagination/pagination.scss +++ b/src/pagination/pagination.scss @@ -67,7 +67,7 @@ width: 16px; height: 16px; vertical-align: text-bottom; - content: ""; + content: ''; // stylelint-disable-next-line primer/colors background-color: currentColor; } diff --git a/src/popover/index.scss b/src/popover/index.scss index 6fd595a1e3..17f888408c 100644 --- a/src/popover/index.scss +++ b/src/popover/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./popover.scss"; +@import '../support/index.scss'; +@import './popover.scss'; diff --git a/src/popover/popover.scss b/src/popover/popover.scss index 00b9bd56f7..6acdc88efc 100644 --- a/src/popover/popover.scss +++ b/src/popover/popover.scss @@ -15,7 +15,7 @@ position: absolute; left: 50%; display: inline-block; - content: ""; + content: ''; } &::before { diff --git a/src/product/index.scss b/src/product/index.scss index 89263f9d4e..38430eb4ca 100644 --- a/src/product/index.scss +++ b/src/product/index.scss @@ -6,22 +6,22 @@ */ // Global requirements -@import "../support/index.scss"; +@import '../support/index.scss'; // Product specific css modules -@import "../alerts/index.scss"; -@import "../autocomplete/index.scss"; -@import "../avatars/index.scss"; -@import "../blankslate/index.scss"; -@import "../branch-name/index.scss"; -@import "../dropdown/index.scss"; -@import "../header/index.scss"; -@import "../labels/index.scss"; -@import "../loaders/index.scss"; -@import "../markdown/index.scss"; -@import "../popover/index.scss"; -@import "../progress/index.scss"; -@import "../select-menu/index.scss"; -@import "../subhead/index.scss"; -@import "../timeline/index.scss"; -@import "../toasts/index.scss" +@import '../alerts/index.scss'; +@import '../autocomplete/index.scss'; +@import '../avatars/index.scss'; +@import '../blankslate/index.scss'; +@import '../branch-name/index.scss'; +@import '../dropdown/index.scss'; +@import '../header/index.scss'; +@import '../labels/index.scss'; +@import '../loaders/index.scss'; +@import '../markdown/index.scss'; +@import '../popover/index.scss'; +@import '../progress/index.scss'; +@import '../select-menu/index.scss'; +@import '../subhead/index.scss'; +@import '../timeline/index.scss'; +@import '../toasts/index.scss' diff --git a/src/progress/index.scss b/src/progress/index.scss index b04ea017c7..37805d8001 100644 --- a/src/progress/index.scss +++ b/src/progress/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./progress.scss"; +@import '../support/index.scss'; +@import './progress.scss'; diff --git a/src/select-menu/index.scss b/src/select-menu/index.scss index dd916e38c7..8d7e223c14 100644 --- a/src/select-menu/index.scss +++ b/src/select-menu/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./select-menu.scss"; +@import '../support/index.scss'; +@import './select-menu.scss'; diff --git a/src/select-menu/select-menu.scss b/src/select-menu/select-menu.scss index dbbf99aca9..1c78e6500a 100644 --- a/src/select-menu/select-menu.scss +++ b/src/select-menu/select-menu.scss @@ -40,7 +40,7 @@ $SelectMenu-max-height: 480px !default; bottom: 0; left: 0; pointer-events: none; - content: ""; + content: ''; background-color: var(--color-primer-canvas-backdrop); @include breakpoint(sm) { @@ -268,7 +268,7 @@ $SelectMenu-max-height: 480px !default; border-top-right-radius: $border-radius; } - &[aria-selected="true"] { + &[aria-selected='true'] { z-index: 1; // Keeps box-shadow visible when hovering color: var(--color-fg-default); cursor: default; @@ -438,7 +438,7 @@ $SelectMenu-max-height: 480px !default; color: var(--color-fg-default); } - .SelectMenu-tab:not([aria-selected="true"]):active { + .SelectMenu-tab:not([aria-selected='true']):active { color: var(--color-fg-default); background-color: var(--color-canvas-subtle); } diff --git a/src/subhead/index.scss b/src/subhead/index.scss index d0ed721b6b..792d9b4254 100644 --- a/src/subhead/index.scss +++ b/src/subhead/index.scss @@ -1,3 +1,3 @@ // support files -@import "../support/index.scss"; -@import "./subhead.scss"; +@import '../support/index.scss'; +@import './subhead.scss'; diff --git a/src/support/index.scss b/src/support/index.scss index 85a2c7c5bf..f90a8c065d 100644 --- a/src/support/index.scss +++ b/src/support/index.scss @@ -1,10 +1,10 @@ // variables -@import "./variables/typography.scss"; -@import "./variables/layout.scss"; -@import "./variables/misc.scss"; +@import './variables/typography.scss'; +@import './variables/layout.scss'; +@import './variables/misc.scss'; // mixins -@import "./mixins/color-modes.scss"; -@import "./mixins/typography.scss"; -@import "./mixins/layout.scss"; -@import "./mixins/misc.scss"; +@import './mixins/color-modes.scss'; +@import './mixins/typography.scss'; +@import './mixins/layout.scss'; +@import './mixins/misc.scss'; diff --git a/src/table-object/index.scss b/src/table-object/index.scss index 295bcfb485..14cb796ab5 100644 --- a/src/table-object/index.scss +++ b/src/table-object/index.scss @@ -1 +1 @@ -@import "./table-object.scss"; +@import './table-object.scss'; diff --git a/src/timeline/index.scss b/src/timeline/index.scss index 1692410ca2..6497dcb40c 100644 --- a/src/timeline/index.scss +++ b/src/timeline/index.scss @@ -1,2 +1,2 @@ -@import "../support/index.scss"; -@import "./timeline-item.scss"; +@import '../support/index.scss'; +@import './timeline-item.scss'; diff --git a/src/timeline/timeline-item.scss b/src/timeline/timeline-item.scss index 44db27fe0b..0c5b394068 100644 --- a/src/timeline/timeline-item.scss +++ b/src/timeline/timeline-item.scss @@ -12,7 +12,7 @@ left: 0; display: block; width: 2px; - content: ""; + content: ''; background-color: var(--color-border-muted); } diff --git a/src/toasts/index.scss b/src/toasts/index.scss index e982bf0efd..a2a80c0270 100644 --- a/src/toasts/index.scss +++ b/src/toasts/index.scss @@ -1,2 +1,2 @@ -@import "../support/index.scss"; -@import "./toasts.scss"; +@import '../support/index.scss'; +@import './toasts.scss'; diff --git a/src/tooltips/index.scss b/src/tooltips/index.scss index e595fe2abe..60d3469754 100644 --- a/src/tooltips/index.scss +++ b/src/tooltips/index.scss @@ -1,2 +1,2 @@ -@import "../support/index.scss"; -@import "./tooltips.scss"; +@import '../support/index.scss'; +@import './tooltips.scss'; diff --git a/src/tooltips/tooltips.scss b/src/tooltips/tooltips.scss index 187077aeb1..8afa7acd61 100644 --- a/src/tooltips/tooltips.scss +++ b/src/tooltips/tooltips.scss @@ -34,7 +34,7 @@ height: 0; color: var(--color-neutral-emphasis-plus); pointer-events: none; - content: ""; + content: ''; // stylelint-disable-next-line primer/borders border: 6px $border-style transparent; opacity: 0; diff --git a/src/truncate/index.scss b/src/truncate/index.scss index bb1cb7daa1..c1bb2c883c 100644 --- a/src/truncate/index.scss +++ b/src/truncate/index.scss @@ -1,2 +1,2 @@ -@import "../support/index.scss"; -@import "./truncate.scss"; +@import '../support/index.scss'; +@import './truncate.scss'; diff --git a/src/utilities/details.scss b/src/utilities/details.scss index 650606f647..ad214f5654 100644 --- a/src/utilities/details.scss +++ b/src/utilities/details.scss @@ -9,7 +9,7 @@ z-index: 80; display: block; cursor: default; - content: " "; + content: ' '; background: transparent; } diff --git a/src/utilities/index.scss b/src/utilities/index.scss index 7d68a0965e..f03006c2bc 100644 --- a/src/utilities/index.scss +++ b/src/utilities/index.scss @@ -1,14 +1,14 @@ -@import "../support/index.scss"; +@import '../support/index.scss'; // utilities -@import "./animations.scss"; -@import "./borders.scss"; -@import "./box-shadow.scss"; -@import "./colors.scss"; -@import "./details.scss"; -@import "./flexbox.scss"; -@import "./layout.scss"; -@import "./margin.scss"; -@import "./padding.scss"; -@import "./typography.scss"; +@import './animations.scss'; +@import './borders.scss'; +@import './box-shadow.scss'; +@import './colors.scss'; +@import './details.scss'; +@import './flexbox.scss'; +@import './layout.scss'; +@import './margin.scss'; +@import './padding.scss'; +@import './typography.scss'; // Visibility and display should always come last in the imports so that they override other utilities with !important -@import "./visibility-display.scss"; +@import './visibility-display.scss';