From e86fa114d10ee38c7768cfaa6e3497cf1355b8d7 Mon Sep 17 00:00:00 2001 From: christoph Date: Thu, 19 Sep 2024 14:55:32 +0200 Subject: [PATCH] fix: switch colors for disabled inputs --- examples/index.html | 14 ++++++++++++-- scss/_variables.scss | 7 +++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/examples/index.html b/examples/index.html index df7243b..d6cdecc 100644 --- a/examples/index.html +++ b/examples/index.html @@ -659,7 +659,17 @@
Heading 6
@@ -679,4 +689,4 @@
Heading 6
- \ No newline at end of file + diff --git a/scss/_variables.scss b/scss/_variables.scss index 7977176..5cf2263 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -46,6 +46,13 @@ $body-tertiary-bg-dark: $gk-surface-dark; $body-color: $gk-fg-light; $body-color-dark: $gk-fg-dark; +$input-bg: var(--bs-secondary-bg); +$input-disabled-bg: var(--bs-body-bg); +$input-disabled-color: var(--bs-tertiary-color); + +$form-select-disabled-color: $input-disabled-color; +$form-select-disabled-bg: $input-disabled-bg; + $min-contrast-ratio: 2; $font-family-base: $font-family-main;