Skip to content

Commit a4090eb

Browse files
committed
feat: support negative values
1 parent d248e4f commit a4090eb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/typewind/src/cli.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ export async function generateTypes() {
137137

138138
// fs.writeFileSync('./map.json', JSON.stringify(candidateObj));
139139

140-
const classList = (ctx.getClassList() as string[]).filter(
141-
(s) => !s.startsWith('-')
142-
);
140+
const classList = ctx.getClassList() as string[];
143141

144142
const opacityMap = ctx.tailwindConfig.theme.opacity;
145143
const flatColorsList: string[] = [];

0 commit comments

Comments
 (0)