From 17e08f92911b4f4a46e31ae9c72f0c12cedc845b Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 23 Jun 2017 12:52:42 +0300 Subject: [PATCH] Separate theme keys for emoji category icon color. --- Telegram/Resources/colors.palette | 4 +++- Telegram/SourceFiles/chat_helpers/chat_helpers.style | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/Resources/colors.palette b/Telegram/Resources/colors.palette index 89c4ec3ccc..ea781eadd0 100644 --- a/Telegram/Resources/colors.palette +++ b/Telegram/Resources/colors.palette @@ -94,7 +94,7 @@ placeholderFgActive: #aaaaaa; // default input field placeholder when field is f inputBorderFg: #e0e0e0; // default input field bottom border (like in code input field when you log in and field is not focused) filterInputBorderFg: #54c3f3; // default rounded input field border (like in chats list search field when field is focused) filterInputInactiveBg: windowBgOver; // default rounded input field background (like in chats list search field when field is inactive) -checkboxFg: #b3b3b3; // default unchecked checkbox rounded rectangle (and also emoji category icons) +checkboxFg: #b3b3b3; // default unchecked checkbox rounded rectangle sliderBgInactive: #e1eaef; // default slider not active bar (like in Settings when you choose interface scale or custom notifications count) sliderBgActive: windowBgActive; // default slider active bar (like in Settings when you choose interface scale or custom notifications count) @@ -248,6 +248,8 @@ emojiPanBg: windowBg; // emoji panel background emojiPanCategories: #f7f7f7 | windowBg; // emoji panel categories background emojiPanHeaderFg: windowSubTextFg; // emoji panel section header text emojiPanHeaderBg: #fffffff2 | emojiPanBg; // emoji panel section header background +emojiIconFg: checkboxFg; // emoji category icon +emojiIconFgActive: windowBgActive; // active emoji category icon stickerPanDeleteBg: #000000cc; // delete X button background for custom sent stickers in stickers panel (legacy) stickerPanDeleteFg: windowFgActive; // delete X button icon for custom sent stickers in stickers panel (legacy) stickerPreviewBg: #ffffffb0; // sticker and GIF preview background (when you press and hold on a sticker) diff --git a/Telegram/SourceFiles/chat_helpers/chat_helpers.style b/Telegram/SourceFiles/chat_helpers/chat_helpers.style index bd02381322..74856e1983 100644 --- a/Telegram/SourceFiles/chat_helpers/chat_helpers.style +++ b/Telegram/SourceFiles/chat_helpers/chat_helpers.style @@ -101,8 +101,6 @@ stickersReorderFg: windowSubTextFg; stickersRowDisabledOpacity: 0.4; stickersRowDuration: 200; -emojiIconFg: checkboxFg; -emojiIconFgActive: windowBgActive; stickersSettings: icon {{ "emoji_settings", emojiIconFg }}; stickersTrending: icon {{ "emoji_trending", emojiIconFg }}; stickersTrendingActive: icon {{ "emoji_trending", emojiIconFgActive }};