From e1e9c619e05cd55495ad8ac6a1f4323ef5ef6a95 Mon Sep 17 00:00:00 2001 From: Jarno Rankinen Date: Sat, 10 Feb 2024 18:55:14 +0200 Subject: [PATCH] Theme improvements --- static/css/dark-style.css | 7 +++++++ static/css/dark-style.scss | 9 +++++++++ static/css/light-style.css | 3 +++ static/css/light-style.scss | 4 ++++ templates/index.html | 15 ++++++++------- 5 files changed, 31 insertions(+), 7 deletions(-) diff --git a/static/css/dark-style.css b/static/css/dark-style.css index 1b94f96..ca43ecf 100644 --- a/static/css/dark-style.css +++ b/static/css/dark-style.css @@ -4,13 +4,20 @@ --theme-color: #b5b5b5; --thin-color: #bd93f9; --title-color: #F8F8F2; + --section-title-color: #00d1b2; --subtitle-color: #d9d9d4; } .title { color: var(--title-color); } +.section-title { + color: var(--section-title-color); } + .subtitle { color: var(--subtitle-color); } .tag:not(body).is-primary { color: #2f2f2f; } + +.tag:not(body).is-success { + background-color: var(--section-title-color); } diff --git a/static/css/dark-style.scss b/static/css/dark-style.scss index 20db250..1bc6c71 100644 --- a/static/css/dark-style.scss +++ b/static/css/dark-style.scss @@ -2,6 +2,7 @@ --theme-color: #b5b5b5; --thin-color: #bd93f9; --title-color: #F8F8F2; + --section-title-color: #00d1b2; --subtitle-color: #d9d9d4; } @@ -12,10 +13,18 @@ color: var(--title-color); } +.section-title { + color: var(--section-title-color); +} + .subtitle { color: var(--subtitle-color); } .tag:not(body).is-primary { color: #2f2f2f; +} + +.tag:not(body).is-success { + background-color: var(--section-title-color); } \ No newline at end of file diff --git a/static/css/light-style.css b/static/css/light-style.css index 2bd13b5..82e10e8 100644 --- a/static/css/light-style.css +++ b/static/css/light-style.css @@ -92,3 +92,6 @@ body { page-break-inside: avoid; } html { color-adjust: exact; } } + +.tag:not(body).is-success { + background-color: var(--section-title-color); } diff --git a/static/css/light-style.scss b/static/css/light-style.scss index 7a71a7b..3a0ebae 100644 --- a/static/css/light-style.scss +++ b/static/css/light-style.scss @@ -5,3 +5,7 @@ @import "bulma.css"; @import 'base.scss'; + +.tag:not(body).is-success { + background-color: var(--section-title-color); +} diff --git a/templates/index.html b/templates/index.html index beb5bc4..b224c06 100644 --- a/templates/index.html +++ b/templates/index.html @@ -25,6 +25,7 @@