Fix disabled input background in dark theme (#2622)

This commit is contained in:
Bartosz-Do
2026-07-30 17:57:01 +02:00
committed by GitHub
parent 4ea449df1b
commit d0a793c527
5 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -1178,7 +1178,7 @@ $btn-padding-x-lg: $input-btn-padding-x-lg !default;
// Inputs
$input-bg: var(--#{$prefix}bg-forms) !default;
$input-disabled-color: null !default;
$input-disabled-bg: var(--#{$prefix}bg-surface-secondary) !default;
$input-disabled-bg: var(--#{$prefix}bg-forms-disabled) !default;
$input-disabled-border-color: null !default;
$input-height: null !default;
@@ -1785,7 +1785,7 @@ $list-group-action-active-color: var(--#{$prefix}body-color) !default;
$list-group-action-active-bg: var(--#{$prefix}secondary-bg) !default;
// Forms
$input-disabled-bg: $disabled-bg !default;
$input-disabled-bg: var(--#{$prefix}bg-forms-disabled) !default;
$input-border-color: var(--#{$prefix}border-color) !default;
$input-border-color-translucent: var(--#{$prefix}border-color-translucent) !default;
+1
View File
@@ -39,6 +39,7 @@
--#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color-dark)};
--#{$prefix}bg-forms: var(--#{$prefix}gray-900);
--#{$prefix}bg-forms-disabled: var(--#{$prefix}gray-800);
--#{$prefix}bg-surface: var(--#{$prefix}gray-800);
--#{$prefix}bg-surface-inverted: var(--#{$prefix}gray-100);
--#{$prefix}bg-surface-secondary: var(--#{$prefix}gray-900);
+1
View File
@@ -20,6 +20,7 @@
--#{$prefix}bg-surface-dark: var(--#{$prefix}gray-900);
--#{$prefix}bg-surface-inverted: var(--#{$prefix}gray-900);
--#{$prefix}bg-forms: var(--#{$prefix}bg-surface);
--#{$prefix}bg-forms-disabled: var(--#{$prefix}bg-surface-secondary);
--#{$prefix}text-inverted: var(--#{$prefix}gray-100);