Skip to content

Documentation or guideline for runtime theming #1121

Answered by Al-Dani
hiimnhan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hiimnhan

Basic idea is the following: you can provide custom values to a specific set of tokens to override default cloudscape styles.
You can apply new theme in runtime or build our components with new styles.

Theming page has more details as well as some code snippets
To play around with different token values you can go to one of the demos, click on Theme button in the upper right corner and add your values.
You can also check this small codesandbox example with runtime theming.

Let me know if that helped.

Thank you!

Replies: 1 comment 1 reply

Comment options

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

Answer selected by hiimnhan
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