Set default stroke width for Tabler Icons #1872
RowinVanAmsterdam
started this conversation in
General
Replies: 1 comment
-
Same request. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use
'@tabler/icons-react'
for the iconography in one of the react projects, and was wondering if I can change the stroke width for all icons?Currently we have to set it manually:
<IconChevronDown stroke={1.5} />
, but since almost every icon in the project would use a 1.5 stroke width, I would highly prefer changing the default from 2 to 1.5 somehow. Not sure if it's possible, since I can't find something about it in the docs.edit: Also tried to overwrite it based on the css class: tabler-icon. But it's not really working, since it gets overwritten again by the default one.
Beta Was this translation helpful? Give feedback.
All reactions