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

BUG - Add --pst-color-heading fallback #2082

Merged

Conversation

trallard
Copy link
Collaborator

Nick pointed in #2058 (comment) that the --pst-heading-color variable is used by folks to customise the headings colour (this was the colour variable before #2058 which brought this in line with our naming convention --pst-color-heading).

This change effectively renders the use of --pst-heading-color useless, so this PR adds a fallback mechanism for this variable.

I also added a note about --pst-color-heading being our preferred variable.
This is not a "big" breaking change, but it will likely affect folks who do not have their PST version pinned since I just made a release. So, it might be worth publishing this change in a follow-up.

@trallard trallard added the kind: bug Something isn't working label Dec 17, 2024
@trallard trallard mentioned this pull request Dec 17, 2024
Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

Copy link
Collaborator

@drammock drammock left a comment

Choose a reason for hiding this comment

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

too bad there isn't a way to surface a runtime warning with CSS variables. But this isn't onerous to maintain, so we can just plan to let it sit for a few releases and then remove the old var at some distant future time.

@trallard
Copy link
Collaborator Author

too bad there isn't a way to surface a runtime warning with CSS variables.

I thought about this myself, keeping this around for a few releases sounds good.

@trallard trallard added this to the 0.16.2 milestone Dec 17, 2024
@trallard trallard merged commit 9b92ec9 into pydata:main Dec 17, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants