0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Dark mode related fixes

no issue

- fixed double border for tags tabs
- refined view action button border
- fixed border for staff avatar
- fixed member avatar label color
This commit is contained in:
Peter Zimon 2019-10-20 09:49:20 +02:00 committed by Kevin Ansfield
parent f60fce91ca
commit 549fb7193a
4 changed files with 18 additions and 2 deletions

View file

@ -185,6 +185,14 @@ input:focus,
border: color-mod(var(--darkgrey) l(-27%) blackness(+15%)) 1px solid;
}
.view-actions .gh-btn:not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red) {
border-color: color-mod(var(--darkgrey) l(-27%) blackness(+15%) alpha(50%));
}
.gh-btn-group .gh-btn:first-of-type {
border-right: none !important;
}
.gh-btn-blue,
.gh-btn-green,
.gh-btn-red {
@ -201,6 +209,7 @@ input:focus,
border: none !important;
}
.settings-menu-delete-button {
color: var(--red);
border: none !important;

View file

@ -1,3 +1,10 @@
/* Global
/* ----------------------------------------- */
.gh-member-avatar-label {
display: block;
color: #fff;
}
/* Members list
/* ----------------------------------------- */

View file

@ -72,7 +72,7 @@
background-position: center center;
background-size: cover;
border-radius: 100%;
box-shadow: #fff 0 0 0 3px;
box-shadow: var(--white) 0 0 0 3px;
}
.user-list-item-figure img {

View file

@ -1,3 +1,3 @@
<div class="flex items-center justify-center br-100" style={{this.backgroundStyle}} ...attributes>
<span class="db white {{this.initialsClass}}">{{this.initials}}</span>
<span class="gh-member-avatar-label {{this.initialsClass}}">{{this.initials}}</span>
</div>