[gnome-notes/127-add-more-colors-to-the-default-palette] color-button: implement new default palette



commit 49b9f39267f4918e252ec860f305e6ab9ea47875
Author: Isaque Galdino <igaldino@gmail>
Date:   Thu Dec 26 00:29:46 2019 -0300

    color-button: implement new default palette

 src/bjb-color-button.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/src/bjb-color-button.c b/src/bjb-color-button.c
index e094760..21e929e 100644
--- a/src/bjb-color-button.c
+++ b/src/bjb-color-button.c
@@ -24,14 +24,18 @@
 
 #include "bjb-color-button.h"
 
-// Bijiben probably wants something like 6 light colors
-#define BJB_NUM_COLORS 4
-
-static const gchar *palette_str[BJB_NUM_COLORS] = {
-  "rgb(239, 242, 209)", // eff2d1 from the mockup
-  "rgb(210, 219, 230)", // d2dbe6 from the mockup
-  "rgb(229, 230, 210)", //
-  "rgb(235, 239, 244)", //
+// GIMP Palette
+#define BJB_NUM_COLORS 8
+
+static const char *palette_str[BJB_NUM_COLORS] = {
+  "rgb(153, 193, 241)", // Blue 1
+  "rgb(143, 240, 164)", // Green 1
+  "rgb(249, 240, 107)", // Yellow 1
+  "rgb(255, 190, 111)", // Orange 1
+  "rgb(246,  97,  81)", // Red 1
+  "rgb(220, 138, 221)", // Purple 1
+  "rgb(205, 171, 143)", // Brown 1
+  "rgb(255, 255, 255)", // Light 1
 };
 
 struct _BjbColorButton


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]