From 0c994944aa0005edacecd1bf8eb2ae212224c318 Mon Sep 17 00:00:00 2001 From: eternal-flame-AD Date: Wed, 7 Dec 2022 09:47:20 -0600 Subject: [PATCH] update css generator --- webroot/style.tpl.css | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/webroot/style.tpl.css b/webroot/style.tpl.css index 883e0e6..65cb6b1 100644 --- a/webroot/style.tpl.css +++ b/webroot/style.tpl.css @@ -39,6 +39,58 @@ /* --bs-modal-bg: {{ theme_color "sakura" }}; */ } +/* forms */ + +.form-check-input:checked { + background-color: {{ theme_color "momo" }}; + border-color: {{ theme_color "momo" }}; +} + +/* buttons and links */ + +.btn-primary { + --bs-btn-bg: {{ theme_color "momo" }}; + --bs-btn-border-color: {{ theme_color "momo" }}; + --bs-btn-hover-bg: {{ theme_color "usubeni" }}; + --bs-btn-hover-border-color: {{ theme_color "usubeni" }}; + --bs-btn-active-bg: {{ theme_color "usubeni" }}; + --bs-btn-disabled-bg: {{ theme_color "kuriume" }}; + --bs-btn-disabled-border-color: {{ theme_color "kuriume" }}; +} + +a { + --bs-link-color: {{ theme_color "usubeni" }}; + --bs-link-hover-color: {{ theme_color "kohbai" }}; +} + +.accordion { + --bs-accordion-active-color: {{ theme_color "kohbai" }}; + --bs-accordion-active-bg: {{ theme_color "usubeni" }}55; + --bs-accordion-bg: {{ theme_color "sakura" }}33; +} + +/* tables */ + +.table { + --bs-table-bg: {{ theme_color "sakura" }}33; +} + +.table-primary { + --bs-table-bg: {{ theme_color "toki" }}AA; +} + +.text-bg-primary { + background-color: {{ theme_color "momo" }} !important; +} + +/* toast */ + + +.toast { + --bs-toast-header-bg: {{ theme_color "toki" }}; + --bs-toast-bg: {{ theme_color "sakura" }}; +} + .card .card-body { background-color: {{ theme_color "sakura" }}55; }