2016-08-27 04:49:18 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop version of Telegram messaging app, see https://telegram.org
|
|
|
|
|
|
|
|
Telegram Desktop is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
It is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
In addition, as a special exception, the copyright holders give permission
|
|
|
|
to link the code of portions of this program with the OpenSSL library.
|
|
|
|
|
|
|
|
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
|
|
|
Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
|
|
|
*/
|
|
|
|
|
2016-10-31 12:29:26 +00:00
|
|
|
// basic
|
2016-10-28 12:44:28 +00:00
|
|
|
windowBg: #ffffff; // white: fallback for background
|
|
|
|
windowTextFg: #000000; // black: fallback for text color
|
2016-11-05 08:36:24 +00:00
|
|
|
windowSubTextFg: #999999; // gray: fallback for subtext color
|
2016-10-28 12:44:28 +00:00
|
|
|
windowActiveFill: #40ace3; // bright blue: fallback for blue filled active areas
|
2016-11-05 08:36:24 +00:00
|
|
|
windowOverBg: #f0f0f0; // light gray: fallback for over background
|
2016-10-28 12:44:28 +00:00
|
|
|
windowSubTextFgOver: #7c99b2; // gray over light blue: fallback for subtext over color
|
|
|
|
windowActiveTextFg: #1485c2; // online blue: fallback for active color
|
|
|
|
windowShadowFg: #000000; // black: fallback for shadow color
|
|
|
|
|
2016-10-31 12:29:26 +00:00
|
|
|
imageBg: #000000;
|
|
|
|
imageBgTransparent: #ffffff;
|
|
|
|
|
2016-11-04 11:14:47 +00:00
|
|
|
// widgets
|
2016-10-31 12:29:26 +00:00
|
|
|
activeButtonBg: windowActiveFill;
|
|
|
|
activeButtonBgOver: #46b4eb | activeButtonBg;
|
|
|
|
activeButtonFg: #ffffff;
|
|
|
|
activeButtonFgOver: activeButtonFg;
|
|
|
|
activeButtonSecondaryFg: #cceeff;
|
|
|
|
activeButtonSecondaryFgOver: activeButtonSecondaryFg;
|
|
|
|
|
|
|
|
lightButtonBg: windowBg;
|
|
|
|
lightButtonBgOver: #f2f7fa | lightButtonBg;
|
|
|
|
lightButtonFg: #2b99d5;
|
|
|
|
lightButtonFgOver: lightButtonFg;
|
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
menuIconFg: windowSubTextFg;
|
|
|
|
|
2016-11-04 11:14:47 +00:00
|
|
|
// custom title bar for Windows
|
|
|
|
titleBg: windowOverBg;
|
|
|
|
titleShadow: #00000003;
|
|
|
|
titleButtonFg: #ababab;
|
|
|
|
titleButtonBgOver: #e5e5e5;
|
|
|
|
titleButtonFgOver: #9a9a9a;
|
|
|
|
titleButtonCloseBgOver: #e81123;
|
|
|
|
titleButtonCloseFgOver: #ffffff;
|
|
|
|
|
|
|
|
// tray icon
|
|
|
|
trayCounterBg: #f23c34;
|
|
|
|
trayCounterBgMute: #888888;
|
|
|
|
trayCounterFg: #ffffff;
|
|
|
|
trayCounterBgMacInvert: #ffffff;
|
|
|
|
trayCounterFgMacInvert: #ffffff01;
|
|
|
|
|
2016-10-31 12:29:26 +00:00
|
|
|
// layers
|
|
|
|
layerBg: #0000007f;
|
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
cancelIconFg: #a2a2a2;
|
|
|
|
cancelIconFgOver: #808080;
|
|
|
|
|
2016-10-31 12:29:26 +00:00
|
|
|
// boxes
|
2016-10-28 12:44:28 +00:00
|
|
|
boxBg: windowBg;
|
2016-10-31 12:29:26 +00:00
|
|
|
boxTextFg: windowTextFg;
|
|
|
|
boxTextFgGood: #4ab44a;
|
|
|
|
boxTextFgError: #d84d4d;
|
|
|
|
boxTitleFg: #404040 | windowTextFg;
|
|
|
|
boxSearchBg: boxBg;
|
|
|
|
boxSearchCancelIconFg: cancelIconFg;
|
|
|
|
boxSearchCancelIconFgOver: cancelIconFgOver;
|
|
|
|
|
|
|
|
membersAboutLimitFg: windowSubTextFg;
|
|
|
|
|
|
|
|
contactsBg: windowBg;
|
|
|
|
contactsBgOver: windowOverBg;
|
|
|
|
contactsNameFg: boxTextFg;
|
|
|
|
|
|
|
|
photoCropFadeBg: #0000007f;
|
|
|
|
photoCropPointFg: #ffffff7f;
|
|
|
|
|
|
|
|
// settings
|
2016-11-01 12:46:34 +00:00
|
|
|
settingsFixedBarBg: boxBg;
|
2016-10-31 12:29:26 +00:00
|
|
|
settingsCloseFg: cancelIconFg;
|
|
|
|
settingsCloseFgOver: cancelIconFgOver;
|
|
|
|
|
|
|
|
notificationsBoxMonitorFg: windowTextFg;
|
|
|
|
|
|
|
|
notificationSampleUserpicFg: windowActiveFill;
|
|
|
|
notificationSampleCloseFg: #d7d7d7 | windowSubTextFg;
|
|
|
|
notificationSampleTextFg: #d7d7d7 | windowSubTextFg;
|
|
|
|
notificationSampleNameFg: #939393 | windowSubTextFg;
|
|
|
|
|
|
|
|
// intro
|
|
|
|
introHeaderFg: windowTextFg;
|
|
|
|
introErrorFg: windowTextFg;
|
|
|
|
|
2016-11-05 08:36:24 +00:00
|
|
|
// dialogs
|
|
|
|
dialogsMenuIconFg: menuIconFg;
|
|
|
|
|
|
|
|
dialogsBg: windowBg;
|
|
|
|
dialogsNameFg: #373737 | windowTextFg;
|
|
|
|
dialogsChatIconFg: dialogsNameFg;
|
|
|
|
dialogsDateFg: windowSubTextFg;
|
|
|
|
dialogsTextFg: windowSubTextFg;
|
|
|
|
dialogsTextFgService: #4981af;
|
|
|
|
dialogsDraftFg: #dd4b39;
|
|
|
|
dialogsVerifiedIconBg: #4abcf1;
|
|
|
|
dialogsVerifiedIconFg: #ffffff;
|
|
|
|
dialogsSendingIconFg: #c1c1c1;
|
|
|
|
dialogsSentIconFg: #5dc452;
|
|
|
|
|
|
|
|
dialogsBgOver: windowOverBg;
|
|
|
|
dialogsNameFgOver: windowTextFg;
|
|
|
|
dialogsChatIconFgOver: dialogsNameFgOver;
|
|
|
|
dialogsDateFgOver: #8a8a8a | dialogsDateFg;
|
|
|
|
dialogsTextFgOver: dialogsTextFg;
|
|
|
|
dialogsTextFgServiceOver: dialogsTextFgService;
|
|
|
|
dialogsDraftFgOver: dialogsDraftFg;
|
|
|
|
dialogsVerifiedIconBgOver: dialogsVerifiedIconBg;
|
|
|
|
dialogsVerifiedIconFgOver: dialogsVerifiedIconFg;
|
|
|
|
dialogsSendingIconFgOver: dialogsSendingIconFg;
|
|
|
|
dialogsSentIconFgOver: dialogsSentIconFg;
|
|
|
|
|
|
|
|
dialogsBgActive: dialogsBgOver;
|
|
|
|
dialogsNameFgActive: dialogsNameFgOver;
|
|
|
|
dialogsChatIconFgActive: dialogsNameFgActive;
|
|
|
|
dialogsDateFgActive: dialogsDateFgOver;
|
|
|
|
dialogsTextFgActive: dialogsTextFgOver;
|
|
|
|
dialogsTextFgServiceActive: dialogsTextFgServiceOver;
|
|
|
|
dialogsDraftFgActive: dialogsDraftFgOver;
|
|
|
|
dialogsVerifiedIconBgActive: dialogsVerifiedIconBgOver;
|
|
|
|
dialogsVerifiedIconFgActive: dialogsVerifiedIconFgOver;
|
|
|
|
dialogsSendingIconFgActive: dialogsSendingIconFgOver;
|
|
|
|
dialogsSentIconFgActive: dialogsSentIconFgOver;
|
|
|
|
|
2016-10-31 12:29:26 +00:00
|
|
|
// history
|
|
|
|
topBarBg: windowBg;
|
|
|
|
|
2016-11-01 12:46:34 +00:00
|
|
|
emojiPanBg: windowBg;
|
|
|
|
emojiPanCategories: #f7f7f7 | windowBg;
|
|
|
|
emojiPanHeaderFg: #999999 | windowSubTextFg;
|
|
|
|
emojiPanHeaderBg: #fffffff2 | emojiPanBg;
|
|
|
|
|
2016-10-31 12:29:26 +00:00
|
|
|
historyComposeAreaBg: windowBg;
|
2016-11-01 12:46:34 +00:00
|
|
|
historyComposeIconFg: #cccccc;
|
|
|
|
historyComposeIconFgOver: #bebebe;
|
2016-10-31 12:29:26 +00:00
|
|
|
historyPinnedBg: historyComposeAreaBg;
|
|
|
|
historyReplyBg: historyComposeAreaBg;
|
|
|
|
historyReplyCancelIconFg: cancelIconFg;
|
|
|
|
historyReplyCancelIconFgOver: cancelIconFgOver;
|
|
|
|
|
|
|
|
historySendBg: historyComposeAreaBg;
|
|
|
|
historySendBgOver: #f5f5f5 | historySendBg;
|
2016-11-01 12:46:34 +00:00
|
|
|
historyMenuItemBgOver: historySendBgOver;
|
2016-10-31 12:29:26 +00:00
|
|
|
|
|
|
|
historyTextInFg: windowTextFg;
|
|
|
|
historyTextOutFg: windowTextFg;
|
|
|
|
historyCaptionInFg: historyTextInFg;
|
|
|
|
historyCaptionOutFg: historyTextOutFg;
|
|
|
|
historyFileNameInFg: historyTextInFg;
|
|
|
|
historyFileNameOutFg: historyTextOutFg;
|
2016-11-05 08:36:24 +00:00
|
|
|
historyOutIconFg: dialogsSentIconFg;
|
|
|
|
historyOutIconFgSelected: #4da79f;
|
|
|
|
historyIconFgInverted: #ffffff;
|
2016-10-31 12:29:26 +00:00
|
|
|
|
2016-11-01 20:59:51 +00:00
|
|
|
historySystemBg: #89a0b47f;
|
|
|
|
historySystemBgSelected: #bbc8d4a2;
|
|
|
|
historySystemFg: #ffffff;
|
|
|
|
|
2016-10-31 12:29:26 +00:00
|
|
|
// mediaview
|
|
|
|
mediaviewFileBg: windowBg;
|
|
|
|
mediaviewFileNameFg: windowTextFg;
|
|
|
|
mediaviewFileSizeFg: windowSubTextFg;
|
|
|
|
mediaviewFileRedCornerFg: #d55959;
|
|
|
|
mediaviewFileYellowCornerFg: #e8a659;
|
|
|
|
mediaviewFileGreenCornerFg: #49a957;
|
|
|
|
mediaviewFileBlueCornerFg: #599dcf;
|
|
|
|
mediaviewFileExtFg: activeButtonFg;
|
|
|
|
|
|
|
|
mediaviewMenuBg: #383838;
|
|
|
|
mediaviewMenuBgOver: #505050;
|
|
|
|
mediaviewMenuFg: #ffffff;
|
|
|
|
|
|
|
|
mediaviewBg: #222222eb;
|
|
|
|
mediaviewVideoBg: #000000;
|
|
|
|
mediaviewControlBg: #0000003c;
|
|
|
|
|
|
|
|
// notification
|
|
|
|
notificationBg: windowBg;
|