diff --git a/src/context/Theme.tsx b/src/context/Theme.tsx index 02f5ca66..a6764784 100644 --- a/src/context/Theme.tsx +++ b/src/context/Theme.tsx @@ -270,8 +270,8 @@ interface Props { function Theme({ children, options }: Props) { const theme: Theme = { ...PRESETS["dark"], - ...PRESETS[props.options?.preset ?? ''], - ...props.options?.custom + ...PRESETS[options?.preset ?? ''], + ...options?.custom }; const root = document.documentElement.style;