From 611da13a4b252c10f1613d70d877e2d039ba64b7 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 7 Feb 2020 01:25:26 +0200 Subject: Better Disabled buttons support. Mammal theme fixes. Implemented proper context-aware `mod` argument - now checks lightness of "variant" color. needs retesting tho --- src/App.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index 85fd0b47..9f37ff12 100644 --- a/src/App.scss +++ b/src/App.scss @@ -179,7 +179,7 @@ input, textarea, .select, .input { right: 5px; height: 100%; color: $fallback--text; - color: var(--text, $fallback--text); + color: var(--inputText, $fallback--text); line-height: 28px; z-index: 0; pointer-events: none; @@ -254,7 +254,7 @@ input, textarea, .select, .input { display: none; &:checked + label::before { color: $fallback--text; - color: var(--text, $fallback--text); + color: var(--inputText, $fallback--text); } &:disabled { &, -- cgit v1.2.3-70-g09d2