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

Use CSS named variables standard #2000

Closed
wants to merge 1 commit into from

Conversation

un-pogaz
Copy link
Contributor

The CSS contain a implementation for named variables.

@un-pogaz
Copy link
Contributor Author

un-pogaz commented Aug 18, 2023

A have push on a parallele branche another commit that following this one.
He maybe to odd or superflue, I don't know. Should I add it to this pull request?

un-pogaz:function-css_variables, commit d13d1e1

@kovidgoyal
Copy link
Owner

The reason to use palette() is that these colors are based on QPalette colors which can be set on the containing widget. Currently Qt doesnt support palette(placeholder-text) but hopefully they will fix that in the future.

@un-pogaz un-pogaz closed this Aug 19, 2023
@un-pogaz un-pogaz deleted the CSS-named-variable branch August 19, 2023 08:17
@un-pogaz un-pogaz restored the CSS-named-variable branch August 19, 2023 08:19
@un-pogaz un-pogaz deleted the CSS-named-variable branch August 19, 2023 08:20
@un-pogaz un-pogaz restored the CSS-named-variable branch August 19, 2023 08:23
@un-pogaz un-pogaz reopened this Aug 19, 2023
@un-pogaz un-pogaz closed this Sep 24, 2023
@un-pogaz un-pogaz deleted the CSS-named-variable branch September 24, 2023 07:28
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