From 7733b9692bbde43cf8ceabf1d9c20e45e453bd32 Mon Sep 17 00:00:00 2001 From: TriMill Date: Tue, 18 Oct 2022 10:27:37 -0400 Subject: [PATCH] forgot to update css file --- flaskr/static/style.css | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/flaskr/static/style.css b/flaskr/static/style.css index 820f02c..3f41742 100644 --- a/flaskr/static/style.css +++ b/flaskr/static/style.css @@ -70,11 +70,24 @@ --fg-faded: #444444; --accent-1: blue; --accent-1-dark: darkblue; - --accent-2: #0088ff; - --accent-2-dark: #004488; + --accent-2: blue; + --accent-2-dark: darkblue; --error: #880000; } +:root[theme="contrast-dark"] { + --bg: black; + --bg-intense: black; + --bg-faded: #333333; + --fg: white; + --fg-faded: #cccccc; + --accent-1: #44c0ff; + --accent-1-dark: #2280bb; + --accent-2: #44c0ff; + --accent-2-dark: #2280bb; + --error: #ff8888; +} + :root[theme="special"] { --bg: #ffff00; --bg-intense: #ffffff; @@ -175,7 +188,7 @@ a { text-decoration: none; } -:root[theme="contrast"] a { +:root[theme="contrast"] a, :root[theme="contrast-dark"] a { text-decoration: underline; } @@ -210,7 +223,7 @@ pre { border-left: 5px solid var(--accent-2-dark); } -button, input, select { +button, input, select, textarea { color: var(--fg); background-color: var(--bg-faded); border: 2px solid var(--fg-faded); @@ -229,4 +242,4 @@ button:active, input[type=button]:active { .error { color: var(--error); -} \ No newline at end of file +}