[!!!][TASK] Refactor Scss, add Sass-lint and adjust styling

Add variables to allow easy modifications to color, font and also extending Style
This commit is contained in:
Xaver Maierhofer 2016-05-27 01:34:42 +02:00 committed by Milan Pässler
commit ed06ff6b09
50 changed files with 762 additions and 888 deletions

View file

@ -39,9 +39,7 @@ module.exports = function (grunt) {
cwd: "bower_components/roboto-fontface"
},
ionicons: {
src: ["fonts/*",
"hopglass-icons.css"
],
src: ["fonts/*"],
expand: true,
dest: "build/",
cwd: "assets/icons/"
@ -77,16 +75,6 @@ module.exports = function (grunt) {
src: "build/style.css"
}
},
cssmin: {
target: {
files: {
"build/style.css": ["bower_components/leaflet/dist/leaflet.css",
"bower_components/Leaflet.label/dist/leaflet.label.css",
"style.css"
]
}
}
},
inline: {
dist: {
options: {

View file

@ -13,6 +13,12 @@ module.exports = function (grunt) {
},
npm: {}
},
sasslint: {
options: {
configFile: '.sass-lint.yml'
},
target: ['scss/main.scss', 'scss/*/*.scss']
},
eslint: {
sources: {
src: ["app.js", "!Gruntfile.js", "lib/**/*.js"]
@ -24,5 +30,6 @@ module.exports = function (grunt) {
});
grunt.loadNpmTasks("grunt-check-dependencies");
grunt.loadNpmTasks('grunt-sass-lint');
grunt.loadNpmTasks("grunt-eslint");
};