PLT-2138 - Fixing theme sharing box
Этот коммит содержится в:
@@ -253,6 +253,9 @@ class CustomThemeChooser extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
colors += theme[element.id] + ',';
|
||||||
|
|
||||||
} else if (element.group === 'sidebarElements') {
|
} else if (element.group === 'sidebarElements') {
|
||||||
sidebarElements.push(
|
sidebarElements.push(
|
||||||
<div
|
<div
|
||||||
@@ -303,6 +306,7 @@ class CustomThemeChooser extends React.Component {
|
|||||||
});
|
});
|
||||||
|
|
||||||
colors += theme.codeTheme;
|
colors += theme.codeTheme;
|
||||||
|
console.log(colors);
|
||||||
|
|
||||||
const pasteBox = (
|
const pasteBox = (
|
||||||
<div className='col-sm-12'>
|
<div className='col-sm-12'>
|
||||||
|
|||||||
@@ -370,21 +370,6 @@ export default {
|
|||||||
id: 'newMessageSeparator',
|
id: 'newMessageSeparator',
|
||||||
uiName: 'New Message Separator'
|
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',
|
group: 'centerChannelElements',
|
||||||
id: 'mentionHighlightBg',
|
id: 'mentionHighlightBg',
|
||||||
@@ -417,6 +402,21 @@ export default {
|
|||||||
uiName: 'Monokai'
|
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',
|
DEFAULT_CODE_THEME: 'github',
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user