diff options
Diffstat (limited to 'public/css/_sass/elements/tag.sass')
-rw-r--r-- | public/css/_sass/elements/tag.sass | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/public/css/_sass/elements/tag.sass b/public/css/_sass/elements/tag.sass index a5fb3c4..e0fb89e 100644 --- a/public/css/_sass/elements/tag.sass +++ b/public/css/_sass/elements/tag.sass @@ -23,15 +23,6 @@ $tag-delete-margin: 1px !default &.are-large .tag:not(.is-normal):not(.is-medium) font-size: $size-medium - &.has-addons - .tag - margin-right: 0 - &:not(:first-child) - border-bottom-left-radius: 0 - border-top-left-radius: 0 - &:not(:last-child) - border-bottom-right-radius: 0 - border-top-right-radius: 0 &.is-centered justify-content: center .tag @@ -78,6 +69,13 @@ $tag-delete-margin: 1px !default &.is-#{$name} background-color: $color color: $color-invert + // If a light and dark colors are provided + @if length($pair) > 3 + $color-light: nth($pair, 3) + $color-dark: nth($pair, 4) + &.is-light + background-color: $color-light + color: $color-dark // Sizes &.is-normal font-size: $size-small |