Skip to content

Use CSS files for Global styles #324

Answered by nmn
michaldromi asked this question in Q&A
Discussion options

You must be logged in to vote

Use a CSS file for this. StyleX is encapsulated component styles only. And global styles should never be shared with components, as they break encapsulation.

Replies: 3 comments 3 replies

Comment options

nmn
Jan 9, 2024
Collaborator

You must be logged in to vote
1 reply
@michaldromi
Comment options

Answer selected by nmn
Comment options

You must be logged in to vote
1 reply
@nmn
Comment options

nmn Jan 9, 2024
Collaborator

Comment options

You must be logged in to vote
1 reply
@nmn
Comment options

nmn Jan 9, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants