Question

Cursor changed my Tailwind config and now nothing has color

Solved · 6 views · asked by rosa_m · edited

Asked for a new brand color. It rewrote tailwind.config.ts, removed content paths, and now every class is missing.

What I’ve tried

Reverted with git, asked again, same result.

Comment

1 answer

Marked as helpful by the asker
dev_ana · edited

It rewrites the file because you ask for a change to the file. Ask for a change to the theme: 'Add brand: "#5E6AD2" under theme.extend.colors in tailwind.config.ts. Change nothing else in that file.' The word 'extend' and 'nothing else' are what keep the content array alive.

Comment