Skip to content

Commit

Permalink
fix(fonts): Change font files path.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: If you take the new CSS and do not relocate the icon files your icons will cease to
show in the grid.

fix #3751
  • Loading branch information
Portugal, Marcelo authored and mportuga committed Jun 12, 2018
1 parent ea20e22 commit 1bd060c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions grunt/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ module.exports = function ( grunt ) {
expand: true,
cwd: 'src/font',
src: '**/*.eot',
dest: '<%= dist %>/release/'
dest: '<%= dist %>/release/fonts'
},
{
expand: true,
cwd: 'src/font',
src: '**/*.svg',
dest: '<%= dist %>/release/'
dest: '<%= dist %>/release/fonts'
},
{
expand: true,
cwd: 'src/font',
src: '**/*.ttf',
dest: '<%= dist %>/release/'
dest: '<%= dist %>/release/fonts'
},
{
expand: true,
cwd: 'src/font',
src: '**/*.woff',
dest: '<%= dist %>/release/'
dest: '<%= dist %>/release/fonts'
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@
/**
* @section font library path
*/
@font-path: '';
@font-path: 'fonts/';

/*-- END VARIABLES (DO NOT REMOVE THESE COMMENTS) --*/

0 comments on commit 1bd060c

Please sign in to comment.