diff --git a/Telegram/Resources/icons/menu/header_mode_day.png b/Telegram/Resources/icons/menu/header_mode_day.png new file mode 100644 index 000000000..9ad57435e Binary files /dev/null and b/Telegram/Resources/icons/menu/header_mode_day.png differ diff --git a/Telegram/Resources/icons/menu/header_mode_day@2x.png b/Telegram/Resources/icons/menu/header_mode_day@2x.png new file mode 100644 index 000000000..13dd35f30 Binary files /dev/null and b/Telegram/Resources/icons/menu/header_mode_day@2x.png differ diff --git a/Telegram/Resources/icons/menu/header_mode_day@3x.png b/Telegram/Resources/icons/menu/header_mode_day@3x.png new file mode 100644 index 000000000..5f6ad557f Binary files /dev/null and b/Telegram/Resources/icons/menu/header_mode_day@3x.png differ diff --git a/Telegram/Resources/icons/menu/header_mode_night.png b/Telegram/Resources/icons/menu/header_mode_night.png new file mode 100644 index 000000000..43cf44547 Binary files /dev/null and b/Telegram/Resources/icons/menu/header_mode_night.png differ diff --git a/Telegram/Resources/icons/menu/header_mode_night@2x.png b/Telegram/Resources/icons/menu/header_mode_night@2x.png new file mode 100644 index 000000000..0d397e35d Binary files /dev/null and b/Telegram/Resources/icons/menu/header_mode_night@2x.png differ diff --git a/Telegram/Resources/icons/menu/header_mode_night@3x.png b/Telegram/Resources/icons/menu/header_mode_night@3x.png new file mode 100644 index 000000000..65ba723e2 Binary files /dev/null and b/Telegram/Resources/icons/menu/header_mode_night@3x.png differ diff --git a/Telegram/SourceFiles/ui/chat/chat.style b/Telegram/SourceFiles/ui/chat/chat.style index fb379562e..7e6b3dfcd 100644 --- a/Telegram/SourceFiles/ui/chat/chat.style +++ b/Telegram/SourceFiles/ui/chat/chat.style @@ -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 }}; +}