0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed dark mode issues in publishing flow

This commit is contained in:
Sanne de Vries 2022-05-25 10:23:11 +02:00
parent a09a1939c7
commit 5edc95d96d
2 changed files with 11 additions and 3 deletions

View file

@ -21,7 +21,7 @@
{{#if @post.isDraft}}
<button
type="button"
class="gh-btn gh-editor-preview-trigger"
class="gh-btn gh-btn-editor gh-editor-preview-trigger"
{{on "click" this.openPreview}}
{{on-key "cmd+p" this.togglePreview}}
data-test-button="publish-preview"

View file

@ -263,12 +263,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):not(.gh-btn-accent):not(.gh-btn-link) {
.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):not(.gh-btn-link):not(.gh-editor-preview-trigger) {
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):not(.gh-btn-accent):not(.gh-btn-link):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):not(.gh-btn-link):not(.gh-editor-preview-trigger):hover {
background: var(--lightgrey-d1);
color: var(--black);
}
@ -450,6 +450,14 @@ input:focus,
background: var(--white);
}
.gh-back-to-editor {
color: var(--middarkgrey);
}
.gh-back-to-editor:hover {
color: var(--middarkgrey-l2);
}
.gh-image-uploader {
background: var(--lightgrey);
}