embed font inline, set correct main in package.json
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
@import "mixins";
|
||||
|
||||
@iconfont_path: "fonts/";
|
||||
@iconfont_version: 4;
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: "iconfont";
|
||||
.fontPath(@iconfont_path, "iconfont", @iconfont_version);
|
||||
font-family: "basefont";
|
||||
src: url('@{iconfont_path}basefont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
.icon:before {
|
||||
.iconStyles("iconfont");
|
||||
.iconStyles("basefont");
|
||||
}
|
||||
|
||||
.icon-search:before { content: '\e800'; } /* '' */
|
||||
|
||||
Reference in New Issue
Block a user