scss: check if $button-color is a color in %inverted-button (#89370)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
41ad6b323b
commit
803e1aa884
|
@ -232,7 +232,7 @@ div.buttons div {
|
|||
@extend %button;
|
||||
background-color: $button-color;
|
||||
color: $button-background;
|
||||
@if (extract-color($button-border) == transparent)
|
||||
@if (type-of($button-border) == color and extract-color($button-border) == transparent)
|
||||
and (lightness($button-color) > 90%) {
|
||||
border: 1px solid $button-background;
|
||||
} @else {
|
||||
|
|
Loading…
Reference in New Issue