Commit 178c3c1
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
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments