How to add design tokens to theme instead of css value.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 11:58 AM
Hi,
Is it achievable to add design tokens for color etc for EC theme? If so how have you achieved it?
Basically a design token is a design decision, where you have the source as truth. When it comes to branding the portal you use css values such as #ffffff.. but what you could do instead is to use a design token that defines the value from the source (ui design system).
Thanks in advance!
Best regards,
Gabriel
1 REPLY 1

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 09:38 PM
Hi @GabbbY ,
- Navigate to All > Content Management > Design > Themes.
- Click New.
- Type a name for the theme and mark it as Active.
- Right-click the form header and click Save
The Style Sheet related list appears.
- Use the Style Sheet related list to add style sheets to the theme.