Make drafts work with Themes 3

This commit is contained in:
tusooa 2024-03-27 18:59:32 -04:00
commit f41f7c77d9
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
6 changed files with 14 additions and 21 deletions

View file

@ -34,8 +34,8 @@
<slot />
<div
v-if="item.badgeGetter && getters[item.badgeGetter]"
class="badge -notification"
:class="[`badge-${item.badgeStyle}`]"
class="badge"
:class="[`-${item.badgeStyle}`]"
>
{{ getters[item.badgeGetter] }}
</div>

View file

@ -19,8 +19,8 @@
>{{ item.iconLetter }}</span>
<div
v-if="item.badgeGetter && getters[item.badgeGetter]"
class="badge -dot -notification"
:class="[`alert-dot-${item.badgeStyle}`]"
class="badge -dot"
:class="[`-${item.badgeStyle}`]"
/>
</router-link>
</span>
@ -36,13 +36,11 @@
height: 100%;
&.alert-dot-notification {
background-color: $fallback--cRed;
background-color: var(--badgeNotification, $fallback--cRed);
background-color: var(--badgeNotification);
}
&.alert-dot-neutral {
background-color: $fallback--cGreen;
background-color: var(--badgeNeutral, $fallback--cGreen);
background-color: var(--badgeNeutral);
}
.pinned-item {