summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-07-05 20:29:58 +0500
committerSaturnino Abril <saturnino.abril@gmail.com>2017-07-05 23:29:58 +0800
commit857d280007b39b7dbfe0057152083a332abd73d3 (patch)
tree7ed66d1c581702d23c9026fd48730ec3bd841e5c /webapp/utils
parent65289f26e7bffd576d2567736774cc5334a79788 (diff)
downloadchat-857d280007b39b7dbfe0057152083a332abd73d3.tar.gz
chat-857d280007b39b7dbfe0057152083a332abd73d3.tar.bz2
chat-857d280007b39b7dbfe0057152083a332abd73d3.zip
Minor UI Updates (#6842)
* PLT-6964 - Updating new theme * PLT-6827 - Fixing error bar link color issue
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx52
1 files changed, 26 insertions, 26 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index f1b72dbf6..6b77be789 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -464,6 +464,32 @@ export const Constants = {
LEAVE_TEAM_SVG: "<svg width='100%' height='100%' viewBox='0 0 164 164' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round; stroke-miterlimit:1.41421;'> <path d='M26.023,164L26.023,7.035L26.022,0.32L137.658,0.32L137.658,164L124.228,164L124.228, 13.749L39.452,13.749L39.452,164L26.023, 164ZM118.876,164L118.876,18.619L58.137,32.918L58.137,149.701L118.876,164Z'/></svg>",
THEMES: {
default: {
+ type: 'Mattermost',
+ sidebarBg: '#145dbf',
+ sidebarText: '#ffffff',
+ sidebarUnreadText: '#ffffff',
+ sidebarTextHoverBg: '#4578bf',
+ sidebarTextActiveBorder: '#579eff',
+ sidebarTextActiveColor: '#ffffff',
+ sidebarHeaderBg: '#1153ab',
+ sidebarHeaderTextColor: '#ffffff',
+ onlineIndicator: '#06d6a0',
+ awayIndicator: '#ffbc42',
+ mentionBj: '#ffffff',
+ mentionColor: '#145dbf',
+ centerChannelBg: '#ffffff',
+ centerChannelColor: '#3d3c40',
+ newMessageSeparator: '#ff8800',
+ linkColor: '#2389d7',
+ buttonBg: '#166de0',
+ buttonColor: '#ffffff',
+ errorTextColor: '#fd5960',
+ mentionHighlightBg: '#fff2bb',
+ mentionHighlightLink: '#166de0',
+ codeTheme: 'github',
+ image: mattermostThemeImage
+ },
+ organization: {
type: 'Organization',
sidebarBg: '#2071a7',
sidebarText: '#ffffff',
@@ -489,32 +515,6 @@ export const Constants = {
codeTheme: 'github',
image: defaultThemeImage
},
- mattermost: {
- type: 'Mattermost',
- sidebarBg: '#fafafa',
- sidebarText: '#333333',
- sidebarUnreadText: '#333333',
- sidebarTextHoverBg: '#e6f2fa',
- sidebarTextActiveBorder: '#378fd2',
- sidebarTextActiveColor: '#111111',
- sidebarHeaderBg: '#3481b9',
- sidebarHeaderTextColor: '#ffffff',
- onlineIndicator: '#7dbe00',
- awayIndicator: '#dcbd4e',
- mentionBj: '#2389d7',
- mentionColor: '#ffffff',
- centerChannelBg: '#ffffff',
- centerChannelColor: '#333333',
- newMessageSeparator: '#ff8800',
- linkColor: '#2389d7',
- buttonBg: '#23a2ff',
- buttonColor: '#ffffff',
- errorTextColor: '#a94442',
- mentionHighlightBg: '#f3e197',
- mentionHighlightLink: '#2f81b7',
- codeTheme: 'github',
- image: mattermostThemeImage
- },
mattermostDark: {
type: 'Mattermost Dark',
sidebarBg: '#1b2c3e',