Skip to content

Themes for custom webcomponent #7296

Answered by ilhan007
chiragSAP asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @chiragSAP
is there an error in the console?

Usually to enable theming (e.g. using themes other than the default) for the standard components you need to import the theming assets@ui5/webcomponents/dist/Assets.js as described here.
Same goes for the custom components packages. If you used the @ui5/webcomponents-tools, you also have Assets.js file for your package. The React app that consumes your component package should import it.
I can only think of this based on the provided information.

BR,
ilhan

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ilhan007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants