Skip to content

Commit 7fd49e7

Browse files
committed
fix length variable not being detected in via classes
1 parent 7ee600f commit 7fd49e7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib/default-config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ export const getDefaultConfig = () => {
112112
...scaleUnambiguousSpacing(),
113113
] as const
114114
const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue] as const
115-
const scaleGradientStopPosition = () => [isPercent, isArbitraryLength] as const
115+
const scaleGradientStopPosition = () =>
116+
[isPercent, isArbitraryVariableLength, isArbitraryLength] as const
116117
const scaleRadius = () =>
117118
[
118119
// Deprecated since Tailwind CSS v4.0.0

0 commit comments

Comments
 (0)