1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

Add new label colors

This commit is contained in:
Maksim Eltyshev 2020-03-31 03:00:58 +05:00
parent de61d94a98
commit 3b3c657056
2 changed files with 50 additions and 20 deletions

View file

@ -1,16 +1,31 @@
import fromPairs from 'lodash/fromPairs'; import fromPairs from 'lodash/fromPairs';
const PAIRS = [ const PAIRS = [
['green', '#61bd4f'], ['berry-red', '#e04556'],
['yellow', '#f2d600'], ['pumpkin-orange', '#f0982d'],
['orange', '#ff9f1a'], ['lagoon-blue', '#109dc0'],
['red', '#eb5a46'], ['pink-tulip', '#f97394'],
['purple', '#c377e0'], ['light-mud', '#c7a57b'],
['blue', '#0079bf'], ['orange-peel', '#fab623'],
['sky', '#00c2e0'], ['bright-moss', '#a5c261'],
['lime', '#51e898'], ['antique-blue', '#6c99bb'],
['pink', '#ff78cb'], ['dark-granite', '#8b8680'],
['black', '#355263'], ['lagune-blue', '#00b4b1'],
['sunny-grass', '#bfca02'],
['morning-sky', '#52bad5'],
['light-orange', '#ffc66d'],
['midnight-blue', '#004d73'],
['tank-green', '#8aa177'],
['gun-metal', '#355263'],
['wet-moss', '#4a8753'],
['red-burgundy', '#ad5f7d'],
['light-concrete', '#afb0a4'],
['apricot-red', '#fc736d'],
['desert-sand', '#edcb76'],
['navy-blue', '#166a8f'],
['egg-yellow', '#f7d036'],
['coral-green', '#2b6a6c'],
['light-cocoa', '#87564a'],
]; ];
const KEYS = PAIRS.map((pair) => pair[0]); const KEYS = PAIRS.map((pair) => pair[0]);

View file

@ -6,16 +6,31 @@
*/ */
const COLORS = [ const COLORS = [
'green', 'berry-red',
'yellow', 'pumpkin-orange',
'orange', 'lagoon-blue',
'red', 'pink-tulip',
'purple', 'light-mud',
'blue', 'orange-peel',
'sky', 'bright-moss',
'lime', 'antique-blue',
'pink', 'dark-granite',
'black', 'lagune-blue',
'sunny-grass',
'morning-sky',
'light-orange',
'midnight-blue',
'tank-green',
'gun-metal',
'wet-moss',
'red-burgundy',
'light-concrete',
'apricot-red',
'desert-sand',
'navy-blue',
'egg-yellow',
'coral-green',
'light-cocoa',
]; ];
module.exports = { module.exports = {