This repository has been archived by the owner on Apr 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
107 lines (85 loc) · 2.08 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
////
/// Stylesheet: Main Frontend
/// ************************************************************
///
/// This stylesheet is loaded in the frontend.
///
/// >------------------>
///
/// 1 Globals & Dependencies
///
/// 2 Libs
///
/// Functions
/// Mixins
/// Variables
/// Symbols
/// Palettes
/// Typography
/// Accesibility
/// Admin Bar
///
/// 3 Modules
///
/// 4 Frontend Styles
///
/// 5 Vendor Frontend Styles
///
/// <------------------<
///
/// @link http://thesassway.com/advanced/modular-css-naming-conventions
/// @link http://www.sitepoint.com/architecture-sass-project/
////
///
/// 1 GLOBALS & DEPENDENCIES
///
/// Configure your theme includes & paths in these files
///
@import "globals";
@import "vendor/front_deps";
///
/// 2 LIBS
///
/// Note: the order of imports is important
///
// Functions
@import "lib/util/functions";
// Mixins
@import "lib/util/mixins";
// Palettes
@import "lib/palettes/main";
// Variables
@import "lib/variables";
// Symbols
@import "lib/symbols";
// Typography
@import "lib/typography";
// Accesibility Style
@import "lib/accessibility";
// Admin bar
@import "lib/admin_bar";
///
/// 3 /MODULES
///
/// This directory contains partials and placeholders, and is reserved for reusable UI patterns.
///
/// As a general rule of thumb, anytime you anticipate needing the same CSS more than once,
/// you should modularize it. The more your project matures, the more CSS you should be able
/// to compartmentalize into modules. Preferably, each module contains a mixin at the top
/// with corresponding declarations at the bottom for including that mixin.
///
/// Crafting your modules in this fashion helps you start thinking about CSS in a more
/// modular way. They are also easier to expand upon and/or extend in the future.
///
@import "lib/modules/main";
///
/// 4 FRONTEND STYLES
///
@import "front/main";
///
/// 5 VENDOR
///
/// Vendor specific styles, for WordPress plugins,
/// js libraries, or other third party libraries.
///
@import "vendor/front/main";