Move themes to src/css

This commit is contained in:
Stéphane Goetz 2019-09-20 23:29:22 +02:00
parent 92db87e00d
commit ac6e71030b
21 changed files with 12 additions and 18 deletions

View File

@ -7,11 +7,10 @@ module.exports = {
"@swissquote/crafty-preset-postcss", "@swissquote/crafty-preset-postcss",
"@swissquote/crafty-runner-gulp" "@swissquote/crafty-runner-gulp"
], ],
destination_css: "themes", destination_css: ".",
destination_js: ".", destination_js: ".",
stylelint_pattern: [ stylelint_pattern: [
"themes/daux/scss/**/*.scss", "src/css/**/*.scss",
"themes/daux_singlepage/scss/**/*.scss",
"!*.min.css", "!*.min.css",
"!**/vendor/**/*.scss" "!**/vendor/**/*.scss"
], ],
@ -35,29 +34,24 @@ module.exports = {
}, },
css: { css: {
theme_blue: { theme_blue: {
source: "themes/daux/scss/theme-blue.scss", source: "src/css/theme_daux/theme-blue.scss",
destination: "daux/css/theme-blue.min.css", destination: "themes/daux/css/theme-blue.min.css"
watch: ["themes/daux/scss/**"]
}, },
theme_green: { theme_green: {
source: "themes/daux/scss/theme-green.scss", source: "src/css/theme_daux/theme-green.scss",
destination: "daux/css/theme-green.min.css", destination: "themes/daux/css/theme-green.min.css"
watch: ["themes/daux/scss/**"]
}, },
theme_navy: { theme_navy: {
source: "themes/daux/scss/theme-navy.scss", source: "src/css/theme_daux/theme-navy.scss",
destination: "daux/css/theme-navy.min.css", destination: "themes/daux/css/theme-navy.min.css"
watch: ["themes/daux/scss/**"]
}, },
theme_red: { theme_red: {
source: "themes/daux/scss/theme-red.scss", source: "src/css/theme_daux/theme-red.scss",
destination: "daux/css/theme-red.min.css", destination: "themes/daux/css/theme-red.min.css"
watch: ["themes/daux/scss/**"]
}, },
daux_singlepage: { daux_singlepage: {
source: "themes/daux_singlepage/scss/main.scss", source: "src/css/theme_daux_singlepage/main.scss",
destination: "daux_singlepage/css/main.min.css", destination: "themes/daux_singlepage/css/main.min.css"
watch: ["themes/daux_singlepage/scss/**"]
} }
} }
}; };