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

Styles: add basics #646

Merged
merged 5 commits into from
May 18, 2023
Merged

Styles: add basics #646

merged 5 commits into from
May 18, 2023

Conversation

danirabbit
Copy link
Member

@danirabbit danirabbit commented Apr 23, 2023

Screenshot from 2023-04-23 15 03 45

The eventual goal here is to provide the whole stylesheet in app as Adwaita does. For now, this is only adding fallback styles, so you'll need to manually set the stylesheet to empty in Gtk.Inspector to see any difference. This is mostly a copy/paste from elementary/stylesheet but with simplifications where possible.

This doesn't cover dark styles yet, I'm planning to add that in a follow-up branch.

  • Move common functions and constants from Index to _common
  • Add _palette
  • Add bg-color and shadow functions

Add basic styles for

  • Gtk.Window
  • Gtk.HeaderBar
  • .osd

@danirabbit danirabbit requested a review from a team May 11, 2023 21:26
@zeebok zeebok merged commit def177c into main May 18, 2023
@zeebok zeebok deleted the styles-basics branch May 18, 2023 05:12
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.

2 participants