marklawlor / nativewind

React Native utility-first universal design system - powered by Tailwind CSS
https://nativewind.dev
MIT License
4.3k stars 233 forks source link

[v4]: Unable to override shadow-styles #853

Open ljukas opened 2 months ago

ljukas commented 2 months ago

Describe the bug Extending config for shadow works as long as the prefix dont conflict with default values

To Reproduce Extend theme with a custom shadow, modify either lg or md or another existing default and try to use it, it will use the default style and not the custom one. Set the custom to ex. mdx and it will work.

Tailwindcss documention says to override default values we should set the under theme and not extend in the config, but this does not work either

Expected behavior Overriding existing values should work

sbsto commented 2 months ago

I think this is connected to https://github.com/marklawlor/nativewind/issues/765.

I'm also still running into this problem :)

LukaMarr commented 1 month ago

Bumping this! :)