Repository navigation
Improve GTK3 list contrast in the adw-gtk3 theme - #15
Merged
Merged
Conversation
Selected rows rendered the view foreground on the accent background (about 1.9:1) and treeview column headers were mixed down to about 3:1. Append overrides to the packaged theme instead of the Noctalia-managed gtk.css, which Home Manager cannot own. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
PR #13 の adw-gtk3 は、Thunar のようなリストで読みにくい箇所があった。
pkgs.adw-gtk3のpostInstallでテーマの gtk.css に補正を追記した。選択行の文字は@accent_fg_color(noctalia の #1a1b26)、列見出しは本文色に寄せる。配置先の理由
~/.config/gtk-3.0/gtk.cssは noctalia が実行時に書き換えるため、Home Manager のextraCssでは管理できない。gtk-dark.cssは GTK3 がユーザー側で読む保証を確認できなかった。テーマ側に追記すれば GTK の挙動に依存しない。テーマ名はadw-gtk3-darkのまま。確認
GTK_THEME=adw-gtk3-darkで起動して before / after を比較: 列見出しのコントラスト 2.6 → 6.1、選択行の文字が暗い色になったnix flake check --no-buildが成功。switch は未実行注意
adw-gtk3 のバージョンを上げたときは、追記した CSS が新しいスタイルと合うか確認する。
🤖 Generated with Claude Code