Skip to content

feat: use adwaita headerbar vars for toolbar style#398

Open
RobertMueller2 wants to merge 1 commit intoSatty-org:mainfrom
RobertMueller2:adwaita_vars
Open

feat: use adwaita headerbar vars for toolbar style#398
RobertMueller2 wants to merge 1 commit intoSatty-org:mainfrom
RobertMueller2:adwaita_vars

Conversation

@RobertMueller2
Copy link
Member

Closes: #213
Closes: #396

Adwaita provides theme variables for
headerbars
, use those instead of hardcoded values.

Also, move default css into its own file (#213).

The current implementation adds the overrides.css file to the same provider. This clears all default settings. This commit addresses this by adding an additional provider if the overrides file is present.

Lastly, mention override in README.

Closes: Satty-org#213
Closes: Satty-org#396

Adwaita provides [theme variables for
headerbars](https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/css-variables.html#header-bar-colors), use those instead of
hardcoded values.

Also, move default css into its own file (Satty-org#213).

The current implementation adds the overrides.css file to the
same provider. This clears all default settings. This commit addresses
this by adding an additional provider if the overrides file is present.

Lastly, mention override in README.
@RobertMueller2 RobertMueller2 added this to the 0.21.0 milestone Feb 6, 2026
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.

Make foreground and background colors follow GTK theme Move CSS out of main.rs

1 participant