mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Add correct icons for dark/light mode switch.
This commit is contained in:
parent
383b100fc7
commit
458082c738
7 changed files with 6 additions and 3 deletions
BIN
Telegram/Resources/icons/menu/header_mode_day.png
Normal file
BIN
Telegram/Resources/icons/menu/header_mode_day.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 420 B |
BIN
Telegram/Resources/icons/menu/header_mode_day@2x.png
Normal file
BIN
Telegram/Resources/icons/menu/header_mode_day@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 891 B |
BIN
Telegram/Resources/icons/menu/header_mode_day@3x.png
Normal file
BIN
Telegram/Resources/icons/menu/header_mode_day@3x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
Telegram/Resources/icons/menu/header_mode_night.png
Normal file
BIN
Telegram/Resources/icons/menu/header_mode_night.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 636 B |
BIN
Telegram/Resources/icons/menu/header_mode_night@2x.png
Normal file
BIN
Telegram/Resources/icons/menu/header_mode_night@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
Telegram/Resources/icons/menu/header_mode_night@3x.png
Normal file
BIN
Telegram/Resources/icons/menu/header_mode_night@3x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
|
@ -1313,8 +1313,8 @@ backgroundSwitchToDark: IconButton(defaultIconButton) {
|
||||||
width: 48px;
|
width: 48px;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
|
|
||||||
icon: boxTitleCloseIcon;
|
icon: icon {{ "menu/header_mode_night", boxTitleCloseFg }};
|
||||||
iconOver: boxTitleCloseIconOver;
|
iconOver: icon {{ "menu/header_mode_night", boxTitleCloseFgOver }};
|
||||||
|
|
||||||
rippleAreaPosition: point(4px, 4px);
|
rippleAreaPosition: point(4px, 4px);
|
||||||
rippleAreaSize: 40px;
|
rippleAreaSize: 40px;
|
||||||
|
@ -1322,4 +1322,7 @@ backgroundSwitchToDark: IconButton(defaultIconButton) {
|
||||||
color: windowBgOver;
|
color: windowBgOver;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
backgroundSwitchToLight: backgroundSwitchToDark;
|
backgroundSwitchToLight: IconButton(backgroundSwitchToDark) {
|
||||||
|
icon: icon {{ "menu/header_mode_day", boxTitleCloseFg }};
|
||||||
|
iconOver: icon {{ "menu/header_mode_day", boxTitleCloseFgOver }};
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue