use more css vars

This commit is contained in:
neri 2020-08-19 16:25:03 +02:00
parent c9d00db39a
commit 0ec9e1f5f1
1 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
:root { :root {
--bg: #222222;
--fg: #e9e9e9; --fg: #e9e9e9;
} }
body { body {
background-color: #222222; background-color: var(--bg);
margin: 0; margin: 0;
} }
@ -37,7 +39,7 @@ input,
select, select,
textarea, textarea,
.button { .button {
background-color: #222222; background-color: var(--bg);
color: var(--fg); color: var(--fg);
padding: 0.5rem; padding: 0.5rem;
border: 2px solid var(--fg); border: 2px solid var(--fg);