Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix css and svg files #23

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/Iconsax/iconsax-css-updated.zip
Binary file not shown.
33 changes: 33 additions & 0 deletions docs/Iconsax/iconsax-css-updated/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# DESCRIPTION
- **Fix:** Miss/wrong-named icons has proper names now.<br>
- **Fix:** Bulk and Twotone styles showing correctly now.<br>
- **Known-issue:** Very few of the Bold and Bulk styles have small glitches, SVGs are fine but I think, converting them to icon-font causes this problem.<br>

## USAGE
1. Import the [iconsax.css](iconsax.css) file to your project.
```html
<link rel="stylesheet" href="path/to/iconsax-css-updated/iconsax.css">
```
2. Change classes to vary your icon styles.
```html
<span class="isax-cube-scan-3d"></span> <!-- outline -->
<span class="isax-bold-cube-scan-3d"></span> <!-- bold -->
<span class="isax-broken-cube-scan-3d"></span> <!-- broken -->
<span class="isax-2tone-cube-scan-3d"> <!-- twotone -->
<span class="path1"></span>
<span class="path2"></span>
</span>
<span class="isax-bulk-cube-scan-3d"> <!-- bulk -->
<span class="path1"></span>
<span class="path2"></span>
<span class="path3"></span>
<span class="path4"></span>
<span class="path5"></span>
</span>
```
***Note:*** **bulk** and **2tone** styles must have **path$** childs. Each icon may have different count of child. You need to check them from CSS file which contains that style. ( [twotone.css](variants/twotone/style.css) or [bulk.css](variants/bulk/style.css) )

### RECOMMENDATION
If you use only one icon style at a time, you shouldn't store other font files due to page loading speed. And it is recomended to make them minified.

[Live Presentation](https://iconsax-presentation.vercel.app/)
19 changes: 19 additions & 0 deletions docs/Iconsax/iconsax-css-updated/iconsax.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@import url('./variants/outline/style.css');
@import url('./variants/bold/style.css');
@import url('./variants/bulk/style.css');
@import url('./variants/broken/style.css');
@import url('./variants/twotone/style.css');

[class^="isax-"], [class*=" isax-"]{
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;

/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

1 change: 1 addition & 0 deletions docs/Iconsax/iconsax-css-updated/path-counts.json

Large diffs are not rendered by default.

Binary file not shown.
1,003 changes: 1,003 additions & 0 deletions docs/Iconsax/iconsax-css-updated/variants/bold/isax-bold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading