]> git.ipfire.org Git - collecty.git/commitdiff
colors: Define a new "transparent" color
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Nov 2025 20:26:01 +0000 (20:26 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Nov 2025 20:26:01 +0000 (20:26 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/colors.h

index 520eac91b1026b91b0e5328483c0765061959f30..e397a80b74d5f59d0d1b4aa0d7d813a8b7891354 100644 (file)
@@ -39,8 +39,8 @@
 #define COLOR_DEEP_PURPLE              "#673ab7"
 
 // Make the background and canvas transparent
-#define COLOR_BACKGROUND               COLOR_WITH_ALPHA(COLOR_WHITE, COLOR_OPACITY_100P)
-#define COLOR_CANVAS                   COLOR_WITH_ALPHA(COLOR_WHITE, COLOR_OPACITY_100P)
+#define COLOR_BACKGROUND               COLOR_TRANSPARENT
+#define COLOR_CANVAS                   COLOR_TRANSPARENT
 
 // Use a dark grey for the font
 #define COLOR_FONT                             "#333333"
@@ -54,6 +54,9 @@
        Define some colours with a special meaning...
 */
 
+// Transparent - there is nothing to see
+#define COLOR_TRANSPARENT              COLOR_WITH_ALPHA(COLOR_WHITE, COLOR_OPACITY_100P)
+
 // Default - If something does not need to have a special meaning
 #define COLOR_DEFAULT                  COLOR_BLACK