mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03: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
@ -253,12 +253,12 @@ input:focus,
|
||||
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);
|
||||
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);
|
||||
color: var(--black);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user