1 parent 4e62550 commit 02bd492Copy full SHA for 02bd492
1 file changed
src/index.tsx
@@ -19,14 +19,14 @@ export function load(app: Application) {
19
defaultValue: "#cb9820",
20
});
21
22
- const styles = getThemeCSSProperties(
23
- app.options.getValue("themeColor") as string,
24
- );
25
-
26
app.renderer.hooks.on("head.end", (event) => (
27
<>
28
<style>
29
- <JSX.Raw html={styles} />
+ <JSX.Raw
+ html={getThemeCSSProperties(
+ app.options.getValue("themeColor") as string,
+ )}
+ />
30
</style>
31
<link
32
rel="stylesheet"
0 commit comments