mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: add new brite skin from bootswatch
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
// fixes for global skin issues
|
// fixes for global skin issues
|
||||||
|
|
||||||
|
// brite text-secondary is white :/
|
||||||
|
.skin-brite .text-secondary {
|
||||||
|
color: var(--bs-secondary-color) !important;
|
||||||
|
}
|
||||||
|
|
||||||
// fix minty buttons
|
// fix minty buttons
|
||||||
.skin-minty .btn{
|
.skin-minty .btn {
|
||||||
color: initial!important;
|
color: initial!important;
|
||||||
}
|
}
|
||||||
@@ -16,7 +16,7 @@ const utils = require('../utils');
|
|||||||
const CSS = module.exports;
|
const CSS = module.exports;
|
||||||
|
|
||||||
CSS.supportedSkins = [
|
CSS.supportedSkins = [
|
||||||
'cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', 'litera',
|
'brite', 'cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', 'litera',
|
||||||
'lumen', 'lux', 'materia', 'minty', 'morph', 'pulse', 'quartz', 'sandstone',
|
'lumen', 'lux', 'materia', 'minty', 'morph', 'pulse', 'quartz', 'sandstone',
|
||||||
'simplex', 'sketchy', 'slate', 'solar', 'spacelab', 'superhero', 'united',
|
'simplex', 'sketchy', 'slate', 'solar', 'spacelab', 'superhero', 'united',
|
||||||
'vapor', 'yeti', 'zephyr',
|
'vapor', 'yeti', 'zephyr',
|
||||||
@@ -270,7 +270,7 @@ CSS.getSkinSwitcherOptions = async function (uid) {
|
|||||||
{ name: '[[user:no-skin]]', value: 'noskin', selected: userSettings.bootswatchSkin === 'noskin' },
|
{ name: '[[user:no-skin]]', value: 'noskin', selected: userSettings.bootswatchSkin === 'noskin' },
|
||||||
];
|
];
|
||||||
const lightSkins = [
|
const lightSkins = [
|
||||||
'cerulean', 'cosmo', 'flatly', 'journal', 'litera',
|
'brite', 'cerulean', 'cosmo', 'flatly', 'journal', 'litera',
|
||||||
'lumen', 'lux', 'materia', 'minty', 'morph', 'pulse', 'sandstone',
|
'lumen', 'lux', 'materia', 'minty', 'morph', 'pulse', 'sandstone',
|
||||||
'simplex', 'sketchy', 'spacelab', 'united', 'yeti', 'zephyr',
|
'simplex', 'sketchy', 'spacelab', 'united', 'yeti', 'zephyr',
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user