Revert "Form input background color to CSS custom property (not fully working)"

This reverts commit cb7b7f23e7.
This commit is contained in:
Adrian Simmons 2021-09-16 13:20:23 +01:00
parent cb7b7f23e7
commit a689eee01c
3 changed files with 4 additions and 7 deletions

View File

@ -136,13 +136,13 @@
&:not(:disabled) {
&:hover, &:active {
background: var(--input-background-color) !important;
background: $input-background-color;
border-color: $input-border-color;
cursor: text;
}
&:focus {
background: var(--input-background-color) !important;
background: $input-background-color;
border-color: $input-focus-border-color;
}
}

View File

@ -129,8 +129,8 @@
padding: .3rem;
&:focus {
background: var(--input-background-color) !important;
border-color: $input-focus-border-color !important;
background: $input-background-color;
border-color: $input-focus-border-color;
}
&.disabled {

View File

@ -16,7 +16,6 @@
--black: hsl(0, 0%, 4%);
--light-background: var(--grey-100);
--input-background-color: var(--white);
}
$grey-50: #F9FAFB;
@ -63,7 +62,5 @@ $grey-lightest: $grey-100;
--white: hsl(0, 0%, 4%);
--black: hsl(0, 0%, 100%);
--input-background-color: var(--black);
}
}