Fixed dark-mode issues in email CTA card

Refs https://github.com/TryGhost/Team/issues/993
This commit is contained in:
Sanne de Vries 2021-08-26 17:13:14 +02:00
parent e547ffb466
commit cb6a7bc179
2 changed files with 12 additions and 2 deletions

View File

@ -357,6 +357,16 @@ input:focus,
background-color: rgba(0,0,0,0.3);
}
.email-cta-toolbar,
.email-cta-toolbar .borders,
.email-cta-toolbar .email-cta-align {
border-color: var(--lightgrey);
}
.email-cta-toolbar .gh-btn {
background: var(--dark-main-bg-color) !important;
}
.gh-badge-black,
.gh-badge.owner {
color: var(--lightgrey);

View File

@ -1,4 +1,4 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path opacity=".4" d="M2 5h12a1 1 0 011 1v4a1 1 0 01-1 1H2a1 1 0 01-1-1V6a1 1 0 011-1z" fill="#394047"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 13.25a.75.75 0 01-.75.75H1.75a.75.75 0 010-1.5h12.5a.75.75 0 01.75.75zM15 2.75a.75.75 0 01-.75.75H1.75a.75.75 0 010-1.5h12.5a.75.75 0 01.75.75z" fill="#394047"/>
<path opacity=".4" d="M2 5h12a1 1 0 011 1v4a1 1 0 01-1 1H2a1 1 0 01-1-1V6a1 1 0 011-1z"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 13.25a.75.75 0 01-.75.75H1.75a.75.75 0 010-1.5h12.5a.75.75 0 01.75.75zM15 2.75a.75.75 0 01-.75.75H1.75a.75.75 0 010-1.5h12.5a.75.75 0 01.75.75z"/>
</svg>

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 376 B