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

Fixed some issues with css-variables of inputs #1252

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

valadas
Copy link
Member

@valadas valadas commented Jan 14, 2025

We created a way for people to be able to customize styles of input elements with some css-variables, however some of the variables defined were not being passed down to the wrapping fieldset causing confusion.

Also the namin of those variables was a bit different from component to component, this PR also harmonizes that naming for avoiding further confusion. This rename is a slight breaking change, so I'll call attention to it in the release notes.

Example of some custom usage on a dark theme:
image

Closes #1251

We created a way for people to be able to customize styles of input elements with some css-variables, however some of the variables defined were not being passed down to the wrapping fieldset causing confusion.

Also the namin of those variables was a bit different from component to component, this PR also harmonizes that naming for avoiding further confusion. This rename is a slight breaking change, so I'll call attention to it in the release notes.
@valadas valadas added this to the 0.26.0 milestone Jan 14, 2025
@valadas valadas added the bug Something isn't working label Jan 14, 2025
Copy link
Contributor

@david-poindexter david-poindexter left a comment

Choose a reason for hiding this comment

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

Awesomeness - just one missed due to naming change of CSS vars.

@david-poindexter david-poindexter merged commit a30b5e2 into DNNCommunity:develop Jan 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dnn-input css variables overrides not working
2 participants