Fixed: Some disabled icon colors are not correct on dark themes

This commit is contained in:
Sercan Yemen 2024-01-11 08:54:31 +03:00
parent 116e17df26
commit 2821b90ed8
3 changed files with 3 additions and 1 deletions

View File

@ -121,7 +121,7 @@
}
/* Set the foreground color for disabled elements */
[disabled] * {
[disabled] {
@apply text-disabled #{'!important'};
}

View File

@ -32,6 +32,7 @@
<div class="text-lg font-medium leading-10">Messages</div>
<div class="ml-auto">
<button
class="dark:text-white"
mat-icon-button
[disabled]="unreadCount === 0"
[matTooltip]="'Mark all as read'"

View File

@ -32,6 +32,7 @@
<div class="text-lg font-medium leading-10">Notifications</div>
<div class="ml-auto">
<button
class="dark:text-white"
mat-icon-button
[matTooltip]="'Mark all as read'"
[disabled]="unreadCount === 0"