-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsm.js
64 lines (61 loc) · 1.19 KB
/
sm.js
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
var smartgrid = require('smart-grid');
/* It's principal settings in smart grid project */
var settings = {
// filename: "smart-grid",
outputStyle: "sass",
columns: 12,
offset: "30px", // отступ межу столбцами
mobileFirst: false,
container: {
maxWidth: "1200px",
fields: "30px"
},
breakPoints: {
lg: {
width: "1200px"
},
md: {
width: "992px",
fields: "15px"
},
sm: {
width: "768px"
},
smx: {
width: "640px"
},
xs: {
width: "576px"
},
xss: {
width: "520px"
},
xxs: {
width: "380px"
}
},
mixinNames: {
container: "container",
row: "row",
rowFloat: "row-float",
rowInlineBlock: "row-ib",
rowOffsets: "row-offsets",
column: "col",
size: "cols",
columnFloat: "col-float",
columnInlineBlock: "col-ib",
columnPadding: "col-padding",
columnOffsets: "col-offsets",
shift: "shift",
from: "from",
to: "to",
fromTo: "from-to",
reset: "reset",
clearfix: "clearfix",
debug: "debug"
},
tab: " ",
defaultMediaDevice: "only screen",
// detailedCalc: false
};
smartgrid('dev/sass', settings);