Releases: csstime/csstime-gulp-tasks
Introduce "variables" in config for preprocessors
Better error handling
6.0.2 v6.0.2
SASS support
Now it's possible to use LESS or SASS for your styles.
Just set preprocessor
in the config for csstime and store less/styles.less
or sass/styles.scss
inside assets of components.
Read more in Migration guide.
Added excludes for Csscomb config
5.1.0 v5.1.0
Remove support for svg2png fallback
5.0.0 v5.0.0
Svg symbols support
Now you can combine your svg-icons to single symbols.svg
file. Just store your svg icons in assets/symbols
directory.
Default configuration options:
"svgSymbolsDir": "symbols"
"svgSymbolsFileName": "symbols"
"useSvgSymbols": false
// set it to true
"svgSymbolsPrefix": "icon-"
"svgstoreConfig": { "inlineSvg": true }"
Plugin gulp-svgstore will be used to generate single svg-file with symbols.
How to use svg-symbols you can read here.
Themes support
Now you can split css-bundle to several files. To do that put named less-files to less/themes
directory and describe such names in themedStylesFileNames
section of config.
For example,
Create assets/less/themes/dark.less
and add config section themedStylesFileNames: ['dark']
.
After the build process you will get separated themes/dark.css
file.
Support component-based approach
- recursively search for components in specified directories,
- read name of component in component.json
- new names of default directories
- incremental builds.
Remove gulp-pleeease, add PostCSS processors
Merge pull request #7 from csstime/develop Remove gulp-pleeease, add PostCSS processors
Refactored tasks to cache plugins and optimise the execution
v2.0.0 Update readme