-
Notifications
You must be signed in to change notification settings - Fork 97
/
atomizer.config.js
42 lines (41 loc) · 1.45 KB
/
atomizer.config.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
module.exports = {
breakPoints: {
xs: '@media screen and (max-width:700px)',
sm: '@media screen and (min-width:700px)',
md: '@media screen and (min-width:999px)',
lg: '@media screen and (min-width:1200px)',
contmw300: '@container width300 (max-width: 300px)',
},
content: ['app/components/', 'app/assets/js', 'docs/'],
custom: {
hamburgerImage: 'url(https://s.yimg.com/os/acss/images/menu.d6610eea.png)',
rwdFontSize: {
xs: '12px',
sm: '22px',
md: '32px',
lg: '42px',
},
// grid related custom variables
colAside: 'aside',
colMain: 'main',
columnWidth: '20px',
gridABC: `"a a a"
"b c c"
"b c c"`,
gridABCUnit: `"a a a" 40px
"b c c" 40px
"b c c" 40px / 1fr 1fr 1fr;`,
gridContent: 'c',
gridHeader: 'a',
gridMinMax: 'minmax(10px, 120px)',
gridNav: 'b',
rowOneFixed: '[col1] 100px [col1-end] repeat(auto-fit, [line3] 200px)',
spanTwo: 'span 2',
threeColEvenGrid: 'repeat(3, minmax(20px, 1fr))',
twoCol: '1 / span 2',
twoColEvenGrid: 'repeat(2, minmax(20px, 1fr))',
twoColNamedGrid:
'[#{colMain}-start] repeat(9,minmax(0,1fr)) [#{colMain}-end #{colAside}-start] repeat(3,minmax(0,1fr)) [#{colAside}-end]',
width300: 'width300',
},
};