Replies: 1 comment
-
Slightly off-topic. I think I would have just declared a shared TailwindCSS configuration across multiple themes. I would have placed the individual theme styles into separate main-ui and sub-ui globals.css files. After that, you can use whichever theme you want - globally or inline on specific components. Every setting declared in |
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.
-
Version
tailwind v4
I’m developing using a monorepo structure.
There are two UI projects, and I develop components in each of them.
These components are then imported and used in the Main project.
main-ui
sub-ui
main project
I expected to be able to use all the classes in the Main project, but things didn't work as expected.
How can I properly use components from different UI projects within the Main project?
I have applied different basic CSS styles for fundamental elements like input in each project. It would be great if these are applied correctly as well.
Beta Was this translation helpful? Give feedback.
All reactions