Skip to content

Hover:bg-custom-color not generated if not used in v4 #16820

Discussion options

You must be logged in to vote

I found the issue: In the front-end application I imported the built CSS from the library instead of the actual CSS source file.
Replacing @import '@library/library/dist/esm/index.css' by '@library/library/src/index.css' did the trick.

@wongjn & @adamwathan Thank you for your answering my question/issue.

Edit: Turns out I need to import both files (source + built CSS)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@francoisbillet
Comment options

@wongjn
Comment options

wongjn Feb 26, 2025
Collaborator

@adamwathan
Comment options

@francoisbillet
Comment options

Answer selected by francoisbillet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants