From 09b6b0da28e935f71c9401b6be76fd71e10e742c Mon Sep 17 00:00:00 2001 From: Tobias Hagemann Date: Thu, 26 Mar 2020 11:55:46 +0100 Subject: [PATCH 1/2] renamed secondary css classes to muted, made "locked" badge muted --- main/ui/src/main/resources/css/dark_theme.css | 9 +++++---- main/ui/src/main/resources/css/light_theme.css | 9 +++++---- main/ui/src/main/resources/fxml/new_password.fxml | 4 ++-- main/ui/src/main/resources/fxml/preferences_general.fxml | 2 +- main/ui/src/main/resources/fxml/vault_detail.fxml | 6 +++--- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/main/ui/src/main/resources/css/dark_theme.css b/main/ui/src/main/resources/css/dark_theme.css index 3c309a9da..3a586b148 100644 --- a/main/ui/src/main/resources/css/dark_theme.css +++ b/main/ui/src/main/resources/css/dark_theme.css @@ -51,6 +51,7 @@ YELLOW_5: #F1C40F; MAIN_BG: GRAY_1; + MUTED_BG: GRAY_3; TEXT_FILL: GRAY_9; TEXT_FILL_HIGHLIGHTED: PRIMARY; TEXT_FILL_MUTED: GRAY_5; @@ -95,7 +96,7 @@ -fx-text-fill: TEXT_FILL; } -.label-secondary { +.label-muted { -fx-text-fill: TEXT_FILL_MUTED; } @@ -374,9 +375,9 @@ -fx-background-color: PRIMARY; } -.badge-secondary { +.badge-muted { -fx-text-fill: white; - -fx-background-color: SECONDARY; + -fx-background-color: MUTED_BG; } /******************************************************************************* @@ -571,7 +572,7 @@ -fx-underline: true; } -.hyperlink.hyperlink-secondary { +.hyperlink.hyperlink-muted { -fx-text-fill: TEXT_FILL_MUTED; } diff --git a/main/ui/src/main/resources/css/light_theme.css b/main/ui/src/main/resources/css/light_theme.css index 3b3594ffd..cb644d901 100644 --- a/main/ui/src/main/resources/css/light_theme.css +++ b/main/ui/src/main/resources/css/light_theme.css @@ -51,6 +51,7 @@ YELLOW_5: #F1C40F; MAIN_BG: GRAY_9; + MUTED_BG: GRAY_5; TEXT_FILL: GRAY_0; TEXT_FILL_HIGHLIGHTED: PRIMARY; TEXT_FILL_MUTED: GRAY_5; @@ -95,7 +96,7 @@ -fx-text-fill: TEXT_FILL; } -.label-secondary { +.label-muted { -fx-text-fill: TEXT_FILL_MUTED; } @@ -373,9 +374,9 @@ -fx-background-color: PRIMARY; } -.badge-secondary { +.badge-muted { -fx-text-fill: white; - -fx-background-color: SECONDARY; + -fx-background-color: MUTED_BG; } /******************************************************************************* @@ -570,7 +571,7 @@ -fx-underline: true; } -.hyperlink.hyperlink-secondary { +.hyperlink.hyperlink-muted { -fx-text-fill: TEXT_FILL_MUTED; } diff --git a/main/ui/src/main/resources/fxml/new_password.fxml b/main/ui/src/main/resources/fxml/new_password.fxml index 358f027e5..b13da1245 100644 --- a/main/ui/src/main/resources/fxml/new_password.fxml +++ b/main/ui/src/main/resources/fxml/new_password.fxml @@ -19,12 +19,12 @@