-
Notifications
You must be signed in to change notification settings - Fork 0
/
postcss.config.js
27 lines (27 loc) · 891 Bytes
/
postcss.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
module.exports = (config) => [
require("stylelint")(),
require("postcss-cssnext")({
browsers: "last 2 versions",
features: {
customProperties: {
variables: {
maxWidth: "70rem",
colorPrimaryDark: "#152737",
colorPrimary: "#1D2F3E",
colorSecondaryDark: "#0f9fB4",
colorSecondary: "#0FB493",
colorAccent: "#ed5a00",
colorNeutralDark: "#586e75",
colorNeutral: "#839496",
colorNeutralLight: "#FBFCFC",
colorText: "#555",
colorBackground: "#FEFEFE"
}
}
}
}),
require("postcss-reporter")(),
...!config.production
? [require("postcss-browser-reporter")()]
: []
]