Adding dark mode and publishing your web app to a custom domain
Press play on the video. It'll jump straight to the section that answers the
title above — no need to watch the full video.
Lovable
Web Design
Software Development
Final steps to polish your app with a 'New Chat' button and Light/Dark mode toggles, including how to run security checks before publishing to a custom domain.
API Key Security
It is highly recommended to use a backend like Supabase to hide your API keys. Never leave API keys exposed in the frontend code to prevent unauthorized use of your AI credits.
Perform a Security Review Before Publishing
Always run the 'Review Security' function before clicking the Publish button. The AI will help identify data leaks or code vulnerabilities that you might have overlooked.
Admin Panel Flexibility
You can hide the 'Settings' panel from regular users to turn it into a dedicated Admin Panel for changing AI models or system instructions without needing to modify the source code.
More from AI-Powered Coding & App Development
View All
None
V0
Vercel AI SDK
Add website features & pages using Google Stitch Voice Mode
Google Stitch
Adding AI logo generator functionality using Nano Banana in Emergent
Emergent
Nano Banana
Auto-Generate Database Tables & Interfaces with Softr AI Co-Builder
Softr
Build software tools using Vibe Coding with Lovable
Lovable
Emergent
Generate demo website with embedded AI agent using Lovable
Lovable
Chatbase