From 9235533f59b0f979b9a314bb3d396d8cb6a2b620 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 3 May 2020 21:57:19 +0200 Subject: [PATCH] Adjust button styles for theming - Default (unstyled) buttons use the body text color - Colored buttons use their text color equivalent --- app/assets/stylesheets/overrides/_buttons.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/overrides/_buttons.scss b/app/assets/stylesheets/overrides/_buttons.scss index 08200b67..2238d82f 100644 --- a/app/assets/stylesheets/overrides/_buttons.scss +++ b/app/assets/stylesheets/overrides/_buttons.scss @@ -1,5 +1,10 @@ +.btn { + color: RGB(var(--body-text)); +} + @each $color in $color-names { .btn-#{$color} { + color: RGB(var(--#{$color}-text)); background-color: var(--#{$color}); border-color: var(--#{$color});