Skip to content

Commit bdb9346

Browse files
committed
fixed type in theme converter script
1 parent 878cd0d commit bdb9346

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/plugin/scripts/convert-theme.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ export async function convertTheme(name: string) {
1717
delete cssInJs[':root'];
1818

1919
const theme = {
20+
name,
2021
properties: properties,
21-
enhancements: { ...cssInJs }
22+
enhancements: { ...cssInJs },
23+
properties_dark: {}
2224
} satisfies PresetTheme;
2325

2426
// Creates the generated CSS-in-JS file

0 commit comments

Comments
 (0)