mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Added clean dark and clean light themes
This commit is contained in:
parent
c344474d9e
commit
930f0a7f82
3 changed files with 1357 additions and 1 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -16,6 +16,8 @@ export const ALLOWED_BOARD_COLORS = [
|
||||||
'modern',
|
'modern',
|
||||||
'moderndark',
|
'moderndark',
|
||||||
'exodark',
|
'exodark',
|
||||||
|
'cleandark',
|
||||||
|
'cleanlight',
|
||||||
];
|
];
|
||||||
export const ALLOWED_COLORS = [
|
export const ALLOWED_COLORS = [
|
||||||
'white',
|
'white',
|
||||||
|
|
|
||||||
|
|
@ -169,6 +169,8 @@ Migrations.add('use-css-class-for-boards-colors', () => {
|
||||||
'#2A80B8': 'modern',
|
'#2A80B8': 'modern',
|
||||||
'#2a2a2a': 'moderndark',
|
'#2a2a2a': 'moderndark',
|
||||||
'#222222': 'exodark',
|
'#222222': 'exodark',
|
||||||
|
'#0A0A14': 'cleandark',
|
||||||
|
'#FFFFFF': 'cleanlight',
|
||||||
};
|
};
|
||||||
Boards.find().forEach(board => {
|
Boards.find().forEach(board => {
|
||||||
const oldBoardColor = board.background.color;
|
const oldBoardColor = board.background.color;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue