mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-31 09:32:04 +02:00
fix #473: icon position and size changed with version 2
This commit is contained in:
@@ -19,8 +19,8 @@ const buildOutline = async () => {
|
|||||||
await console.log('Stroke for:', name, unicode)
|
await console.log('Stroke for:', name, unicode)
|
||||||
|
|
||||||
contents = contents
|
contents = contents
|
||||||
.replace('width="24"', 'width="768"')
|
.replace('width="24"', 'width="1000"')
|
||||||
.replace('height="24"', 'height="768"')
|
.replace('height="24"', 'height="1000"')
|
||||||
|
|
||||||
if (compileOptions.strokeWidth) {
|
if (compileOptions.strokeWidth) {
|
||||||
contents = contents
|
contents = contents
|
||||||
|
@@ -6,7 +6,7 @@ import { getPackageDir, getPackageJson, PACKAGES_DIR } from '../../../.build/hel
|
|||||||
const formats = ['ttf', 'eot', 'woff', 'woff2']
|
const formats = ['ttf', 'eot', 'woff', 'woff2']
|
||||||
const p = getPackageJson()
|
const p = getPackageJson()
|
||||||
const DIR = getPackageDir('icons-webfont')
|
const DIR = getPackageDir('icons-webfont')
|
||||||
const fontHeight = 768
|
const fontHeight = 1000
|
||||||
|
|
||||||
webfont({
|
webfont({
|
||||||
files: 'icons-outlined/*.svg',
|
files: 'icons-outlined/*.svg',
|
||||||
|
Reference in New Issue
Block a user