Skip to content

Commit a363796

Browse files
authored
Merge pull request #26 from codaco/feature/change-drag-drop
allow color to be set on nodes
2 parents 1458996 + 229f771 commit a363796

File tree

13 files changed

+152
-6
lines changed

13 files changed

+152
-6
lines changed

bin/build-color-dictionary.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,24 @@ const palette = {
6363
"divider": "platinum--dark",
6464
"node-base": "neon-coral",
6565
"node-dark": "neon-coral--dark",
66+
"node-alt-1": "purple-pizazz",
67+
"node-alt-1--dark": "purple-pizazz--dark",
68+
"node-alt-2": "paradise-pink",
69+
"node-alt-2--dark": "paradise-pink--dark",
70+
"node-alt-3": "barbie-pink",
71+
"node-alt-3--dark": "barbie-pink--dark",
72+
"node-alt-4": "tomato",
73+
"node-alt-4--dark": "tomato--dark",
74+
"node-alt-5": "neon-carrot",
75+
"node-alt-5--dark": "neon-carrot--dark",
76+
"node-alt-6": "mustard",
77+
"node-alt-6--dark": "mustard--dark",
78+
"node-alt-7": "kiwi",
79+
"node-alt-7--dark": "kiwi--dark",
80+
"node-alt-8": "sea-serpent",
81+
"node-alt-8--dark": "sea-serpent--dark",
82+
"node-alt-9": "cerulean-blue",
83+
"node-alt-9--dark": "cerulean-blue--dark",
6684
"edge-base": "mustard",
6785
"edge-dark": "mustard--dark",
6886
"edge-alt-1": "purple-pizazz",

lib/components/Node.js

Lines changed: 15 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/components/Node.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/components/colorDictionary.js

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/components/colorDictionary.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)