theme cleanup

This commit is contained in:
Gustav
2025-01-08 23:45:27 -05:00
parent bf9c4cda02
commit d76079d4c7
6 changed files with 96 additions and 202 deletions

View File

@@ -26,7 +26,7 @@ export function useBackgroundVars(themeName?: string) {
const cssVarGap = style.getPropertyValue('--rf-bg-gap');
const cssVarSize = style.getPropertyValue('--rf-bg-size');
const cssColor = style.getPropertyValue('--rf-bg-color');
const cssColor = style.getPropertyValue('--rf-bg-pattern-color');
const gapNum = parseInt(cssVarGap, 10) || 16;
const sizeNum = parseInt(cssVarSize, 10) || 1;