From 113899e27863c77142d7b3465b7402911c55ff4b Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Tue, 10 Aug 2021 12:20:06 +0800 Subject: [PATCH] Fix: unify styling of theme switch with UI --- src/pages/Settings.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index ba959c5c..73e71172 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -248,10 +248,22 @@ export default { padding: 20px; } +.btn-check:active + .btn-outline-primary, +.btn-check:checked + .btn-outline-primary, +.btn-check:hover + .btn-outline-primary { + color: #fff; +} + .dark { .list-group-item { background-color: $dark-bg2; color: $dark-font-color; } + + .btn-check:active + .btn-outline-primary, + .btn-check:checked + .btn-outline-primary, + .btn-check:hover + .btn-outline-primary { + color: #000; + } }