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

@@ -35,6 +35,6 @@
"react-toastify": "^11.0.5",
"socket.io-client": "^4.8.1",
"tinycolor2": "^1.6.0",
"zod": "^4.1.12"
"zod": "^4.3.4"
}
}

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,