From cd6dfc476206ee8c8492267b44cd7bc7ae5336cb Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Sun, 8 Dec 2024 13:03:27 +0100 Subject: [PATCH] Make card context coloring dependent on dark / light scheme --- src/main/handlebars/layout.handlebars | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/handlebars/layout.handlebars b/src/main/handlebars/layout.handlebars index 5757152..5702539 100755 --- a/src/main/handlebars/layout.handlebars +++ b/src/main/handlebars/layout.handlebars @@ -364,11 +364,15 @@ position: absolute; top: .75rem; left: .75rem; - background-color: black; + background-color: var(--main-color); border-radius: .25rem; - color: white; + color: var(--text-color); padding: .125rem .4rem; + .journey a { + color: var(--text-color); + } + .journey::before { content: '—'; margin-right: .25rem; @@ -376,6 +380,7 @@ &.current { background-color: orange; + color: white; } &.current::before {