Add unread DM badge to profile button

This commit is contained in:
thePR0M3TH3AN committed 2026-01-19 14:57:10 -05:00
1 parent 52a1b886f1
commit 225c6a1674
6 files changed
+121 -6

No files matched your search

+17
View File
@@ -235,6 +235,23 @@
display: block;
}
#profileUnreadDot {
position: absolute;
top: var(--space-3xs);
right: var(--space-3xs);
width: calc(var(--space-2xs) + var(--space-3xs));
height: calc(var(--space-2xs) + var(--space-3xs));
border-radius: 999px;
border: var(--border-width-hairline) solid var(--color-page);
background-color: var(--status-danger);
display: none;
pointer-events: none;
}
#profileUnreadDot.is-visible {
display: block;
}
.header-icon-toggle[data-theme-state="light"]:hover,
.header-icon-toggle[data-theme-state="light"]:focus-visible {
color: var(--color-text);