1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-31 01:39:50 +02:00

fix(select): fixed select state styling

select when `is-dark` can now have `is-error`, `is-success` and `is-warning`

#384
This commit is contained in:
HiKaylum
2019-12-22 15:41:33 +00:00
parent 2790eabed8
commit 6b6f68ee8c
2 changed files with 13 additions and 7 deletions

View File

@@ -47,11 +47,10 @@
// prettier-ignore
$types:
"dark" map-get($default-colors, "normal") map-get($default-colors, "hover"),
"success" map-get($success-colors, "normal") map-get($success-colors, "hover"),
"warning" map-get($warning-colors, "normal") map-get($warning-colors, "hover"),
"error" map-get($error-colors, "normal") map-get($error-colors, "hover"),
"dark" map-get($default-colors, "normal") map-get($default-colors, "hover");
"error" map-get($error-colors, "normal") map-get($error-colors, "hover");
@each $type in $types {
&.is-#{nth($type, 1)} {
$color: nth($type, 2);