PLT-2138 - Fixing theme sharing box

Этот коммит содержится в:
Asaad Mahmood
2016-03-10 22:55:16 +05:00
родитель 12434f8963
Коммит 461e8532a7
2 изменённых файлов: 19 добавлений и 15 удалений

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

@@ -253,6 +253,9 @@ class CustomThemeChooser extends React.Component {
</div>
</div>
);
colors += theme[element.id] + ',';
} else if (element.group === 'sidebarElements') {
sidebarElements.push(
<div
@@ -303,6 +306,7 @@ class CustomThemeChooser extends React.Component {
});
colors += theme.codeTheme;
console.log(colors);
const pasteBox = (
<div className='col-sm-12'>

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

@@ -370,21 +370,6 @@ export default {
id: 'newMessageSeparator',
uiName: 'New Message Separator'
},
{
group: 'linkAndButtonElements',
id: 'linkColor',
uiName: 'Link Color'
},
{
group: 'linkAndButtonElements',
id: 'buttonBg',
uiName: 'Button BG'
},
{
group: 'linkAndButtonElements',
id: 'buttonColor',
uiName: 'Button Text'
},
{
group: 'centerChannelElements',
id: 'mentionHighlightBg',
@@ -417,6 +402,21 @@ export default {
uiName: 'Monokai'
}
]
},
{
group: 'linkAndButtonElements',
id: 'linkColor',
uiName: 'Link Color'
},
{
group: 'linkAndButtonElements',
id: 'buttonBg',
uiName: 'Button BG'
},
{
group: 'linkAndButtonElements',
id: 'buttonColor',
uiName: 'Button Text'
}
],
DEFAULT_CODE_THEME: 'github',