Skip to content

fuminchao/icon-font-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon-font-importer

Sample usage

.icon-a-rel-path:after {
  @import 'iconfont+file://svg/font-solid.svg';
}

.test-b-abs-path:after {
  @import 'iconfont+file:///Users/xxxxx/icon-font-importer/test/svg/font-solid.svg';
}

.test-c-https:after {
  @import 'iconfont+https://developer.mozilla.org/static/general/external-link.fb3c293b9226.svg';
}

[class*=test-]:after {
  @import 'iconfont+face://woff2+woff';
}
npx tsc;
npx node-sass --output test --importer=./build/index.js test/test1.scss

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published