Skip to content

Instantly share code, notes, and snippets.

@soelen
Created September 12, 2014 06:57
Show Gist options
  • Save soelen/e4466a08a0709c35fc80 to your computer and use it in GitHub Desktop.
Save soelen/e4466a08a0709c35fc80 to your computer and use it in GitHub Desktop.
//[...]
webfont:
{
icons:
{
src: 'font/baked/*.svg',
dest: 'app/webroot/fonts',
destCss: 'less',
options:
{
stylesheet : 'less',
font : 'marblefallen',
hashes : false,
syntax : 'bem',
htmlDemo : false,
relativeFontPath : '@{fonts}',
templateOptions :
{
baseClass : 'ma',
classPrefix : 'ma-',
mixinPrefix : 'ma-mixin-'
}
}
}
}
});
grunt.loadNpmTasks('grunt-webfont');
grunt.registerTask('font', ['webfont']);
};
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link href="main.css" rel="stylesheet">
</head>
<body>
<button class="btn btn-primary btn-lg"><i class="ma ma-swim-circle"></i> Test</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment