Switch HFS and HFS Plus colours to a magenta range (#23)

Currently Linux Swap, Linux Suspend, and HFS use reds from the GNOME
32-colour palette with HFS Plus using serene red outside that palette.
    HFSPLUS       - Serene Red
    HFS           - Red Hilight
    LINUX_SWAP    - Red Medium
    LINUX_SUSPEND - Red Dark
                  - Red Shadow

Apple have a new file system, APFS (Apple File System), which is a
successor to HFS Plus [1][2].  With HFS Plus using a colour outside the
GNOME 32-colour palette and there not being enough distinct reds
available for a new file system, create a new range of magenta colours
which fit with the GNOME palette and use them for the group of Apple
file systems.
    Magenta Hilight (#D59FD4) - HFS
    Magenta Medium  (#B173B0) - HFSPLUS
    Magenta Dark    (#874986) - APFS
    Magenta Shadow  (#662C64) -

This commit just moves HFS and HFS Plus to their new magenta colours.

[1] About Apple File System
    https://developer.apple.com/documentation/foundation/file_system/about_apple_file_system

    "Overview
    Apple File System replaces HFS Plus as the default file system for
    iOS 10.3 and later, and for macOS High Sierra and later.  Apple File
    System offers improved file system fundamentals as well as several
    new features, including cloning, snapshots, space sharing, fast
    directory sizing, atomic safe-save, and sparse files.
    "

[2] Apple File System Reference
    https://developer.apple.com/support/apple-file-system/Apple-File-System-Reference.pdf

    "About Apple File System
    Apple File System is the default file format used on Apple
    platforms.  Apple File System is the successor to HFS Plus, so some
    aspects of its design intentionally follow HFS Plus to enable data
    migration from HFS Plus to Apple File System.  Other aspects of its
    design address limitations with HFS Plus and enable features such as
    cloning files, snapshots, encryption, and sharing free space between
    volumes.
    "

Closes #23 - GParted doesn't detect APFS (Apple File system)
This commit is contained in:
Mike Fleetwood 2018-11-10 11:17:07 +00:00 committed by Curtis Gedak
parent 56f1a60787
commit 893b67e2b8
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ Glib::ustring Utils::get_color( FSType filesystem )
case FS_F2FS: return "#DF421E"; // Accent Red
case FS_FAT16: return "#60C160"; // Accent Green Hilight [+]
case FS_FAT32: return "#46A046"; // Accent Green
case FS_HFS: return "#E0B6AF"; // Red Hilight
case FS_HFSPLUS: return "#C0A39E"; // Serene Red [*]
case FS_HFS: return "#D59FD4"; // Magenta Hilight [*]
case FS_HFSPLUS: return "#B173B0"; // Magenta Medium [*]
case FS_JFS: return "#E0C39E"; // Face Skin Medium
case FS_LINUX_SWAP: return "#C1665A"; // Red Medium
case FS_LUKS: return "#625B81"; // Purple Dark