From 5ce158d2e28867a7a7697a8bfaccdb873ff539d8 Mon Sep 17 00:00:00 2001 From: ansuz Date: Sun, 17 Apr 2016 20:21:19 +0200 Subject: [PATCH] add more colors --- www/canvas/index.html | 9 +++++++-- www/canvas/main.js | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/www/canvas/index.html b/www/canvas/index.html index 850524185..7555bbd9c 100644 --- a/www/canvas/index.html +++ b/www/canvas/index.html @@ -37,6 +37,9 @@ border: 3px solid black; padding: 5px; } + #copy { + padding-left: 75px; + } span.palette { height: 50px; width: 50px; @@ -58,8 +61,10 @@ -

Welcome to CryptCanvas!

-

Zero Knowledge Realtime Collaborative Canvas Editing

+
+

Welcome to CryptCanvas!

+

Zero Knowledge Realtime Collaborative Canvas Editing

+
diff --git a/www/canvas/main.js b/www/canvas/main.js index ce0336002..be716b200 100644 --- a/www/canvas/main.js +++ b/www/canvas/main.js @@ -37,7 +37,8 @@ define([ $width.on('change', updateBrushWidth); - var palette = ['red', 'blue', 'green', 'white', 'black', 'purple', 'gray']; + var palette = ['red', 'blue', 'green', 'white', 'black', 'purple', + 'gray', 'beige', 'brown', 'cyan', 'darkcyan', 'gold', 'yellow', 'pink']; var $colors = $('#colors'); $colors.html(function (i, val) { return palette.map(function (c) {