From fa9467811859cd9c2d595f5a79819ce3aca91e26 Mon Sep 17 00:00:00 2001 From: rstular Date: Sun, 17 May 2020 22:56:38 +0200 Subject: Theme fixes --- assets/css/styles.css | 11 ++++++++++- assets/js/lib/themes.js | 2 ++ assets/pages-src/misc/msg-compose-modal.bvr | 4 ++-- dist/css/styles.css | 11 ++++++++++- dist/js/lib/themes.js | 2 ++ dist/pages/about.html | 2 +- dist/pages/messaging.html | 4 ++-- dist/sw.js | 4 ++-- 8 files changed, 31 insertions(+), 9 deletions(-) diff --git a/assets/css/styles.css b/assets/css/styles.css index bbe144e..0d64ea7 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -13,6 +13,7 @@ --color-header-span: rgba(255, 255, 255, 1); --color-text: rgba(0, 0, 0, 1); + --color-label-text: rgba(158, 158, 158, 1); --color-table-hover: rgba(242, 242, 242, 0.5); --color-sidenav-background: rgba(255, 255, 255, 1); @@ -22,6 +23,7 @@ --color-btn-flat: rgba(52, 52, 52, 1); --color-btn-flat-disabled: rgba(178, 178, 178, 1); + } body { @@ -158,8 +160,11 @@ a.collection-item { box-shadow: 0 1px 0 0 var(--color-invalid); } -/* icon prefix focus color */ +i.material-icons.prefix { + color: var(--color-label-text) !important; +} +/* icon prefix focus color */ .input-field .prefix.active { color: var(--color-primary); } @@ -330,6 +335,10 @@ h5.subheader { color: var(--color-btn-flat-disabled) !important; } +.modal-text-header { + color: var(--color-text); +} + .dropdown-content { background: var(--background-accent-1) !important; } diff --git a/assets/js/lib/themes.js b/assets/js/lib/themes.js index 509ff56..eb2f61c 100644 --- a/assets/js/lib/themes.js +++ b/assets/js/lib/themes.js @@ -14,6 +14,7 @@ const THEME_COLOR_SCHEMES = { "color-header-span": "rgba(255, 255, 255, 1)", "color-text": "rgba(0, 0, 0, 1)", + "color-label-text": "rgba(158, 158, 158, 1)", "color-table-hover": "rgba(242, 242, 242, 0.5)", "color-sidenav-background": "rgba(255, 255, 255, 1)", @@ -40,6 +41,7 @@ const THEME_COLOR_SCHEMES = { "color-header-span": "rgba(255, 255, 255, 1)", "color-text": "rgba(255, 255, 255, 1)", + "color-label-text": "rgba(158, 158, 158, 1)", "color-table-hover": "rgba(70, 70, 70, 0.5)", "color-sidenav-background": "rgba(31, 31, 31, 1)", diff --git a/assets/pages-src/misc/msg-compose-modal.bvr b/assets/pages-src/misc/msg-compose-modal.bvr index f7bdc7d..38332f0 100644 --- a/assets/pages-src/misc/msg-compose-modal.bvr +++ b/assets/pages-src/misc/msg-compose-modal.bvr @@ -3,8 +3,8 @@