mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Revamp CSS template system using var() feature
This commit is contained in:
parent
92bbaadbf3
commit
d9bece04b2
30 changed files with 317 additions and 530 deletions
|
|
@ -12,6 +12,7 @@ const expect = require('gulp-expect-file');
|
|||
const { config } = require('./config');
|
||||
const { del } = require('./common');
|
||||
|
||||
const cleanCss = require('gulp-clean-css');
|
||||
const cssClean = () => del(config.paths.staticCSS + '/*.css');
|
||||
|
||||
const cssBootBuild = () => {
|
||||
|
|
@ -50,7 +51,6 @@ const cssMainBuild = () => {
|
|||
};
|
||||
|
||||
const cssBootMin = () => {
|
||||
const cleanCss = require('gulp-clean-css');
|
||||
return gulp
|
||||
.src(config.paths.staticCSS + config.paths.css.boot.name)
|
||||
.pipe(cleanCss())
|
||||
|
|
@ -60,7 +60,6 @@ const cssBootMin = () => {
|
|||
};
|
||||
|
||||
const cssMainMin = () => {
|
||||
const cleanCss = require('gulp-clean-css');
|
||||
return gulp
|
||||
.src(config.paths.staticCSS + config.paths.css.main.name)
|
||||
.pipe(cleanCss())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue