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

Establish CSS/ SCSS best practice #1379

Open
1 task
hanbyul-here opened this issue Jan 15, 2025 · 1 comment
Open
1 task

Establish CSS/ SCSS best practice #1379

hanbyul-here opened this issue Jan 15, 2025 · 1 comment

Comments

@hanbyul-here
Copy link
Collaborator

hanbyul-here commented Jan 15, 2025

As we adopt USWDS, the team needs to write more CSS(including SCSS). But we do not have agreement on the best practice, such as how to name the class and when to use utility classes.

Acceptance Criteria

  • Have a doc that goes through the best practice of CSS in the team

Items to include in the doc

  • how to use selectors
  • how to name classes
  • how to name files
  • when to use utility classes vs. when not to
@dzole0311
Copy link
Collaborator

I was jotting down some thoughts on this recently and collected them in this draft. It's still a draft and needs a sync with the team in order to collect more pain points and items to address: https://docs.google.com/document/d/1CySP1U3P2dElH8v-ruIWq_11E8FHpi-iZn_BSdNwcL4/edit?usp=sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants