Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define styling workflow/process for components #16

Open
erichuffman opened this issue Oct 17, 2022 · 0 comments
Open

Define styling workflow/process for components #16

erichuffman opened this issue Oct 17, 2022 · 0 comments
Labels
components Tasks focused on shared components

Comments

@erichuffman
Copy link
Collaborator

Considerations:

  • Amount of styling to include. At a minimum whatever is required to fulfill functional requirements (e.g., an accordion-like component requires toggling the visual display of elements). Additional styling for demonstration purposes (a component's Storybook listing) should be optional.
  • Best method for accommodating 3rd party classes (i.e., define a standard process/technique for allowing utility classes to be applied to components.)

Definition of done:

  • A working example of how styling for a component would be structured so that only required styling (if needed) is available to be packaged separately from styling that's used for its display in Storybook
  • Working example should also show a best practice for accommodating utility classes from a 3rd party system (USWDS, design.cms.gov, etc.)
  • Add relevant documentation where applicable to the docs section of Storybook (like a "styling" section under a "component guidelines" section, etc.)
@erichuffman erichuffman added the components Tasks focused on shared components label Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
components Tasks focused on shared components
Projects
None yet
Development

No branches or pull requests

1 participant