fix(scss/global): Inherit colors for input and textarea (#541)

This commit is contained in:
Sorin Davidoi 2018-09-22 23:26:53 +00:00 committed by Nolan Lawson
parent fc46835dec
commit 1852f4842f
1 changed files with 7 additions and 1 deletions

View File

@ -82,6 +82,12 @@ input {
box-sizing: border-box; box-sizing: border-box;
} }
// Fixes gray/black background when using a dark GTK theme
input, textarea {
background: inherit;
color: inherit;
}
button, .button { button, .button {
font-size: 1.2em; font-size: 1.2em;
background: var(--button-bg); background: var(--button-bg);
@ -205,4 +211,4 @@ textarea {
margin: -0.1em 0; margin: -0.1em 0;
object-fit: contain; object-fit: contain;
vertical-align: middle; vertical-align: middle;
} }