From b0b34f29a998ca397b9b3cb6d36b8169b07ffc40 Mon Sep 17 00:00:00 2001 From: Hamzat Victor Date: Mon, 25 Nov 2024 21:54:43 +0100 Subject: [PATCH] feat: add tailwind intellisense to cva styles --- .vscode/settings.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4b81cce..8771d74 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,9 @@ "editor.codeActionsOnSave": { "source.fixAll": "explicit", "source.organizeImports": "explicit" - } + }, + "tailwindCSS.experimental.classRegex": [ + ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], + ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] + ] }