mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Add CSS variable --button-bg
might be useful for add-on developers.
This commit is contained in:
parent
aee1a836d1
commit
a66f7798f9
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
.linkb {
|
||||
display: inline-block;
|
||||
background-color: white;
|
||||
background-color: var(--button-bg);
|
||||
border: 1px solid var(--medium-border);
|
||||
@include button.btn-border-radius;
|
||||
min-width: 28px;
|
||||
|
@ -37,7 +37,6 @@
|
|||
|
||||
.nightMode {
|
||||
.linkb {
|
||||
background-color: #666;
|
||||
margin-left: 1px;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
--text-fg: black;
|
||||
--window-bg: #ececec;
|
||||
--frame-bg: white;
|
||||
--button-bg: white;
|
||||
--border: #aaa;
|
||||
--medium-border: #b6b6b6;
|
||||
--faint-border: #e7e7e7;
|
||||
|
@ -36,6 +37,7 @@
|
|||
--text-fg: white;
|
||||
--window-bg: #2f2f31;
|
||||
--frame-bg: #3a3a3a;
|
||||
--button-bg: #666;
|
||||
--border: #777;
|
||||
--medium-border: #444;
|
||||
--faint-border: #29292b;
|
||||
|
|
Loading…
Reference in a new issue