mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Add Corteza theme. In progress.
Thanks to xet7 !
This commit is contained in:
parent
6dd63db16c
commit
289e78dbd2
3 changed files with 38 additions and 1 deletions
|
|
@ -229,3 +229,38 @@ setBoardColor(color)
|
|||
|
||||
.list
|
||||
border-left: 1px dotted #000000
|
||||
|
||||
.board-color-corteza
|
||||
setBoardColor(#568BA2)
|
||||
|
||||
/*
|
||||
Wekan for Corteza https://cortezaproject.org
|
||||
|
||||
Theme to match Corteza colors from:
|
||||
https://github.com/cortezaproject/corteza-webapp-messaging/blob/master/src/assets/sass/variables.scss
|
||||
|
||||
// Paths
|
||||
$fonts_dir : './assets/fonts/';
|
||||
$icomoon-font-path: $fonts_dir + 'icomoon' !default;
|
||||
$icomoon-font-family: "icomoon" !default;
|
||||
|
||||
// Typography
|
||||
$regular: 'nunito_sansregular';
|
||||
$bold: 'nunito_sansbold';
|
||||
$semibold: 'nunito_sanssemibold';
|
||||
|
||||
// Color system
|
||||
$white: #fff !default;
|
||||
$black: #000 !default;
|
||||
$primary: #568ba2;
|
||||
$secondary: #90A3B1;
|
||||
$success: #719430;
|
||||
$warning: #F5D380;
|
||||
$danger: #E85568;
|
||||
$light: #F3F3F5;
|
||||
$dark: #1e2224;
|
||||
$currentmymessagebgcolor : #a7d0e3;
|
||||
*/
|
||||
|
||||
//.header-quick-access
|
||||
// backgroud-color: #568ba2
|
||||
|
|
|
|||
|
|
@ -244,6 +244,7 @@ Boards.attachSchema(
|
|||
'midnight',
|
||||
'dark',
|
||||
'relax',
|
||||
'corteza',
|
||||
],
|
||||
// eslint-disable-next-line consistent-return
|
||||
autoValue() {
|
||||
|
|
@ -1229,7 +1230,7 @@ if (Meteor.isServer) {
|
|||
*
|
||||
* The color has to be chosen between `belize`, `nephritis`, `pomegranate`,
|
||||
* `pumpkin`, `wisteria`, `moderatepink`, `strongcyan`,
|
||||
* `limegreen`, `midnight`, `dark`, `relax`:
|
||||
* `limegreen`, `midnight`, `dark`, `relax`, `corteza`:
|
||||
*
|
||||
* <img src="https://wekan.github.io/board-colors.png" width="40%" alt="Wekan logo" />
|
||||
*
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ Migrations.add('use-css-class-for-boards-colors', () => {
|
|||
'#4BBF6B': 'limegreen',
|
||||
'#2C3E51': 'dark',
|
||||
'#27AE61': 'relax',
|
||||
'#568BA2': 'corteza',
|
||||
};
|
||||
Boards.find().forEach(board => {
|
||||
const oldBoardColor = board.background.color;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue