Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/Views/Appearance.vala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public class PantheonShell.Appearance : Switchboard.SettingsPage {
PURPLE,
PINK,
BROWN,
GRAY;
GRAY,
LATTE;

public string to_string () {
switch (this) {
Expand All @@ -54,6 +55,8 @@ public class PantheonShell.Appearance : Switchboard.SettingsPage {
return "cocoa";
case GRAY:
return "slate";
case LATTE:
return "latte";
default:
return "auto";
}
Expand Down Expand Up @@ -246,6 +249,9 @@ public class PantheonShell.Appearance : Switchboard.SettingsPage {
var slate_button = new PrefersAccentColorButton (AccentColor.GRAY, blueberry_button);
slate_button.tooltip_text = _("Slate");

var latte_button = new PrefersAccentColorButton (AccentColor.LATTE, blueberry_button);
latte_button.tooltip_text = _("Latte");

var auto_button = new PrefersAccentColorButton (AccentColor.NO_PREFERENCE, blueberry_button);
auto_button.tooltip_text = _("Automatic based on wallpaper");

Expand All @@ -262,6 +268,7 @@ public class PantheonShell.Appearance : Switchboard.SettingsPage {
accent_box.append (grape_button);
accent_box.append (cocoa_button);
accent_box.append (slate_button);
accent_box.append (latte_button);
accent_box.append (auto_button);

var accent_label = new Granite.HeaderLabel (_("Accent Color")) {
Expand Down