// App for "VI. Bestiário" page const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "palette": "Selo", "typography": "Heráldico", "atmosphere": 0.5, "grain": true, "parchmentTone": "Sépia", "showFolds": true, "showRunes": true }/*EDITMODE-END*/; const PALETTE_MAP = { "Forja": "forja", "Selo": "selo" }; const TYPO_MAP = { "Heráldico": "heraldico", "Editorial": "editorial" }; const PARCHMENT_MAP = { "Sépia": "sepia", "Marfim": "marfim", "Couro": "couro" }; function BestiarioApp() { const [t, setTweak] = window.useTweaks(TWEAK_DEFAULTS); React.useEffect(() => { document.documentElement.setAttribute("data-palette", PALETTE_MAP[t.palette] || "forja"); document.documentElement.setAttribute("data-typography", TYPO_MAP[t.typography] || "heraldico"); document.documentElement.setAttribute("data-parchment", PARCHMENT_MAP[t.parchmentTone] || "sepia"); document.documentElement.setAttribute("data-folds", t.showFolds ? "on" : "off"); document.documentElement.setAttribute("data-runes", t.showRunes ? "on" : "off"); }, [t.palette, t.typography, t.parchmentTone, t.showFolds, t.showRunes]); window.useReveal(); return ( <> {t.grain &&
}