Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
I found that just following https://lucide.dev/guide/advanced/global-styling didn't work the way I wanted it to - the style set on For those using tailwind, the workaround I found was to specify the default in the @layer base {
/* put in @base so tw util classes can override */
/* https://lucide.dev/guide/advanced/global-styling */
.lucide {
stroke-width: 1.5;
}
} And then style the stroke width with the tailwind <Bell className="stroke-1" />
<Bell className="size-4 stroke-1" /> // with other tw styling instead of props |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Current Behavior
I have to manually override the lucide icon stroke width per icon. The strokewidth is currently hardcoded to 2.
Expected Behavior
Set a default stroke width, perhaps via theme config.
Tamagui Version
Platform (Web, iOS, Android)
Reproduction
Beta Was this translation helpful? Give feedback.
All reactions