Adding mention highlight setting and improving search highlight too
Этот коммит содержится в:
@@ -530,6 +530,10 @@ export function applyTheme(theme) {
|
||||
if (theme.buttonColor) {
|
||||
changeCss('.btn.btn-primary', 'color:' + theme.buttonColor, 2);
|
||||
}
|
||||
|
||||
if (theme.mentionHighlightBg) {
|
||||
changeCss('.mention-highlight, .search-highlight', 'background:' + theme.mentionHighlightBg, 1);
|
||||
}
|
||||
}
|
||||
export function changeCss(className, classValue, classRepeat) {
|
||||
// we need invisible container to store additional css definitions
|
||||
|
||||
Ссылка в новой задаче
Block a user