Question · Angular course · Module 13: UI and Styling
CSS Variables and theming
How do you correctly read the value of the CSS variable --primary-color in a stylesheet?
Answer options
- $primary-color
- var(--primary-color)
- @primary-color
- get(--primary-color)
You can check the correct answer by solving this task in the CodeWorlds game.