Skip to content

How do I apply the Default theme in Figma? And more questions about theming #3336

Answered by SiTaggart
bchicca asked this question in Help: Figma
Discussion options

You must be logged in to vote

Hi there

Aside from product limitations, once a product has adopted the Design System and its components, swapping the theme those components are rendered with, within Figma and React is a small, and straight forward change.

In Figma, using the new Components library, you should be able to use the Figma library swapping feature to switch between the default, dark, twilio and twilio dark themes. We have included a brief demonstration video here, but the direct link is also:

https://www.loom.com/share/010ce7d1aa9b45c3bb3629aa5ce6a961

In code, swapping the theme, is as simple as swapping a single prop on the theme provider.

import {Theme} from '@twilio-paste/theme';

<Theme.Provider theme="d…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by SiTaggart
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants