We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5daeec commit 386394cCopy full SHA for 386394c
packages/tailwindcss-language-service/src/util/state.ts
@@ -88,6 +88,11 @@ export interface Variant {
88
selectors: (params?: { value?: string; label?: string }) => string[]
89
}
90
91
+export interface ClassMetadata {
92
+ color: culori.Color | KeywordColor | null
93
+ modifiers?: string[]
94
+}
95
+
96
export interface State {
97
enabled: boolean
98
isCssConfig?: boolean
@@ -126,7 +131,7 @@ export interface State {
126
131
editor?: EditorState
127
132
jit?: boolean
128
133
jitContext?: any
129
- classList?: Array<[string, { color: culori.Color | KeywordColor | null; modifiers?: string[] }]>
134
+ classList?: Array<[string, ClassMetadata]>
130
135
classListContainsMetadata?: boolean
136
pluginVersions?: string
137
completionItemData?: Record<string, any>
0 commit comments