.dependabot
.github
cypress
dev-test
img
packages
scripts
website
content
data
src
static
.babelrc
.gitignore
.nvmrc
.stylelintrc
README.md
gatsby-browser.js
gatsby-config.js
gatsby-node.js
netlify.toml
package.json
postcss.config.js
yarn.lock
.all-contributorsrc
.editorconfig
.eslintrc.js
.gitignore
.nvmrc
.prettierignore
.prettierrc
.stylelintrc
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
babel.config.js
commitlint.config.js
cypress.json
jest.config.js
lerna.json
netlify.toml
package.json
renovate.json
setupTestFramework.js
tsconfig.json
yarn.lock
* website: initial conversion to gatsby v2 * fix unexpected history use warning * use commonjs only to fix gatsby error * fix gatsby import error with sidecar * remove unused postcss-colour-functions * remove unused prop * lowercase layout filename import to match actual file * chore(lint): format code
20 lines
540 B
JavaScript
20 lines
540 B
JavaScript
const neatgrid = require('postcss-neat');
|
|
const nestedcss = require('postcss-nested');
|
|
// const colorfunctions = require('postcss-colour-functions');
|
|
const hdBackgrounds = require('postcss-at2x');
|
|
const cssextend = require('postcss-simple-extend');
|
|
const cssvars = require('postcss-simple-vars-async');
|
|
|
|
const styleVariables = require('./src/theme');
|
|
|
|
module.exports = () => ({
|
|
plugins: [
|
|
neatgrid(),
|
|
nestedcss(),
|
|
// colorfunctions(),
|
|
hdBackgrounds(),
|
|
cssextend(),
|
|
cssvars({ variables: styleVariables }),
|
|
],
|
|
});
|