easyStudy question · answer published in Design Systems interview questions, so no pointsdesign-systemsdesign-tokensdesign-to-code
Using a token in CSS
Tokens are published as CSS custom properties. Which line correctly applies the surface background token?
:root {
--color-bg-surface: #FFFFFF;
}Discussion 0
Join free to post in the discussion.
Related questions
- Editing a main componentUI/UX Designer
- What detaching an instance doesUI/UX Designer
- Showing or hiding an icon in a componentUI/UX Designer
- Editable button label in the panelUI/UX Designer
- Choosing which icon a button showsUI/UX Designer
- Hug contents in auto layoutUI/UX Designer
- Atomic design levelsUI/UX Designer
- Slashes in component namesUI/UX Designer