Align Styles Package Structure and Documentation with Tokens? #3520
oliverschuerch
started this conversation in
Polls
Replies: 1 comment 3 replies
-
@oliverschuerch would you put CSS resets like the ones proposed under #3533 in one file or distribute them across different base element files? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The tokens package defines tree main output files for the component layer:
elements.scss
(contains sass maps for elmentsbody
,paragraph
, etc.)components.scss
(contains sass maps for components.accordion
,.lead
,.badge
, etc.)utilities.scss
(contains sass maps for utilitiesspacing
,font-size
,font-weight
, etc.)The first question we want to ask ourself is, if we should align the folder structure in the styles package accordingly?
styles/src/elements/body.scss
...
styles/src/components/tabs.scss
...
styles/src/utilities/spacing.scss
...
The second question is, if we should also align the navigation structure in the storybook documentation?
Please add your thoughts and make your choice below.
4 votes ·
Beta Was this translation helpful? Give feedback.
All reactions