Add CSS variable --button-bg

might be useful for add-on developers.
This commit is contained in:
Matthias M 2021-05-23 01:18:00 +02:00
parent aee1a836d1
commit a66f7798f9
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
.linkb { .linkb {
display: inline-block; display: inline-block;
background-color: white; background-color: var(--button-bg);
border: 1px solid var(--medium-border); border: 1px solid var(--medium-border);
@include button.btn-border-radius; @include button.btn-border-radius;
min-width: 28px; min-width: 28px;
@ -37,7 +37,6 @@
.nightMode { .nightMode {
.linkb { .linkb {
background-color: #666;
margin-left: 1px; margin-left: 1px;
} }

View file

@ -5,6 +5,7 @@
--text-fg: black; --text-fg: black;
--window-bg: #ececec; --window-bg: #ececec;
--frame-bg: white; --frame-bg: white;
--button-bg: white;
--border: #aaa; --border: #aaa;
--medium-border: #b6b6b6; --medium-border: #b6b6b6;
--faint-border: #e7e7e7; --faint-border: #e7e7e7;
@ -36,6 +37,7 @@
--text-fg: white; --text-fg: white;
--window-bg: #2f2f31; --window-bg: #2f2f31;
--frame-bg: #3a3a3a; --frame-bg: #3a3a3a;
--button-bg: #666;
--border: #777; --border: #777;
--medium-border: #444; --medium-border: #444;
--faint-border: #29292b; --faint-border: #29292b;