Skip to content

Commit

Permalink
rel: v1.4.0
Browse files Browse the repository at this point in the history
This changes the defualt color the `currentColor` to hopefully address issue #5.
  • Loading branch information
ben committed Jan 1, 2021
1 parent 044e8a2 commit 1ad17ed
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# tabler-icons-svelte changelog

### 1.4.0

- Change defualt color to `currentColor`. ([#5](https://github.com/benflap/tabler-icons-svelte/issues/5))

### 1.3.0

- Add 18 new icons added in [tabler-icons][tabler-icons] [v1.38.0](https://github.com/tabler/tabler-icons/releases/tag/v1.38.0)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ Import components inside of the `<script>` and use like any other Svelte compone

The components each accept 3 props:

| Prop | Default |
| ----------- | ------- |
| size | 24 |
| color | #000000 |
| strokeWidth | 2 |
| Prop | Default |
| ----------- | -------------- |
| size | 24 |
| color | `currentColor` |
| strokeWidth | 2 |

## License

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tabler-icons-svelte",
"version": "1.3.0",
"version": "1.4.0",
"description": "Tabler Icons as svelte components.",
"license": "MIT",
"author": "Ben Lapp <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion scripts/component-template.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
export let size = 24;
export let color = "#000000";
export let color = "currentColor";
export let strokeWidth = 2;
</script>

Expand Down

0 comments on commit 1ad17ed

Please sign in to comment.