Merge pull request #1853 from asaadmahmoodspin/ui-improvements

Adding away icon and changing online and offline icons
Этот коммит содержится в:
Corey Hulen
2016-01-13 09:03:01 -06:00
родитель 75ae098dfe e9c2fd7cbb
Коммит 1e1864d78f
5 изменённых файлов: 20 добавлений и 6 удалений

Просмотреть файл

@@ -372,7 +372,7 @@ export default class Sidebar extends React.Component {
if (channel.status === 'online') {
statusIcon = Constants.ONLINE_ICON_SVG;
} else if (channel.status === 'away') {
statusIcon = Constants.ONLINE_ICON_SVG;
statusIcon = Constants.AWAY_ICON_SVG;
} else {
statusIcon = Constants.OFFLINE_ICON_SVG;
}

Просмотреть файл

@@ -55,6 +55,7 @@ export default class ImportThemeModal extends React.Component {
theme.sidebarHeaderBg = colors[1];
theme.sidebarHeaderTextColor = colors[5];
theme.onlineIndicator = colors[6];
theme.awayIndicator = '#E0B333';
theme.mentionBj = colors[7];
theme.mentionColor = '#ffffff';
theme.centerChannelBg = '#ffffff';