Need Help: Border Styles Not Reflecting in NPM-Published Lit Component #18326
Unanswered
EdisonDevadoss
asked this question in
Help
Replies: 0 comments
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.
-
Hi friends,
I'm working on a project using Lit and Tailwind CSS v4. Everything works perfectly in my local application. However, after publishing the package to the npm registry, I'm noticing that the border-width and border-color classes are not being applied.
Interestingly, everything else from Tailwind works fine — it's just the borders that aren't rendering as expected.
I faced a similar issue earlier in Storybook, and I was able to fix it by importing the index.css file in the .preview.ts file.
Is there something similar I need to do here? Any ideas or suggestions would be appreciated!
Git hub link: https://github.com/EdisonDevadoss/svg-icon-library
Beta Was this translation helpful? Give feedback.
All reactions