From e714547b225c03d3b7cbe735410c70daac91d6e1 Mon Sep 17 00:00:00 2001 From: mic Date: Mon, 13 May 2024 23:29:31 +0200 Subject: [PATCH] fixed lightmode css. related to #12 --- customprompts/mzta-custom-prompts.css | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/customprompts/mzta-custom-prompts.css b/customprompts/mzta-custom-prompts.css index cf668e15..b38ad9a6 100644 --- a/customprompts/mzta-custom-prompts.css +++ b/customprompts/mzta-custom-prompts.css @@ -1,3 +1,22 @@ +@media (prefers-color-scheme: light) { + table th { + background-color: #ffffff; + } + + #command_palette{ + background-color: #ffffff; + } + + table tr:nth-child(even) { + background-color: #e9e9e9; + } + + table tr:nth-child(odd) { + background-color: #f3f3f3; + } +} + + @media (prefers-color-scheme: dark) { body { background-color: #1C1B22; @@ -20,6 +39,10 @@ color: rgb(194, 194, 194); } + #command_palette{ + background-color: inherit; + } + table tr:nth-child(even) { background-color: #2E2F36; } @@ -42,7 +65,6 @@ thead { padding-top: 1px; height: 26px; width: 100%; - background-color: inherit; } #btnNew{