From 3a2495be11ef9ca014468a4585cf5a2f944318e4 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Wed, 4 Aug 2021 23:58:32 +0530 Subject: [PATCH] Take accent color as user input --- themes/gokarna/layouts/partials/head.html | 5 +++++ themes/gokarna/static/css/main.css | 8 ++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/themes/gokarna/layouts/partials/head.html b/themes/gokarna/layouts/partials/head.html index 97e7638..c51d602 100644 --- a/themes/gokarna/layouts/partials/head.html +++ b/themes/gokarna/layouts/partials/head.html @@ -8,6 +8,11 @@ + diff --git a/themes/gokarna/static/css/main.css b/themes/gokarna/static/css/main.css index 507cfb7..2a579a7 100644 --- a/themes/gokarna/static/css/main.css +++ b/themes/gokarna/static/css/main.css @@ -1,7 +1,6 @@ :root { - --accent-color: #ff4d4d; --content-width: 810px; - /* light theme colors */ + --light-bg-color: white; --light-text-color: black; --light-header-bg-color: white; @@ -26,6 +25,7 @@ a { color: inherit; } +/* This is set in partials/head.html and is populated via config */ a:hover { color: var(--accent-color); } @@ -171,10 +171,6 @@ a:hover .feather-sun { padding: 1px 0; } -.footer span a { - color: inherit; -} - /** COMMON **/ .flex-break {