From 7a576f9ae45149d25200450dcf085960f39b8099 Mon Sep 17 00:00:00 2001 From: helioguardabaxo Date: Sat, 16 May 2020 18:07:38 -0300 Subject: Added natural theme --- client/components/boards/boardColors.styl | 19 +++++++++++++++++++ models/boards.js | 3 ++- server/migrations.js | 3 ++- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/client/components/boards/boardColors.styl b/client/components/boards/boardColors.styl index dddf988b..6b3994ff 100644 --- a/client/components/boards/boardColors.styl +++ b/client/components/boards/boardColors.styl @@ -526,3 +526,22 @@ setBoardClear(color1,color2) .board-color-clearblue setBoardClear(rgb(73, 155, 234),rgb(0, 174, 204)) + +/* + Alternate "Natural" Styling +*/ +.board-color-natural + setBoardColor(#596557) + + &#header-quick-access + background-color: #2d392b + + .ui-sortable + background-color:#dedede + + .list-header + background-color: #c9cfc3 + border-bottom: 6px solid #c9cfc3 + + .swimlane .swimlane-header-wrap + background-color: #c2c0ab diff --git a/models/boards.js b/models/boards.js index 8e247504..edfc7240 100644 --- a/models/boards.js +++ b/models/boards.js @@ -255,7 +255,8 @@ Boards.attachSchema( 'dark', 'relax', 'corteza', - 'clearblue' + 'clearblue', + 'natural', ], // eslint-disable-next-line consistent-return autoValue() { diff --git a/server/migrations.js b/server/migrations.js index 6eed0606..ccf875df 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -119,7 +119,8 @@ Migrations.add('use-css-class-for-boards-colors', () => { '#2C3E51': 'dark', '#27AE61': 'relax', '#568BA2': 'corteza', - '#499BEA': 'clearblue' + '#499BEA': 'clearblue', + '#596557': 'natural', }; Boards.find().forEach(board => { const oldBoardColor = board.background.color; -- cgit v1.2.3-1-g7c22