Skip to content

Use CSS properties defined in :root for exporting colors#756

Merged
danirabbit merged 3 commits intoelementary:mainfrom
wpkelso:styles-colors
Mar 18, 2025
Merged

Use CSS properties defined in :root for exporting colors#756
danirabbit merged 3 commits intoelementary:mainfrom
wpkelso:styles-colors

Conversation

@wpkelso
Copy link
Copy Markdown
Member

@wpkelso wpkelso commented Mar 18, 2025

@wpkelso wpkelso requested a review from a team March 18, 2025 17:02
Copy link
Copy Markdown
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

This doesn't actually do anything in our current version of GTK and adds an error: (granite-7-demo:23978): Gtk-WARNING **: 10:22:35.858: Theme parser error: Granite.css:1:1-6: Unknown name of pseudo-class but it doesn't appear to exactly break anything.

Except we can't remove the old color variables because that is an API break and apps use those. We should basically just remove those when we're absolutely ready to break api and bump to Granite 8 (or 9 I guess)

@wpkelso wpkelso requested a review from danirabbit March 18, 2025 18:05
@wpkelso
Copy link
Copy Markdown
Member Author

wpkelso commented Mar 18, 2025

Looks like the docs I'm referencing are 4 minor versions newer than what we're using 🙃

@danirabbit danirabbit merged commit 4b7ac6b into elementary:main Mar 18, 2025
4 checks passed
@wpkelso wpkelso deleted the styles-colors branch March 18, 2025 18:07
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