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 840553d commit ae1b77bCopy full SHA for ae1b77b
.changeset/solid-donkeys-go.md
@@ -0,0 +1,5 @@
1
+---
2
+'@devup-ui/next-plugin': patch
3
4
+
5
+Register theme for interface
packages/next-plugin/src/plugin.ts
@@ -6,6 +6,7 @@ import {
6
exportFileMap,
7
exportSheet,
8
getThemeInterface,
9
+ registerTheme,
10
} from '@devup-ui/wasm'
11
import {
12
DevupUIWebpackPlugin,
@@ -66,6 +67,7 @@ export function DevupUI(
66
67
const theme = existsSync(devupFile)
68
? JSON.parse(readFileSync(devupFile, 'utf-8'))?.['theme']
69
: {}
70
+ registerTheme(theme)
71
const themeInterface = getThemeInterface(
72
libPackage,
73
'DevupThemeColors',
0 commit comments