Browse Source

Adjust toast-warning appearance on light theme

merge-requests/55/head
Deimos 6 years ago
parent
commit
c5075e081c
  1. 1
      tildes/scss/themes/_solarized.scss
  2. 4
      tildes/scss/themes/_theme_base.scss

1
tildes/scss/themes/_solarized.scss

@ -47,6 +47,7 @@ $solarized-base: (
"stripe-target": $yellow, "stripe-target": $yellow,
"topic-tag-nsfw": $red, "topic-tag-nsfw": $red,
"topic-tag-spoiler": $yellow, "topic-tag-spoiler": $yellow,
"warning": $yellow,
); );
$theme-dark: map-merge($solarized-base, ( $theme-dark: map-merge($solarized-base, (

4
tildes/scss/themes/_theme_base.scss

@ -397,7 +397,9 @@
} }
} @else { } @else {
.toast-warning { .toast-warning {
background-color: map-get($theme, "warning");
background-color: rgba(map-get($theme, "warning"), 0.9);
border-color: map-get($theme, "warning");
color: map-get($theme, "foreground-extreme");
} }
} }

Loading…
Cancel
Save