forked from malmostad/global_assets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.coffee
27 lines (26 loc) · 873 Bytes
/
Gruntfile.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = (grunt) ->
grunt.initConfig
grunticon:
icons:
files: [
expand: true,
cwd: 'masters/icons',
src: ['*.svg', '*.png'],
dest: 'app/assets/icons'
]
options:
enhanceSVG: true
datasvgcss: "icons.data.svg.css"
datapngcss: "icons.data.png.css"
urlpngcss: "icons.fallback.css"
cssprefix: '.m-icon-'
customselectors:
"chevron-right": [".breadcrumbs li"]
"caret-down": [".box-2 .box-menu .dropdown-toggle"]
"caret-down-0": [".box .box-menu .dropdown-toggle"]
"todo-0": [".act-now a::before"]
cssbasepath: '/'
# defaultWidth: '300px',
# defaultHeight: '200px',
grunt.loadNpmTasks('grunt-grunticon')
grunt.registerTask('default', ['grunticon:icons'])