To change any spacing/color/etc, it's currently needed to go into the component themselves. With the introduction of the templates/themes, the only viable way would be to have CSS variables.
Note: This might be broken down into several PRs/Issues.
(Color variables naming will change with this issue)
Acceptance criteria
[ ] Every hardcoded values that could be part of a design system (borders, gaps, padding, colors, etc.. almost everything minus the alignments like flex) should be converted to CSS variables
Description
To change any spacing/color/etc, it's currently needed to go into the component themselves. With the introduction of the templates/themes, the only viable way would be to have CSS variables.
Note: This might be broken down into several PRs/Issues.
Example:
should become
with
(Color variables naming will change with this issue)
Acceptance criteria