Add Bootstrap input CSS variable overrides

This commit is contained in:
Andreas Nedbal 2020-04-28 15:56:38 +02:00
parent 01499797a1
commit 22197a9e51
3 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,7 @@ $colorNames: (
--background: #f0edf4; --background: #f0edf4;
--card-bg: #ffffff; --card-bg: #ffffff;
--card-cap-bg: #f7f7f7; --card-cap-bg: #f7f7f7;
--input-bg: #ffffff;
/** /**
NOTE for all *-text variables NOTE for all *-text variables
@ -50,4 +51,6 @@ $colorNames: (
--success-text: 255, 255, 255; --success-text: 255, 255, 255;
--muted-text: 108, 117, 125; --muted-text: 108, 117, 125;
--input-text: 0, 0, 0;
} }

View File

@ -86,6 +86,7 @@ $navbar-inverse-toggle-border-color: #512da8;
"overrides/colors", "overrides/colors",
"overrides/card", "overrides/card",
"overrides/dropdown", "overrides/dropdown",
"overrides/inputs",
"overrides/links", "overrides/links",
"overrides/list-group", "overrides/list-group",
"overrides/navbar"; "overrides/navbar";

View File

@ -0,0 +1,4 @@
.form-control {
background-color: var(--input-bg);
color: RGB(var(--input-text));
}