Skip to content
Permalink
Browse files

webfonts fixes

  • Loading branch information...
codecalm committed Jul 26, 2019
1 parent 31f9d1a commit 2fc5b20ed768ed1c4ac076367ca5748501a7837e
@@ -7,7 +7,7 @@ function getBanner(pluginFilename) {
return `/*!
* Tabler${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage})
* Copyright 2018-${year} ${pkg.author}
* Licensed under MIT (https://github.com/twbs/tabler/blob/master/LICENSE)
* Licensed under ${pkg.license} (https://github.com/tabler/tabler/blob/master/LICENSE)
*/`;
}

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -31,15 +31,15 @@
"js-minify-standalone": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/tabler.js.map,includeSources,url=tabler.min.js.map\" --output dist/js/tabler.min.js dist/js/tabler.js",
"js-minify-bundle": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/tabler.bundle.js.map,includeSources,url=tabler.bundle.min.js.map\" --output dist/js/tabler.bundle.min.js dist/js/tabler.bundle.js",
"svg-svgo": "svgo -f svg/fe --pretty && svgo -f svg/brand --pretty",
"svg-iconfont": "mkdir -p svg-tmp && for i in svg/*/*.svg;do N=`echo $i | sed -e 's/^svg\\///g' | sed -e 's/\\\\.svg$//g' | sed -e 's/\\//-/g'`; echo $i; rsvg-convert $i -o svg-tmp/$N.svg -f svg -w 1000; done && svgo ./svg-tmp/*.svg --disable={removeViewBox} && icon-font-generator ./svg-tmp/*.svg -o fonts/tabler-webfont --html false --csstp build/tabler-webfont.hbs --csspath scss/fonts/_tabler-webfont.scss --center --normalize --name tabler-webfont --types svg,eot,ttf,woff,woff2 --json false && rm -rf svg-tmp && node build/generate-font-codepoints.js"
"svg-iconfont": "mkdir -p svg-tmp && for i in svg/*/*.svg;do N=`echo $i | sed -e 's/^svg\\///g' | sed -e 's/\\\\.svg$//g' | sed -e 's/\\//-/g'`; echo $i; rsvg-convert $i -o svg-tmp/$N.svg -f svg -w 1000; done && svgo ./svg-tmp/*.svg --disable={removeViewBox} && icon-font-generator ./svg-tmp/*.svg -o fonts/tabler-webfont --html false --cssfontsurl ../fonts/tabler-webfont --csstp build/tabler-webfont.hbs --csspath scss/fonts/_tabler-webfont.scss --center --normalize --name tabler-webfont --types svg,eot,ttf,woff,woff2 --json false && rm -rf svg-tmp && node build/generate-font-codepoints.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tabler/tabler.git"
},
"keywords": [],
"author": "codecalm",
"license": "ISC",
"license": "MIT",
"bugs": {
"url": "https://github.com/tabler/tabler/issues"
},
@@ -1,10 +1,10 @@
@font-face {
font-family: 'tabler-webfont';
src: url("../../fonts/tabler-webfont/tabler-webfont.eot?387a874f70b428df70bf7a58eb19d5f3?#iefix") format("embedded-opentype"),
url("../../fonts/tabler-webfont/tabler-webfont.woff2?387a874f70b428df70bf7a58eb19d5f3") format("woff2"),
url("../../fonts/tabler-webfont/tabler-webfont.woff?387a874f70b428df70bf7a58eb19d5f3") format("woff"),
url("../../fonts/tabler-webfont/tabler-webfont.ttf?387a874f70b428df70bf7a58eb19d5f3") format("truetype"),
url("../../fonts/tabler-webfont/tabler-webfont.svg?387a874f70b428df70bf7a58eb19d5f3#tabler-webfont") format("svg");
src: url("../fonts/tabler-webfont/tabler-webfont.eot?d88ab45f67181eccbf3579d96bdf650a?#iefix") format("embedded-opentype"),
url("../fonts/tabler-webfont/tabler-webfont.woff2?d88ab45f67181eccbf3579d96bdf650a") format("woff2"),
url("../fonts/tabler-webfont/tabler-webfont.woff?d88ab45f67181eccbf3579d96bdf650a") format("woff"),
url("../fonts/tabler-webfont/tabler-webfont.ttf?d88ab45f67181eccbf3579d96bdf650a") format("truetype"),
url("../fonts/tabler-webfont/tabler-webfont.svg?d88ab45f67181eccbf3579d96bdf650a#tabler-webfont") format("svg");
font-weight: normal;
font-style: normal;
}

0 comments on commit 2fc5b20

Please sign in to comment.
You can’t perform that action at this time.