woocommerce/plugins/woocommerce-admin/docs/stylesheets.md

12 lines
547 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CSS
## Folder/File Structure
- `/shared/*` these are the styles that will appear in compiled CSS - the reset, gutenberg components import, etc
- `/_embedded.scss` this file is used for the embed pages CSS, and is imported in `embedded.js` only
- `/_index.scss` this file is used for the app's CSS, and is imported in `index.js` only
## Naming: Component classes
Please refer to [CSS SASS coding guidelines and naming conventions](https://github.com/woocommerce/woocommerce/wiki/CSS-SASS-coding-guidelines-and-naming-conventions)