From 8a4f9ad205378f2738a2bde9fab42bf604856ef4 Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Sat, 10 Nov 2018 22:12:07 +0000 Subject: [PATCH] Adjust shades of aquamarine, cyan and orange The shades of aquamarine, cyan and orange didn't fit with the GNOME 32-colour palette. Create a set of aquamarine, cyan and orange shades which match the GNOME palette shades and update the colours of the relevant file systems accordingly. Aquamarine Hilight (#97DFC7) - Aquamarine Medium (#70D2B1) - NTFS Aquamarine Dark (#3EA281) - REFS Aquamarine Shadow (#1F7258) - Cyan Hilight (#95E3E5) - EXTENDED Cyan Medium (#6FCECE) - Cyan Dark (#3C9899) - Cyan Shadow (#166F70) - Orange Hilight (#E59F6A) - Orange Medium (#E58749) - BTRFS Orange Dark (#C26825) - ZFS Orange Shadow (#984F18) - Note that the hues of aquamarine and cyan are quite close and for the thin outlines of partitions used in GParted they aren't easy to distinguish. Hence also using different lightness to additionally separate the colour for extended partitions from NTFS and ReFS file systems. --- src/Utils.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Utils.cc b/src/Utils.cc index 2e55d162..c26d538a 100644 --- a/src/Utils.cc +++ b/src/Utils.cc @@ -94,8 +94,8 @@ Glib::ustring Utils::get_color( FSType filesystem ) case FS_UNFORMATTED: return "#000000"; // Black case FS_CLEARED: return "#000000"; // Black case FS_OTHER: return "#000000"; // Black (never displayed) - case FS_EXTENDED: return "#7DFCFE"; // Light Blue [*] - case FS_BTRFS: return "#FF9955"; // Orange [*] + case FS_EXTENDED: return "#95E3E5"; // Cyan Hilight [*] + case FS_BTRFS: return "#E58749"; // Orange Medium [*] case FS_EXFAT: return "#267726"; // Accent Green Dark case FS_EXT2: return "#7590AE"; // Blue Medium case FS_EXT3: return "#4B6983"; // Blue Dark @@ -111,7 +111,7 @@ Glib::ustring Utils::get_color( FSType filesystem ) case FS_LVM2_PV: return "#B39169"; // Face Skin Dark case FS_MINIX: return "#9DB8D2"; // Blue Highlight case FS_NILFS2: return "#826647"; // Face Skin Shadow - case FS_NTFS: return "#42E5AC"; // Light Aquamarine [*] + case FS_NTFS: return "#70D2B1"; // Aquamarine Medium [*] case FS_REISER4: return "#887FA3"; // Purple Medium case FS_REISERFS: return "#ADA7C8"; // Purple Hilight case FS_UDF: return "#105210"; // Accent Green Shadow [+] @@ -122,9 +122,9 @@ Glib::ustring Utils::get_color( FSType filesystem ) case FS_ISO9660: return "#D3D3D3"; // Light Gray [*] case FS_LINUX_SWRAID: return "#5A4733"; // Dark brown [*] case FS_LINUX_SWSUSPEND: return "#884631"; // Red Dark - case FS_REFS: return "#2AB98A"; // Medium Aquamarine [*] + case FS_REFS: return "#3EA281"; // Aquamarine Dark [*] case FS_UFS: return "#D1940C"; // Accent Yellow Dark - case FS_ZFS: return "#CC763D"; // Darker Orange [*] + case FS_ZFS: return "#C26825"; // Orange Dark [*] case FS_USED: return "#F8F8BA"; // Light Tan Yellow [*] case FS_UNUSED: return "#FFFFFF"; // White default: return "#000000"; // Black