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

Project Style sheet is not added to the root of the application when none of the defined project-styles are used. #536

Closed
JayaKrishnaNamburu opened this issue Feb 3, 2021 · 0 comments · Fixed by #537
Assignees
Labels
bug Something isn't working
Milestone

Comments

@JayaKrishnaNamburu
Copy link
Member

This is related to #529, in #529 we were trying to solve the issue with project-style sheet is not being added if the global style sheet has only tokens defined and not styleSetDefinitions.

But, currently the style sheet is not added when the styleSetDefinitions as defined but not used anywhere in the project. If the global style is not used anywhere in the project then the style sheet is not imported anywhere and thus we loose the css-variables that are defined.

Should we need to add the global style-sheet to the root of the application by default. Irrespective of the no.of style defined/used.

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
1 participant