mirror of
https://github.com/nextcloud/tasks.git
synced 2025-08-18 08:18:05 +00:00
Fix Tasks icon color in Dashboard widget
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
@ -68,7 +68,7 @@ class TasksWidget implements IWidget {
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getIconClass(): string {
|
||||
return 'icon-tasks';
|
||||
return 'app-icon-tasks';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,7 +1,4 @@
|
||||
.icon-tasks {
|
||||
.app-icon-tasks {
|
||||
background-image: url(./../../img/tasks-dark.svg);
|
||||
}
|
||||
|
||||
body.theme--dark .icon-tasks {
|
||||
background-image: url(./../../img/tasks.svg);
|
||||
filter: var(--background-invert-if-dark);
|
||||
}
|
||||
|
Reference in New Issue
Block a user