mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 17:28:31 +02:00
Update documentation on CSS BEM naming
This commit is contained in:
parent
4554de4a6d
commit
78eee0a9b5
1 changed files with 2 additions and 2 deletions
|
@ -263,9 +263,9 @@ Within the `registrar/assets` folder, the `_theme` folder contains three files i
|
|||
|
||||
You can also compile the **Sass** at any time using `npx gulp compile`. Similarly, you can copy over **other static assets** (images and javascript files), using `npx gulp copyAssets`.
|
||||
|
||||
### CSS convention
|
||||
### CSS classes naming
|
||||
|
||||
We use [CSS Block Element Modifier (BEM)](https://getbem.com/naming/) naming conventions for our custom classes. This is in line with how USWDS [approaches](https://designsystem.digital.gov/whats-new/updates/2019/04/08/introducing-uswds-2-0/) their CSS class architecture and helps keep our code cohesive and readable.
|
||||
We use [CSS Block Element Modifier (BEM)](https://getbem.com/naming/) naming convention for our custom classes. This is in line with how USWDS [approaches](https://designsystem.digital.gov/whats-new/updates/2019/04/08/introducing-uswds-2-0/) their CSS class architecture and helps keep our code cohesive and readable.
|
||||
|
||||
### Upgrading USWDS and other JavaScript packages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue