# Existing frontend: detect, report, keep or restyle Shared by `rpa-dashboard-no-ai` and `rpa-dashboard-ai`. The files named here sit next to this one, in `rpa-dashboard-no-ai/templates/`. From the AI skill, reach them through `../rpa-dashboard-no-ai/templates/`. ## 1. Detect Run this before asking anything: ``` python /templates/detect_frontend.py ``` It finds: - React, Vue, Angular and Svelte apps (a `package.json` that lists one); - a PyQt `QWebEngineView` host and the pages it shows; - plain HTML pages and their stylesheets. It skips `node_modules`, virtualenvs, dot folders (including `.claude`), build output, coverage and `docs`. For each frontend it prints: - one line: location, stack (with `web` or `desktop`), main colours and font; - then every token block: the file, the selector (dark blocks are marked) and the tokens. Tokens come from: - CSS custom properties, including Tailwind v4 `@theme`; - `