fix(artboard): apply custom text and background color

This commit is contained in:
abizek
2024-04-01 19:31:28 +05:30
parent a578bd1054
commit afe52da92d
5 changed files with 27 additions and 5 deletions

View File

@ -39,7 +39,7 @@ export const ArtboardPage = () => {
`${metadata.typography.lineHeight}`,
);
document.documentElement.style.setProperty("--color-text", `${metadata.theme.text}`);
document.documentElement.style.setProperty("--color-foreground", `${metadata.theme.text}`);
document.documentElement.style.setProperty("--color-primary", `${metadata.theme.primary}`);
document.documentElement.style.setProperty(
"--color-background",