From c5075e081c3e311dc10bc1bf6619c53720fb2eca Mon Sep 17 00:00:00 2001 From: Deimos Date: Wed, 23 Jan 2019 17:26:59 -0700 Subject: [PATCH] Adjust toast-warning appearance on light theme --- tildes/scss/themes/_solarized.scss | 1 + tildes/scss/themes/_theme_base.scss | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tildes/scss/themes/_solarized.scss b/tildes/scss/themes/_solarized.scss index a49f55f..64de73b 100644 --- a/tildes/scss/themes/_solarized.scss +++ b/tildes/scss/themes/_solarized.scss @@ -47,6 +47,7 @@ $solarized-base: ( "stripe-target": $yellow, "topic-tag-nsfw": $red, "topic-tag-spoiler": $yellow, + "warning": $yellow, ); $theme-dark: map-merge($solarized-base, ( diff --git a/tildes/scss/themes/_theme_base.scss b/tildes/scss/themes/_theme_base.scss index 39ad987..2ea6f7e 100644 --- a/tildes/scss/themes/_theme_base.scss +++ b/tildes/scss/themes/_theme_base.scss @@ -397,7 +397,9 @@ } } @else { .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"); } }