Skip to content

Commit

Permalink
Create bootstrap 4 wisvch theme
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpopping committed Oct 11, 2017
1 parent 21cc92a commit d9f5b1b
Show file tree
Hide file tree
Showing 20 changed files with 14,300 additions and 11,371 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/node_modules
/bower_components
/tmp
.sass-cache
package-lock.json
18 changes: 9 additions & 9 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
module.exports = (grunt) ->
grunt.initConfig
bowerDirectory: require('bower').config.directory
less:
sass:
compile:
options:
compress: false
paths: ['less', 'tmp', '<%= bowerDirectory %>/bootstrap/less']
loadPath: ['scss', 'tmp', '<%= bowerDirectory %>/bootstrap/scss']
files:
'dist/css/bootstrap.css': ['less/theme.less']
'dist/css/bootstrap.css': ['scss/theme.scss']
recess:
dist:
options:
compile: true
files:
'dist/css/bootstrap.css': ['dist/css/bootstrap.css']
watch:
less:
files: ['less/*.less']
tasks: ['copy', 'less:compile', 'clean']
sass:
files: ['scss/*.scss']
tasks: ['copy', 'sass', 'clean']
options:
livereload: true
cssmin:
Expand Down Expand Up @@ -50,13 +50,13 @@ module.exports = (grunt) ->
copy:
bootstrap:
files: [
{ expand: true, cwd: '<%= bowerDirectory %>/bootstrap/less', src: ['bootstrap.less'], dest: 'tmp/' },
{ expand: true, cwd: '<%= bowerDirectory %>/bootstrap/scss', src: ['bootstrap.scss'], dest: 'tmp/' },
{ expand: true, cwd: '<%= bowerDirectory %>/bootstrap/dist/fonts', src: ['*'], dest: 'dist/fonts' },
{ expand: true, cwd: '<%= bowerDirectory %>/bootstrap/dist/js', src: ['*'], dest: 'dist/js' }
]
clean: ['tmp']

grunt.loadNpmTasks('grunt-contrib-less')
grunt.loadNpmTasks('grunt-contrib-sass')
grunt.loadNpmTasks('grunt-recess')
grunt.loadNpmTasks('grunt-contrib-watch')
grunt.loadNpmTasks('grunt-contrib-cssmin')
Expand All @@ -66,5 +66,5 @@ module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-contrib-connect')
grunt.loadNpmTasks('assemble')

grunt.registerTask('default', ['copy', 'less', 'recess', 'cssmin', 'assemble', 'clean'])
grunt.registerTask('default', ['copy', 'sass', 'recess', 'cssmin', 'assemble', 'clean'])
grunt.registerTask('serve', ['connect', 'watch'])
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"tests"
],
"dependencies": {
"bootstrap": "3.3.5"
"bootstrap": "4.0.0-beta"
}
}
Loading

0 comments on commit d9f5b1b

Please sign in to comment.