refactor(forgeCLI): massive refactoring

This commit is contained in:
Melvin Chia
2026-01-04 17:02:47 +08:00
parent 271a18c605
commit 3b6f59cd8d
122 changed files with 3191 additions and 2381 deletions

View File

@@ -20,7 +20,7 @@ import type {
import { getColorPalette } from './utils/themeColors'
const DEFAULT_VALUE: IPersonalizationData = {
rootElement: document.body,
rootElement: typeof document !== 'undefined' ? document.body : null,
fontFamily: 'Onest',
fontScale: 1,
borderRadiusMultiplier: 1,