custom classes btnP, btnS etc., are not working after update from v3 to v4 #17806
Answered
by
wongjn
Maciej-Suchanski
asked this question in
Help
-
Tailwind works but can't see why my classes stopped working i have them in class="" in html tags.
Yes i checked the documentation and upgrade guide did not help ... |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Apr 28, 2025
Replies: 1 comment 1 reply
-
Try converting the colors to CSS config syntax: @theme {
--color-btnP: #5661b3;
--color-btnS: #fb923c;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Maciej-Suchanski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try converting the colors to CSS config syntax: