gitbutler/packages/ui/postcss.config.cjs
Pavel Laptev 88b8f4b1bb
Update the use and structure of styles (#4524)
* update the structure in the UI package

* remove styles from the app

* tokens update

* fix serif font style

* style: reduce margin-bottom in NotOnGitButlerBranch component. remove unused css

* style: Update background color on hover in Board component.

* fix fonts duplication

* styles restructuring

* GitButler WIP Commit

* watch command changed

---------

Co-authored-by: GitButler <gitbutler@gitbutler.com>
2024-07-29 11:29:54 +02:00

26 lines
552 B
JavaScript

const autoprefixer = require('autoprefixer');
const pxToRem = require('postcss-pxtorem');
const postcssNesting = require('postcss-nesting');
const postcssBundler = require('@csstools/postcss-bundler');
const postcssMinify = require('postcss-minify');
const config = {
plugins: [
pxToRem({
rootValue: 16,
unitPrecision: 5,
propList: ['*'],
selectorBlackList: [],
replace: true,
mediaQuery: false,
minPixelValue: 0
}),
autoprefixer(),
postcssNesting(),
postcssBundler(),
postcssMinify()
]
};
module.exports = config;