-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Theme extend arrays are not merged #2798
Comments
put |
Yeah, that's what I'm doing as a workaround. |
(arrays like in fontFamily are not deep merged) |
Yeah, I know. I'm suggesting that be changed :) The docs indicated that everything would be merged, hence why I initially thought this was a bug. |
Ohhh gotcha |
@flybayer If we merged arrays you couldn't override a single font-family without overriding all of them and not using It would also be annoying if you wanted to override the So no plans to change this for now unfortunately. |
Describe the problem:
v2 now deeply merges theme extensions, so I also expected arrays to be merged.
I.e. I want the below to keep the default fontFamily.sans config but add
Inter Var
to the beginning.Link to a minimal reproduction:
https://play.tailwindcss.com/VWhUl3yiv2?file=config
The text was updated successfully, but these errors were encountered: