feat: add themes source (#1089)

This commit is contained in:
Johnny A
2022-06-11 17:34:13 -04:00
committed by GitHub
parent d162cf87fc
commit e80eb441a7
28 changed files with 571 additions and 717 deletions

View File

@@ -1,31 +0,0 @@
module.exports = function(grunt) {
grunt.initConfig({
watch: {
css: {
files: ['src/**/*.scss'],
tasks: ['sass'],
options: {
spawn: false,
},
}
},
sass: {
dist: {
options: {
style: 'expanded'
},
files: {
'dist/dist.css': 'src/main.scss'
}
}
},
});
grunt.loadNpmTasks('grunt-newer');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.registerTask('default', ['sass']);
};

View File

@@ -3,17 +3,10 @@
"version": "1.0.4",
"main": "dist/dist.css",
"private": true,
"scripts": {
"build": "yarn run grunt",
"prepublishOnly": "yarn run build"
},
"sn": {
"main": "dist/dist.css"
},
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-newer": "^1.2.0"
"scripts": {
"build": "webpack --entry ./src/main.scss --config ./../../theme.webpack.config.js"
}
}