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