Skip to content

Commit 30d8073

Browse files
committed
update
1 parent 9d28020 commit 30d8073

File tree

1 file changed

+2
-2
lines changed
  • packages/tailwindcss-language-service/src/util

1 file changed

+2
-2
lines changed

packages/tailwindcss-language-service/src/util/color.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ export function getColorFromValue(value: unknown): culori.Color | KeywordColor |
275275
) {
276276
return null
277277
}
278-
const color = tryParseColor(trimmedValue)
279-
return color ?? null
278+
279+
return tryParseColor(trimmedValue) ?? null
280280
}
281281

282282
let toRgb = culori.converter('rgb')

0 commit comments

Comments
 (0)