1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-31 09:32:04 +02:00

dir fixes

This commit is contained in:
codecalm
2020-03-12 14:31:13 +01:00
parent 6455c2e638
commit 88404df5be
11 changed files with 6 additions and 10 deletions

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 125 KiB

View File

@@ -8,7 +8,7 @@
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/style.css"> <link rel="stylesheet" href="{{ site.baseurl }}/style.css">
<title>Tabler Icons</title> <title>Tabler Icons</title>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script> <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>

BIN
dist/icons.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

4
dist/icons.svg vendored
View File

@@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 882 -19" width="882" height="-19" style="color: #354052"><rect x="0" y="0" width="882" height="-19" fill="#fff"></rect>
</svg>

Before

Width:  |  Height:  |  Size: 224 B

BIN
dist/tabler-icons.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -60,7 +60,7 @@ gulp.task('icons-sprite', function (cb) {
let svg = `<svg xmlns="http://www.w3.org/2000/svg"><defs>${svgContent}</defs></svg>`; let svg = `<svg xmlns="http://www.w3.org/2000/svg"><defs>${svgContent}</defs></svg>`;
fs.writeFileSync('dist/tabler-sprite.svg', svg); fs.writeFileSync('.github/tabler-sprite.svg', svg);
cb(); cb();
}); });
}); });
@@ -106,8 +106,8 @@ gulp.task('icons-preview', function (cb) {
const svgContent = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 ${width} ${height}" width="${width}" height="${height}" style="color: #354052"><rect x="0" y="0" width="${width}" height="${height}" fill="#fff"></rect>\n${svgContentSymbols}\n${svgContentIcons}\n</svg>`; const svgContent = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 ${width} ${height}" width="${width}" height="${height}" style="color: #354052"><rect x="0" y="0" width="${width}" height="${height}" fill="#fff"></rect>\n${svgContentSymbols}\n${svgContentIcons}\n</svg>`;
fs.writeFileSync('icons.svg', svgContent); fs.writeFileSync('.github/icons.svg', svgContent);
createScreenshot('icons.svg'); createScreenshot('.github/icons.svg');
cb(); cb();
}); });
}); });

View File

@@ -8,7 +8,7 @@ npm install tabler-icons --save
## Preview ## Preview
![Tabler icons](icons.svg) ![](./.github/icons.svg)
## Usage ## Usage
@@ -65,7 +65,7 @@ Add an icon to be displayed on your page with the following markup (`activity` i
All icons in this repository have been created with the value of the `stroke-width` property, so if you change the value, you can get different icon variants that will fit in well with your design. All icons in this repository have been created with the value of the `stroke-width` property, so if you change the value, you can get different icon variants that will fit in well with your design.
![Tabler icons](icons-stroke.svg) ![](./.github/icons-stroke.svg)
## License ## License

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB