docbrown/docs/frontend/styles.md
Nick Taylor d6cdedba9a More updates to frontend documentation (#5724)
* Updated styles documentation.

* Added some docs about dynamic import usage.

* Updated architecture overview doc.

* Changed some wording

* Changed some wording
2020-01-27 12:51:55 -05:00

991 B

title
Styles

Styles

The majority of the CSS in the application is written in SASS. There are a few places in the code base that have style blocks in ERB templates, for inlining critical CSS (good). There are also some styles that live in ERB templates that are not critical CSS (bad). That is a bit of refactoring that needs to be done. PRs welcome!

Important files when working with SASS in the project:

SASS is compiled and served using Sprockets which packages static assets in Rails.

For more about branding, theming or design in general in regards to DEV, refer to the Design Guide documentation.