# Chrome Extension — Theme Preview A Manifest V3 Chrome extension that lets you inject Chativa onto **any website**, tweak the theme live, and copy the resulting JSON / `ThemeBuilder` code straight into your own project. Useful for design reviews and "what would this look like on the customer's actual page" demos. ![Extension popup](./assets/screenshots/extension/popup.png) > _Screenshot placeholder — see [docs/assets/screenshots/README.md](./assets/screenshots/README.md)._ Source: [`apps/chrome-extension/`](../apps/chrome-extension/). ## Install ### From source ```bash pnpm install pnpm --filter @chativa/chrome-extension build ``` The build produces `apps/chrome-extension/dist/`. In Chrome: 1. Open `chrome://extensions`. 2. Enable **Developer mode** (top right). 3. Click **Load unpacked** and select `apps/chrome-extension/dist`. The extension appears in your toolbar. ![Loading the unpacked extension](./assets/screenshots/extension/load-unpacked.png) > _Screenshot placeholder._ ### From the Chrome Web Store > Once published, this section will link to the listing. ## Usage 1. Visit any page where you'd like to preview Chativa. 2. Click the extension's toolbar icon — the popup opens. 3. Tweak colors, position, layout, window mode, and feature flags. 4. Click **Inject Widget on This Page**. The widget appears live on the host page. 5. Continue editing — every change pushes a `chativa-update-theme` message to the injected widget; updates are instant. 6. Click **Update Theme** (after any edit) to re-push, or **Remove Widget** to clean up. ![Popup → injected widget side by side](./assets/screenshots/extension/inject.png) > _Screenshot placeholder._ ## Export The popup's **Export** section gives you three drop-in formats: | Format | Where to paste | |---|---| | **CDN snippet** | A standalone HTML/JS block — `