0
Fork 0
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:
Kevin Ansfield 2021-08-26 16:08:26 +01:00
parent a83830db7a
commit e547ffb466

View file

@ -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);
} }