We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfaee45 commit 491a339Copy full SHA for 491a339
src/bin/css_to_ts/typography.ts
@@ -44,7 +44,7 @@ export function parseTypographyVariants(rawCssCode: string): TypographyVariant[]
44
const value = declaration.value as string;
45
46
int: {
47
- const n = parseInt(value);
+ const n = parseInt(value.replace(/px$/, ""));
48
49
if (isNaN(n)) {
50
break int;
0 commit comments