1
0
mirror of https://github.com/kognise/water.css.git synced 2025-10-25 02:16:10 +02:00

Add spacing around scrollbar (#277)

* Add spacing around scrollbar

* Fix scrollbar in auto theme and remove color-mod

* Add changesets

Co-authored-by: Felix Mattick <felix.mattick@gmail.com>
This commit is contained in:
Adam Rose
2022-01-20 16:06:43 -05:00
committed by GitHub
parent a256203789
commit d4a5412de4
10 changed files with 28 additions and 46 deletions

View File

@@ -17,10 +17,6 @@ const sizereport = require('gulp-sizereport')
const postcssCssVariables = require('postcss-css-variables')
const postcssImport = require('postcss-import')
const postcssInlineSvg = require('postcss-inline-svg')
const postcssColorModFunction = require('postcss-color-mod-function').bind(null, {
/* Use `.toRGBLegacy()` as other methods can result in lots of decimals */
stringifier: (color) => color.toRGBLegacy()
})
const paths = {
docs: { src: 'docs/**', dest: 'out/docs' },
@@ -58,7 +54,7 @@ const style = () => {
return (
gulp
.src(paths.styles.src)
.pipe(postcss([postcssImport(), postcssColorModFunction(), postcssInlineSvg()]))
.pipe(postcss([postcssImport(), postcssInlineSvg()]))
.pipe(startDiff())
.pipe(postcss([postcssCssVariables({ preserve: true })]))