
Melaya is the platform to build and run AI agents across your tools, browser, and Android phone. Bring your own AI, automate the work, approve every action.
ships class="dark", and ThemeContext used to only fix it in a post-mount effect). Precedence MUST match ThemeContext.getInitialMode: an explicit stored choice, else dark (dark is the prerender/brand default — deliberately NOT the OS preference, so the dark-baked prerender never flips to light and flashes for dark users). Governed by the CSP above (script-src 'unsafe-inline'); try/catch so a storage-blocked context can't break boot. A light-preference user now paints light immediately. --> keeps it working with JS disabled. Inline onload is permitted by the CSP's script-src 'unsafe-inline'. -->
Melaya is the platform to build and run AI agents across your tools, browser, and Android phone. Bring your own AI, automate the work, approve every action.
ships class="dark", and ThemeContext used to only fix it in a post-mount effect). Precedence MUST match ThemeContext.getInitialMode: an explicit stored choice, else dark (dark is the prerender/brand default — deliberately NOT the OS preference, so the dark-baked prerender never flips to light and flashes for dark users). Governed by the CSP above (script-src 'unsafe-inline'); try/catch so a storage-blocked context can't break boot. A light-preference user now paints light immediately. --> keeps it working with JS disabled. Inline onload is permitted by the CSP's script-src 'unsafe-inline'. -->