Skip to content

Light theme: fix GTK entries, prompt and waybar contrast - #143

Merged
TriTacLe merged 8 commits into
masterfrom
feat/light-theme
Oct 28, 2026
Merged

TriTacLe merged 8 commits into
masterfrom
feat/light-theme

Conversation

@TriTacLe

Copy link
Copy Markdown
Owner

Closes #142

Adds catppuccin-latte and fixes the three things that still read as dark or fail
WCAG AA once the theme is light.

The wofi search entry was the stubborn one. It came from ~/.config/gtk-3.0/gtk.css,
which hardcoded entry { background-color: #1e1e2e } and loads at PRIORITY_USER (800)
against wofi's own stylesheet at PRIORITY_APPLICATION (600), so specificity could never
win. That file is now a stow package coloured from the generated names, which also
fixes file manager views, headerbars and sidebars.

theme_apply.sh now writes a powerlevel10k colour sidecar per variant. The rainbow
preset paints segment backgrounds from terminal colours 0-7 and writes black on top,
which only works when those colours are light; the light palette darkens them so they
work as text, which left the git segment at 1.19:1.

The relaunch now polls for the old process to actually be gone instead of sleeping a
fixed amount. Verified over five consecutive switches, waybar and swaync alive each
time.

Latte accents are darkened to WCAG AA; upstream fails on a light background.
It was hardcoding mocha and loads at PRIORITY_USER, so it beat every app stylesheet.
Also poll for the old process instead of sleeping, which left waybar dead.
Copilot AI balanced review requested due to automatic review settings October 27, 2026 12:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@TriTacLe
TriTacLe merged commit 9a319d5 into master Oct 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Light mode leaves GTK entries, the prompt and waybar unreadable

2 participants