Rewrite sass variables to support themes

This commit is contained in:
Zed
2019-10-23 11:15:57 +02:00
parent d31ada9bad
commit 81160b1915
16 changed files with 173 additions and 94 deletions

View File

@@ -7,15 +7,19 @@
}
.error-panel {
@include center-panel($error_red);
@include center-panel(var(--error_red));
}
.search-bar {
// background: var(--darkest_grey);
}
.search-bar > form {
@include center-panel($darkest-grey);
@include center-panel(var(--darkest_grey));
button {
background: #303030;
color: $fg_color;
background: var(--bg_elements);
color: var(--fg_color);
border: 0;
border-radius: 3px;
cursor: pointer;
@@ -27,8 +31,8 @@
input {
font-size: 16px;
width: 100%;
background: $bg_elements;
color: $fg_color;
background: var(--bg_elements);
color: var(--fg_color);
border: 0;
border-radius: 4px;
padding: 4px;