import { useState } from 'react' export type StyleConfig = { themeColor: string; showLogo: boolean } export function useStyle() { const [style, setStyle] = useState({ themeColor: '#2563eb', showLogo: true }) const update = (patch: Partial) => setStyle((s) => ({ ...s, ...patch })) return { style, update } }