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

Stroke width #4

Open
crysxd opened this issue Mar 5, 2017 · 1 comment
Open

Stroke width #4

crysxd opened this issue Mar 5, 2017 · 1 comment

Comments

@crysxd
Copy link

crysxd commented Mar 5, 2017

Hi,
first of all: great work! This looks awesome.

I want to use the lib in my project, but unfortunately all of our icons are using a stroke width of 1 instead of 1.45 or 2. Scaling the strokes is no issue, I just replaced the strokeWidth attribute. Unfortunately, the exclamation mark uses fillPath and thus is not scalable by this method.

Do you have any hint for how to make the exclamation mark thinner? Thanks!

@mattprecious
Copy link
Owner

I think you'd need to recreate the exclamation vector to use a stroke instead, or update the shape of the fill path. It's probably a decent amount of work because you'd also need to update/redo all the exclamation animations as well 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants