Add correct icons for dark/light mode switch.

This commit is contained in:
John Preston 2023-04-21 13:42:06 +04:00
parent 383b100fc7
commit 458082c738
7 changed files with 6 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 891 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -1313,8 +1313,8 @@ backgroundSwitchToDark: IconButton(defaultIconButton) {
width: 48px;
height: 48px;
icon: boxTitleCloseIcon;
iconOver: boxTitleCloseIconOver;
icon: icon {{ "menu/header_mode_night", boxTitleCloseFg }};
iconOver: icon {{ "menu/header_mode_night", boxTitleCloseFgOver }};
rippleAreaPosition: point(4px, 4px);
rippleAreaSize: 40px;
@ -1322,4 +1322,7 @@ backgroundSwitchToDark: IconButton(defaultIconButton) {
color: windowBgOver;
}
}
backgroundSwitchToLight: backgroundSwitchToDark;
backgroundSwitchToLight: IconButton(backgroundSwitchToDark) {
icon: icon {{ "menu/header_mode_day", boxTitleCloseFg }};
iconOver: icon {{ "menu/header_mode_day", boxTitleCloseFgOver }};
}