From bc4e3b0f7230c242c17fdcb9e6de6b833996c24f Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 14 May 2024 23:39:48 +0800 Subject: [PATCH] Fix red too faint in dark mode --- src/app.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app.css b/src/app.css index b1495345..1a37f161 100644 --- a/src/app.css +++ b/src/app.css @@ -1966,6 +1966,10 @@ body > .szh-menu-container { .szh-menu .szh-menu__item.danger:not(.szh-menu__item--disabled).szh-menu__item--hover { background-color: var(--red-text-color); + + @media (prefers-color-scheme: dark) { + background-color: var(--red-color); + } } .szh-menu .szh-menu__item:not(.szh-menu__item--disabled):not(