Skip to content

Commit 2f0ad00

Browse files
author
tanmay1
committed
fixes #116: dark mode support
1 parent 35accac commit 2f0ad00

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

extension/github-notifications-preview.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
right: -10px;
77
z-index: 100;
88
}
9+
10+
[data-color-mode=dark]:root:root .NPG-dropdown {
11+
color: unset;
12+
}
13+
14+
915
.NPG-dropdown.npg-has-groups {
1016
border: none;
1117
}
@@ -174,6 +180,18 @@
174180
z-index: 999 !important;
175181
}
176182

183+
[data-color-mode=dark] .NPG-dropdown .notifications-list-item:hover .notification-list-item-actions .btn {
184+
background: #2c394a !important;
185+
}
186+
187+
[data-color-mode=dark] .NPG-dropdown .notifications-list-item:hover .notification-list-item-actions .btn svg {
188+
color: #f0f6fc !important;
189+
}
190+
191+
[data-color-mode=dark] .NPG-dropdown .notifications-list-item:hover .notification-list-item-actions .btn:hover {
192+
background: #388bfd !important;
193+
}
194+
177195
/* Ellipsis the text when actions are shown */
178196
.NPG-dropdown .notifications-list-item:hover .notification-list-item-link p.text-normal {
179197
overflow: hidden;

0 commit comments

Comments
 (0)