Architecture and Namespaces
Namespaces
We use a global .au-
namespace. Each layer of the ITCSS architecture is also namespaced according to the rules below.
Architecture
We follow the ITCSS architecture
- Settings: variables and settings
- Tools: mixins
- Generic: reset and global styles
- Elements: base html elements, e.g.: html, body, …
- Objects (OOCSS): unstyled patterns, e.g.: grid, table, flag, box, … (namespace:
.au-o-
“) - Components: atoms and components (namespace:
.au-c-
) - Utilities: single function classes (namespace:
.au-u-
) - Shame: quickfixes & temporary hacks