mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed accent-color buttons not being colored in dark mode
refs https://github.com/TryGhost/Team/issues/993 - dark mode button style was overriding the `.gh-btn-accent` styles as the `:not` gave it higher precedence
This commit is contained in:
parent
a83830db7a
commit
e547ffb466
1 changed files with 2 additions and 2 deletions
|
@ -253,12 +253,12 @@ input:focus,
|
||||||
background: var(--black) !important;
|
background: var(--black) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-btn:not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):not(.gh-btn-primary):not(.gh-btn-black):not(.gh-btn-text) {
|
.gh-btn:not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):not(.gh-btn-primary):not(.gh-btn-black):not(.gh-btn-text):not(.gh-btn-accent) {
|
||||||
background: var(--lightgrey);
|
background: var(--lightgrey);
|
||||||
color: var(--black);
|
color: var(--black);
|
||||||
}
|
}
|
||||||
|
|
||||||
.gh-btn:not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):not(.gh-btn-primary):not(.gh-btn-black):not(.gh-btn-text):hover {
|
.gh-btn:not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):not(.gh-btn-primary):not(.gh-btn-black):not(.gh-btn-text):not(.gh-btn-accent):hover {
|
||||||
background: var(--lightgrey-d1);
|
background: var(--lightgrey-d1);
|
||||||
color: var(--black);
|
color: var(--black);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue