Skip to content

Cannot override default colours in v4 #15414

Answered by philipp-spiess
zommerberg asked this question in Help
Discussion options

You must be logged in to vote

Hey! Do you mind sharing your full CSS file? @theme blocks are applied in order so one suspicion I have is that you import your custom overwrites before importing the defaults, something like this:

@import './myTheme.css'
@import 'tailwindcss'

In that case the colors defined in tailwindcss can indeed overwrite the defaults.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zommerberg
Comment options

Answer selected by zommerberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #15411 on December 17, 2024 09:26.