Skip to content

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

Merged
david-poindexter merged 45 commits intodnnsoftware:release/10.0.0from
valadas:reac-common-css-vars
Jan 6, 2025
Merged

Adds support for css-variables to the react common components#6291
david-poindexter merged 45 commits intodnnsoftware:release/10.0.0from
valadas:reac-common-css-vars

Conversation

@valadas
Copy link
Copy Markdown
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.
…/css/theme.css

Co-authored-by: David Poindexter <dpoindexter@nvisionative.com>
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
Copy Markdown
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 and others added 7 commits January 4, 2025 18:18
…eRow/style.less

Co-authored-by: David Poindexter <dpoindexter@nvisionative.com>
…eRow/style.less

Co-authored-by: David Poindexter <dpoindexter@nvisionative.com>
…style.less

Co-authored-by: David Poindexter <dpoindexter@nvisionative.com>
…InputWithError/style.less

Co-authored-by: David Poindexter <dpoindexter@nvisionative.com>
…InputWithError/style.less

Co-authored-by: David Poindexter <dpoindexter@nvisionative.com>
…InputWithError/style.less

Co-authored-by: David Poindexter <dpoindexter@nvisionative.com>
…InputWithError/style.less

Co-authored-by: David Poindexter <dpoindexter@nvisionative.com>
@valadas
Copy link
Copy Markdown
Contributor Author

valadas commented Jan 4, 2025

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

Copy link
Copy Markdown
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
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