Open markcaron opened 10 months ago
Discussed in office hours:
reset.css
, typography.css
, page.css
, grid.css
, etc.bundles
directory, like rhds-all.css
rhds/patterns/${pattern-name}/${pattern-name}.css
CSS files could potentially live in rhds/utilities/styles
Question:
Do we need a tokens.css
to act as the interface for the semantic tokens used in typography.css
, pages.css
, etc.?
Or do we reference the primitive directly?
h1 {
font-size: var(--rh-font-size-heading-2xl, 3rem);
}
vs
h1 {
font-size: var(--rh-font-size-h1, var(--rh-font-size-heading-2xl, 3rem));
}
We need typography and general base styles for use within the design system. End solution should be a base stylesheet that we can add to our CDN or implementors can include in their sites/apps.