From 2b657a50eaedfa0889ac7716d23f9a41e65277e3 Mon Sep 17 00:00:00 2001 From: mridula Date: Wed, 18 Nov 2026 19:23:52 +0530 Subject: [PATCH] Improve CSS styling --- style.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/style.css b/style.css index 863b81e..32c7372 100644 --- a/style.css +++ b/style.css @@ -498,3 +498,26 @@ select:focus { justify-content: space-between; margin-bottom: 12px; } +/* Dark Mode Theme */ +[data-theme="dark"] { + --bg: #0F172A; + --card: #1E293B; + --primary: #2DD4BF; + --primary-hover: #14B8A6; + --accent: #FB7185; + --text: #F1F5F9; + --muted: #94A3B8; + --border: #334155; + --ok-bg: #14532D; + --bad-bg: #7F1D1D; + --ok: #4ADE80; + --bad: #F87171; +} + +[data-theme="dark"] select { + color-scheme: dark; +} + +[data-theme="dark"] .history-table th { + background: var(--card); +} \ No newline at end of file