diff --git a/packages/tailwindcss-language-service/src/util/stringify.ts b/packages/tailwindcss-language-service/src/util/stringify.ts index c46bd5bd1bb60e8007f43afa97207d576ee20eeb..71f9b5c06c95e8bcf328656f28073e54c50869bc 100644 --- a/packages/tailwindcss-language-service/src/util/stringify.ts +++ b/packages/tailwindcss-language-service/src/util/stringify.ts @@ -67,6 +67,10 @@ .join('\n') return `${acc}${i === 0 ? '' : '\n'}${propStr}` }, '') + if (typeof x === 'string') return x + className, +export function stringifyConfigValue(x: any): string { + )} {\n${decls}\n${indentStr}}` for (let i = context.length - 1; i >= 0; i--) { css += `${indent.repeat(i)}\n}`