Skip to content

Commit c24bcda

Browse files
committed
update prompt to use cn.ts
1 parent 3765e92 commit c24bcda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.continue/rules/migrate-styled-components-to-tailwind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
alwaysApply: false
33
---
44

5-
Convert all of the styled components in this file into tailwind CSS. If a variable is used that is not already in @theme.ts and @tailwind.config.cjs, then you should figure out where it comes from and try adding that so it can be used. Wherever a function is called to interpolate a value, you can just use inline `styles={{ ... }}`
5+
Convert all of the styled components in this file into tailwind CSS. If a variable is used that is not already in @theme.ts and @tailwind.config.cjs, then you should figure out where it comes from and try adding that so it can be used. Wherever a function is called to interpolate a value, you can just use inline `styles={{ ... }}`. For ternaries, you could use @cn.ts.

0 commit comments

Comments
 (0)