From 9c9322f05e947c5c618ca7537c701eef0505898f Mon Sep 17 00:00:00 2001 From: DamsFX Date: Wed, 30 Sep 2026 19:24:36 +0200 Subject: [PATCH 1/2] fix(cli): add dark mode styles to body for error templates --- cli/templates/404.html | 5 +++++ cli/templates/500.html | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/cli/templates/404.html b/cli/templates/404.html index b4d09c002..e7ce36649 100644 --- a/cli/templates/404.html +++ b/cli/templates/404.html @@ -8,6 +8,11 @@ color: #000; font-family: monospace; text-align: center; + + @media (prefers-color-scheme: dark) { + color: #fff; + background-color: #2e2e2e; + } } .container { display: flex; diff --git a/cli/templates/500.html b/cli/templates/500.html index c02c63d83..96ca9a38d 100644 --- a/cli/templates/500.html +++ b/cli/templates/500.html @@ -9,6 +9,11 @@ color: #000; font-family: monospace; text-align: center; + + @media (prefers-color-scheme: dark) { + color: #fff; + background-color: #2e2e2e; + } } .container { display: flex; From 0330394624e871c4473c10a321719920ae28ca02 Mon Sep 17 00:00:00 2001 From: DamsFX Date: Wed, 30 Sep 2026 19:35:42 +0200 Subject: [PATCH 2/2] fix(cli): use css variables for colors --- cli/templates/404.html | 21 ++++++++++++++------- cli/templates/500.html | 29 +++++++++++++++++------------ 2 files changed, 31 insertions(+), 19 deletions(-) diff --git a/cli/templates/404.html b/cli/templates/404.html index e7ce36649..2c1819774 100644 --- a/cli/templates/404.html +++ b/cli/templates/404.html @@ -3,16 +3,23 @@ Valet - Not Found