// craft-tweaks.jsx — three expressive controls that reshape the whole feel. // Palette (mood + light), Composition (how loud the type field is), Atmosphere // (how alive the living-paper shader is). Each maps to window.CRAFT.apply(). const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "palette": "paper", "composition": "balanced", "atmosphere": "breathing" }/*EDITMODE-END*/; function CraftTweaks() { const [t, setTweak] = useTweaks(TWEAK_DEFAULTS); React.useEffect(function () { if (window.CRAFT && window.CRAFT.apply) window.CRAFT.apply(t); }, [t]); return ( ); } ReactDOM.createRoot(document.getElementById('tweak-root')).render();