File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,14 @@ body {
122
122
color : hsl (202.22deg 15.08% 64.9% );
123
123
}
124
124
125
+ .action-button > .dnd-on {
126
+ color : hsl (200.53deg 14.96% 85% );
127
+ }
128
+
129
+ .action-button : hover > .dnd-on {
130
+ color : hsl (202.22deg 15.08% 95% );
131
+ }
132
+
125
133
.action-button .active {
126
134
/* background-color: rgba(255, 255, 255, 0.25); */
127
135
background-color : rgb (239 239 239 / 100% );
Original file line number Diff line number Diff line change @@ -798,9 +798,14 @@ export class ServerManagerView {
798
798
toggleDndButton ( alert : boolean ) : void {
799
799
this . $dndTooltip . textContent =
800
800
( alert ? "Disable" : "Enable" ) + " Do Not Disturb" ;
801
- this . $dndButton . querySelector ( "i" ) ! . textContent = alert
802
- ? "notifications_off"
803
- : "notifications" ;
801
+ const $dndIcon = this . $dndButton . querySelector ( "i" ) ! ;
802
+ $dndIcon . textContent = alert ? "notifications_off" : "notifications" ;
803
+
804
+ if ( alert ) {
805
+ $dndIcon . classList . add ( "dnd-on" ) ;
806
+ } else {
807
+ $dndIcon . classList . remove ( "dnd-on" ) ;
808
+ }
804
809
}
805
810
806
811
async isLoggedIn ( tabIndex : number ) : Promise < boolean > {
You can’t perform that action at this time.
0 commit comments