Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Add ambiance theme for Ubuntu
Browse files Browse the repository at this point in the history
Close #138
  • Loading branch information
ColinDuquesnoy committed Oct 21, 2017
1 parent ae6e580 commit 0a775f1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/MellowPlayer/Application/Theme/Ambiance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"accent": "#e95420",
"background": "#fcfcfc",
"foreground": "#31363b",
"primary": "#3c3b37",
"primaryForeground": "white",
"secondary": "#e7e5e4",
"secondaryForeground": "#41464b"
}
1 change: 1 addition & 0 deletions lib/MellowPlayer/Application/application.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
<file>Theme/Default.json</file>
<file>Theme/Midna.json</file>
<file>Theme/MidnaDark.json</file>
<file>Theme/Ambiance.json</file>
</qresource>
</RCC>
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ Theme ThemeViewModel::customTheme() const
void ThemeViewModel::collectThemes()
{
availableThemes_["Adaptive"] = currentTheme_;
availableThemes_["Ambiance"] = loader_.load(":/MellowPlayer/Application/Theme/Ambiance.json");
availableThemes_["Breeze"] = loader_.load(":/MellowPlayer/Application/Theme/Breeze.json");
availableThemes_["BreezeDark"] = loader_.load(":/MellowPlayer/Application/Theme/BreezeDark.json");
availableThemes_["Midna"] = loader_.load(":/MellowPlayer/Application/Theme/Midna.json");
Expand Down

0 comments on commit 0a775f1

Please sign in to comment.