-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostcss.config.js
More file actions
executable file
·58 lines (57 loc) · 1.41 KB
/
postcss.config.js
File metadata and controls
executable file
·58 lines (57 loc) · 1.41 KB
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
module.exports = (config) => {
return [
// require("stylelint")(),
require("postcss-font-magician")({
variants: {
'Roboto': {
'100': [],
'200': [],
'300': [],
'500': [],
'700': []
},
'Open Sans': {
'300': [],// light
'400': [],// regular
'700': [] // bold
},
'Source Sans': {
'300': [],// light
'400': [],// regular
'700': [] // bold
},
'Source Sans Pro': {
'300': [],// light
'400': [],// regular
'700': [] // bold
}
},
foundries: ['google']
}),
require('lost'),
require("postcss-cssnext")({
browsers: "last 2 versions",
features: {
customProperties: {
variables: {
'padding': '20px',
'header-height': '70px',
'examples-list-width': '250px',
'color-text': 'black',
'color-text-mid': 'rgb(117, 117, 117)',
maxWidth: '1200px',
//'unit': '10px',
'color-primary': '#EE4923',
'color-primary-dark': '#292b2c',
'color-primary-light': 'white',
'color-primary-grey': '#cccccc'
},
},
},
}),
require("postcss-reporter")(),
...!config.production ? [
require("postcss-browser-reporter")(),
] : [],
]
}