// App entrypoint with tweaks integration. const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "mode": "dark", "accent": "#FF5C28", "headline": "speed", "heroVisual": "workflow" }/*EDITMODE-END*/; const ACCENT_PRESETS = { "#FF5C28": { soft: "rgba(255,92,40,0.12)", glow: "rgba(255,92,40,0.35)" }, "#E8E337": { soft: "rgba(232,227,55,0.14)", glow: "rgba(232,227,55,0.35)" }, "#4D8DFF": { soft: "rgba(77,141,255,0.14)", glow: "rgba(77,141,255,0.4)" }, }; function App() { const [tweaks, setTweak] = useTweaks(TWEAK_DEFAULTS); React.useEffect(() => { document.documentElement.dataset.mode = tweaks.mode; const presets = ACCENT_PRESETS[tweaks.accent] || ACCENT_PRESETS["#FF5C28"]; document.documentElement.style.setProperty("--accent", tweaks.accent); document.documentElement.style.setProperty("--accent-soft", presets.soft); document.documentElement.style.setProperty("--accent-glow", presets.glow); }, [tweaks.mode, tweaks.accent]); return ( <>