Support sass extension for custom themes
This commit is contained in:
parent
3c36ee6cff
commit
b78cca5831
|
@ -42,7 +42,7 @@ module.exports = function(grunt) {
|
||||||
{
|
{
|
||||||
expand: true,
|
expand: true,
|
||||||
cwd: 'css/theme/source',
|
cwd: 'css/theme/source',
|
||||||
src: ['*.scss'],
|
src: ['*.sass', '*.scss'],
|
||||||
dest: 'css/theme',
|
dest: 'css/theme',
|
||||||
ext: '.css'
|
ext: '.css'
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,12 @@ module.exports = function(grunt) {
|
||||||
tasks: 'js'
|
tasks: 'js'
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
|
files: [
|
||||||
|
'css/theme/source/*.sass',
|
||||||
|
'css/theme/source/*.scss',
|
||||||
|
'css/theme/template/*.sass',
|
||||||
|
'css/theme/template/*.scss'
|
||||||
|
],
|
||||||
tasks: 'css-themes'
|
tasks: 'css-themes'
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
|
|
Loading…
Reference in New Issue