-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
29 lines (20 loc) · 1.01 KB
/
main.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// We are following a pattern called ITCSS (Inverted Triangle CSS). ITCSS's
// concept is based mainly around layering on styles based on their reach within
// the DOM. We are also using this in combination with BEM and name spacing.
// Generic, far-reaching, low specificity styles are declared first:
// Settings: Global variables, config switches.
@import "01-settings/index";
// Tools: Default mixins and functions.
@import "02-tools/index";
// Generic: Ground-zero styles (Normalize.css, resets, box-sizing).
@import "03-generic/index";
// Elements: Unclassed HTML elements (type selectors).
@import "04-elements/index";
// Objects: Cosmetic-free design patterns.
@import "05-objects/index";
// Components: Designed components, chunks of UI.
@import "06-components/index";
// Trumps: Utilities and Helper classes with the ability to override everything
// and anything with an !important or that uses an ID for a selector
@import "07-trumps/index";
// Explicit, localised, higher specificity styles are declared last.