Replies: 3 comments 6 replies
-
Would it be better to supply tokens for grid settings, rather than class names? |
Beta Was this translation helpful? Give feedback.
-
|
Related issues
Are these separate components? |
Beta Was this translation helpful? Give feedback.
-
|
Bumping this, since we'll need to tackle this situation soon. I propose 2 separate stylesheets that ship with RHDS:
With Layouts/Grid, we should determine which approach we want to take, and think about potential limitations as well as collect feedback from other teams. A couple approaches I'm thinking about:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We going to need to provide some base RHDS styles, similar to what we did with PFE, for basic typography and flow and phrasing content, like:
Some of these base styles could be helper classes too.
Potentially included, or perhaps a separate CSS file, could be our layouts. Though this is likely a whole separate topic on its own: is layout a component or simple classes to be applied to any block-level HTML element.
Beta Was this translation helpful? Give feedback.
All reactions