Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThemeSection: hide themes if osversion < 22 #315

Merged
merged 1 commit into from
Mar 20, 2022
Merged

Conversation

Feichtmeier
Copy link
Member

@Feichtmeier Feichtmeier commented Mar 20, 2022

The theme selector needs to be hidden if the os major version is smaller than 22 because if a gtk theme is not availible but selected gtk falls back to adwaita.
Maybe we can create new themes from all the themes in /usr/share/themes/gtk3 and look up the theme_selected_bg color with yaru.dart's functions createYaruLightTheme / createYaruDarkTheme / createMaterialColor

@Feichtmeier Feichtmeier merged commit 5f19595 into master Mar 20, 2022
@Feichtmeier Feichtmeier deleted the hide_themes branch March 20, 2022 10:58
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.

1 participant