diff options
author | amzrk2 | 2020-04-14 20:58:19 +0800 |
---|---|---|
committer | amzrk2 | 2020-04-14 20:58:19 +0800 |
commit | baf7534870460015c194281ad98e1fef99911ef1 (patch) | |
tree | cc424e273de1953917a06e5536b2fc527ead78a3 /assets/sass/@primer/css/labels/labels.scss | |
parent | f01d08490b3f5f35eca026792d0efe239bda4ff9 (diff) | |
download | hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.tar.gz hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.tar.bz2 hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.zip |
Remove redundant Primer CSS
Diffstat (limited to 'assets/sass/@primer/css/labels/labels.scss')
-rw-r--r-- | assets/sass/@primer/css/labels/labels.scss | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/assets/sass/@primer/css/labels/labels.scss b/assets/sass/@primer/css/labels/labels.scss deleted file mode 100644 index 06c799f..0000000 --- a/assets/sass/@primer/css/labels/labels.scss +++ /dev/null @@ -1,68 +0,0 @@ -// Needs refactoring -// Labels -// -// Use labels to add keyword tags or phrases to issues and pull requests. These -// are used within a list of issues/PRs, on individual issues/PRs, and within -// the select menus that manage them. - -// Provide a wrapper to ensure labels stick together -.labels { - position: relative; -} - -// Each label gets common styles -// .label will be deprecated for .Label -.label, -.Label { - display: inline-block; - // stylelint-disable-next-line primer/spacing - padding: 3px $spacer-1; - font-size: $font-size-small; - font-weight: $font-weight-bold; - line-height: $lh-condensed-ultra; // prevent inheritance from changing proportions - color: $text-white; - // stylelint-disable-next-line primer/borders - border-radius: 2px; - // stylelint-disable-next-line primer/box-shadow - box-shadow: inset 0 -1px 0 rgba($black, 0.12); - - &:hover { - text-decoration: none; - } -} - -// Custom GitHub labels (not for issues/PRs/etc) -// -// Commonly used across the site to indicate a particular role. For example, -// "repo owner" within code comments or role in organizations. -.Label--gray { - color: $text-gray; - // stylelint-disable-next-line primer/colors - background-color: lighten($gray-200, 3%); -} - -.Label--outline { - // stylelint-disable-next-line primer/spacing - margin-top: -1px; // offsets the 1px border - // stylelint-disable-next-line primer/spacing - margin-bottom: -1px; // offsets the 1px border - font-weight: $font-weight-normal; - color: $text-gray; - background-color: transparent; - border: $border-width $border-style $border-black-fade; - box-shadow: none; -} - -.Label--outline-green { - color: $text-green; - border: $border-width $border-style $border-green; -} - -.Label--gray-darker { - // stylelint-disable-next-line primer/colors - background-color: $gray; -} - -.Label--orange { - background-color: $bg-orange; -} |