Use neutral badge for drafts

This commit is contained in:
tusooa 2023-04-06 12:35:51 -04:00
commit b27f696d77
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
5 changed files with 24 additions and 1 deletions

View file

@ -20,6 +20,7 @@
<div
v-if="item.badgeGetter && getters[item.badgeGetter]"
class="badge -dot -notification"
:class="[`alert-dot-${item.badgeStyle}`]"
/>
</router-link>
</span>
@ -34,6 +35,16 @@
overflow: hidden;
height: 100%;
&.alert-dot-notification {
background-color: $fallback--cRed;
background-color: var(--badgeNotification, $fallback--cRed);
}
&.alert-dot-neutral {
background-color: $fallback--cGreen;
background-color: var(--badgeNeutral, $fallback--cGreen);
}
.pinned-item {
position: relative;
flex: 1 0 3em;