Skip to content

Commit 178c3c1

Browse files
Oleg Kalashnikovclaude
andcommitted
Use a light background for pod logs in the Light theme
The pod logs panel always rendered dark regardless of the selected theme because the Light theme definition hardcoded dark values for logsBackground/logsForeground/logRowHoverBackground (inherited verbatim from the OpenLens fork import). The logs panel already consumes these as CSS variables, so only the Light theme values need to change. Set them to light values that reuse tokens already present in the Light theme: white background (matches the light terminal background and content panes), #2d2d2d text (matches the light terminal foreground, ~13.6:1 contrast on white), and a subtle #f0f2f5 row hover. The Dark theme is unchanged. This aligns Freelens with upstream Lens, which added a light theme for pod logs in lensapp/lens#8137. Note: ANSI-colored log output is rendered via ansi_up with its own fixed palette, so logs that explicitly print white/bright-white foreground (rare) may be low-contrast on the white background. This matches how upstream shipped the same change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ef0f1c9 commit 178c3c1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/core/src/renderer/themes/lens-light.injectable.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ const lensLightThemeInjectable = getInjectable({
8787
dockBadgeBackground: "#dedede",
8888
dockTabBorderColor: "#d5d4de",
8989
dockTabActiveBackground: "#ffffff",
90-
logsBackground: "#24292e",
91-
logsForeground: "#ffffff",
92-
logRowHoverBackground: "#35373a",
90+
logsBackground: "#ffffff",
91+
logsForeground: "#2d2d2d",
92+
logRowHoverBackground: "#f0f2f5",
9393
dialogTextColor: "#87909c",
9494
dialogBackground: "#ffffff",
9595
dialogHeaderBackground: "#36393e",

0 commit comments

Comments
 (0)