forked from bigcommerce/sass-style-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_example.scss
47 lines (36 loc) · 986 Bytes
/
_example.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
// =============================================================================
// FILE TITLE
// =============================================================================
// Comment Block
// -----------------------------------------------------------------------------
//
// Purpose: This will describe when this component should be used. This comment
// block is 80 chars long
//
// -----------------------------------------------------------------------------
.component {
@extend %component;
color: #aaa;
left: 0;
line-height: 1.25;
min-height: 40rem;
padding: 0 2rem;
top: 0;
}
.component-child {
margin: 0;
}
.component-childSecond {
padding-left: 2rem;
}
// Component Sub-Section (Purpose: Describes why this section exists)
// -----------------------------------------------------------------------------
.componentPart {
color: #333;
}
.componentPart--modifier {
border: 0;
}
.componentPart-child {
color: #fff;
}