From ab369eb75e538e4d302d8ec9e053da680f2e8b0b Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sun, 19 Jan 2020 19:12:12 +0100 Subject: [PATCH] Frontend: Add "Onyx" theme Signed-off-by: Michael Mayer --- frontend/src/css/app.css | 8 -------- frontend/src/resources/options.json | 4 ++++ frontend/src/resources/themes.json | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/frontend/src/css/app.css b/frontend/src/css/app.css index d61e62224..54bd046be 100644 --- a/frontend/src/css/app.css +++ b/frontend/src/css/app.css @@ -78,14 +78,6 @@ main { cursor: text; } -#photoprism main a.v-tabs__item { - color: #546E7A; -} - -#photoprism main a.v-tabs__item--active { - color: #455A64; -} - #photoprism .v-badge__badge { font-size: 12px; height: 19px; diff --git a/frontend/src/resources/options.json b/frontend/src/resources/options.json index f075c9887..8b346573b 100644 --- a/frontend/src/resources/options.json +++ b/frontend/src/resources/options.json @@ -30,6 +30,10 @@ "text": "Moonlight", "value": "moonlight" }, + { + "text": "Onyx", + "value": "onyx" + }, { "text": "Raspberry", "value": "raspberry" diff --git a/frontend/src/resources/themes.json b/frontend/src/resources/themes.json index cd96a05cd..99bf6257c 100644 --- a/frontend/src/resources/themes.json +++ b/frontend/src/resources/themes.json @@ -96,5 +96,22 @@ "terminal": "#333333", "navigation": "#212121", "navigation-home": "#000000" + }, + "onyx": { + "application": "#959899", + "primary": "#a5b3c0", + "secondary-dark": "#343434", + "secondary": "#656869", + "secondary-light": "#757879", + "accent": "#656565", + "error": "#E57373", + "info": "#00ACC1", + "success": "#00BFA5", + "warning": "#FFAB00", + "delete": "#E57373", + "love": "#EF5350", + "terminal": "#333333", + "navigation": "#353839", + "navigation-home": "#212121" } }