From 71268903fcdecca2bd1e8231bafb295adcba0c4d Mon Sep 17 00:00:00 2001 From: "Marceline (matho)" Date: Tue, 26 May 2026 13:53:01 +0000 Subject: [PATCH] [FIX] Headers overlay: unhide headers in dark mode Unhide headers were too faint in dark mode. Applying the proper body text color fixes the visibility issue. Task: 6233467 X-original-commit: 5049a578d4e5fad89e58698eecd7a79af3231662 --- .../headers_overlay/headers_overlay.css | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/components/headers_overlay/headers_overlay.css b/src/components/headers_overlay/headers_overlay.css index 1a73fc3295..4c1119a37d 100644 --- a/src/components/headers_overlay/headers_overlay.css +++ b/src/components/headers_overlay/headers_overlay.css @@ -6,6 +6,7 @@ right: var(--os-scrollbar-width); height: var(--os-header-height); width: calc(100% - var(--os-header-width) + var(--os-scrollbar-width)); + color-scheme: light; &.o-dragging { cursor: grabbing; } @@ -41,9 +42,12 @@ height: 10000px; background-color: var(--os-selection-border-color); } - .o-unhide:hover { - z-index: calc(var(--os-components-importance-grid) + 1); - background-color: var(--os-gray-400); + .o-unhide { + color: var(--os-text-body); + &:hover { + z-index: calc(var(--os-components-importance-grid) + 1); + background-color: var(--os-gray-400); + } } } @@ -53,6 +57,7 @@ left: 0; bottom: var(--os-scrollbar-width); width: var(--os-header-width); + color-scheme: light; &.o-dragging { cursor: grabbing; } @@ -88,9 +93,12 @@ height: 1px; background-color: var(--os-selection-border-color); } - .o-unhide:hover { - z-index: calc(var(--os-components-importance-grid) + 1); - background-color: var(--os-gray-400); + .o-unhide { + color: var(--os-text-body); + &:hover { + z-index: calc(var(--os-components-importance-grid) + 1); + background-color: var(--os-gray-400); + } } }