From febe700d4564e5c0fec0dfbda7dcfcdff0af589b Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Nov 2025 19:58:44 +0100 Subject: [WIP] Fix stop alert colours in dark mode and consolidate styling (#84) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com> --- src/frontend/app/routes/estimates-$id.css | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/frontend/app/routes/estimates-$id.css') diff --git a/src/frontend/app/routes/estimates-$id.css b/src/frontend/app/routes/estimates-$id.css index 72ade06..0658156 100644 --- a/src/frontend/app/routes/estimates-$id.css +++ b/src/frontend/app/routes/estimates-$id.css @@ -259,14 +259,12 @@ line-height: 1.4; } -@media (prefers-color-scheme: dark) { - .experimental-notice { - background-color: #3d3100; - border-color: #ffc107; - color: #ffd966; - } +[data-theme="dark"] .experimental-notice { + background-color: #3d3100; + border-color: #ffc107; + color: #ffd966; +} - .experimental-notice strong { - color: #ffd966; - } +[data-theme="dark"] .experimental-notice strong { + color: #ffd966; } -- cgit v1.3