[baobab] Tweak color palette
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Tweak color palette
- Date: Sun, 28 Jun 2020 08:06:02 +0000 (UTC)
commit 50a56e486f4dc84218f4ea7896b91a67c63df929
Author: Stefano Facchini <stefano facchini gmail com>
Date: Sun Jun 28 10:02:18 2020 +0200
Tweak color palette
Rearrange the colors so that we start with red again, and remove brown.
data/baobab.css | 9 ++++-----
src/baobab-chart.vala | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/data/baobab.css b/data/baobab.css
index d67d572..fc72492 100644
--- a/data/baobab.css
+++ b/data/baobab.css
@@ -65,13 +65,12 @@ window infobar.error {
border-bottom-color: @borders;
}
-@define-color color_0 #3584e4;
-@define-color color_1 #33d17a;
+@define-color color_0 #e01b24;
+@define-color color_1 #ff7800;
@define-color color_2 #f6d32d;
-@define-color color_3 #ff7800;
-@define-color color_4 #e01b24;
+@define-color color_3 #33d17a;
+@define-color color_4 #3584e4;
@define-color color_5 #9141ac;
-@define-color color_6 #986a44;
@define-color level_color #d3d6d1;
@define-color level_color_hi #e0e2dd;
diff --git a/src/baobab-chart.vala b/src/baobab-chart.vala
index 54764df..2b2ebbc 100644
--- a/src/baobab-chart.vala
+++ b/src/baobab-chart.vala
@@ -55,7 +55,7 @@ namespace Baobab {
protected const uint MIN_DEPTH = 1;
// Keep in sync with colors defined in CSS
- const int NUM_COLORS = 7;
+ const int NUM_COLORS = 6;
bool model_changed;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]