summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-29 23:23:12 -0500
committerBen Sima <ben@bensima.com>2025-11-29 23:23:12 -0500
commitbe61bdba335d0c2722e6fde43a56a33fe3d1bb2a (patch)
treeb61c7df4d5abeee9dc67f17a078351e7345ecb7d
parentb5f3b9027aa0e96cd792f036a61d6b4418b39487 (diff)
Add dark mode styles for KB fact detail page form elements
The build and tests pass. The dark mode styles for KB fact detail page f Task-Id: t-190
-rw-r--r--Omni/Jr/Web/Style.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Omni/Jr/Web/Style.hs b/Omni/Jr/Web/Style.hs
index 5090e2e..21ce742 100644
--- a/Omni/Jr/Web/Style.hs
+++ b/Omni/Jr/Web/Style.hs
@@ -1679,6 +1679,15 @@ darkModeStyles =
backgroundColor "#374151"
borderColor "#4b5563"
color "#f3f4f6"
+ ".form-input" <> ".form-textarea" ? do
+ backgroundColor "#374151"
+ borderColor "#4b5563"
+ color "#f3f4f6"
+ (".form-group" |> label) ? color "#d1d5db"
+ ".danger-zone" ? do
+ backgroundColor "#450a0a"
+ borderColor "#991b1b"
+ (".danger-zone" |> h2) ? color "#f87171"
-- Responsive dark mode: dropdown content needs background on mobile
query Media.screen [Media.maxWidth (px 600)] <| do
".navbar-dropdown-content" ? do