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

Adds support for css-variables to the react common components #6291

Merged

Conversation

valadas
Copy link
Contributor

@valadas valadas commented Jan 4, 2025

This adds support for css variables to the react common components.
I needed the changes from #6279 in order to be able to on this. So if it is merged before this one, it becomes easier to review. If not and this one is merged, then this one includes it.

Out of the box styles:
image

Some ugly custom styles just to show it works:
image

valadas and others added 30 commits December 29, 2024 22:20
This replaces hardcoded values in the PersonaBar main styles to use the dnn css-variables which allows matching branding.

- The previous way to provide a PersonaBar theme still works, so if implementors want their own style to stay unchanged no matter what portal the admin UI is accessed from, that can still work by using actual values instead of the css variables.
- This does not yet include the common components and the modules themselves, I'll do that in other PRs.
david-poindexter and others added 7 commits December 31, 2024 01:29
This adds support for css variables to the react common components.
I needed the changes from dnnsoftware#6279 in order to be able to on this. So if it is merged before this one, it becomes easier to review. If not and this one is merged, then this one includes it.
@valadas valadas added this to the 10.0.0 milestone Jan 4, 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.

Fantastic (tedious I'm sure) work there @valadas - thank you! 🎉

@valadas
Copy link
Contributor Author

valadas commented Jan 4, 2025

Great catches @david-poindexter I just accepted all those suggestions

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.

Awesome @valadas

@david-poindexter david-poindexter merged commit b3bdb36 into dnnsoftware:release/10.0.0 Jan 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants