Skip to content

How to amend some of the css classes on components with Taliwind Unstyled? #180

Answered by cagataycivici
bhaidar asked this question in PrimeVue
Discussion options

You must be logged in to vote

It is applied but bg-white overrides it. In general, after receiving community feedback we're not suggesting usePassThrough anymore and use a copy paste approach of the default preset instead, I've forked your stackblitz. With copy-paste, you have full control over the classes, with usePassThrough it is like trying to override CSS classes, dealing with mergeSection, mergeProps.

Copy-Paste is the way to go, new upcoming docs and the new Tailwind Demos will promote this one instead.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@bhaidar
Comment options

@cagataycivici
Comment options

Answer selected by bhaidar
@bhaidar
Comment options

@johndegey
Comment options

@deepfriedmind
Comment options

@bhaidar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants