P粉7624473632023-09-04 14:04:32
You can use tw-colors to create a predefined theme
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|
Then apply the theme to the card container
1 2 3 4 5 6 7 8 9 |
|
If subject class names come from API responses, you should safelist them, otherwise tailwind will not generate them, see tailwind documentation for more details