Build with AI
Prompt: match your brand
Match the listing pages to your brand through the --rw-* variables, without restyling the recipe components.
This prompt sets your brand on the recipe components through their variables, as Match your brand describes.
The prompt
Prompt
Read RUUSTER_IDX.md first and follow its MUST and NEVER rules. Ask me if it doesn't cover something.
Match the listing pages to my brand without restyling the recipe components, following <https://help.ruuster.com/idx/theming>. Read my brand variables from GET /v1/meta themeVars and pass them to RecipesStyles in my layout. Where my site's colors or fonts differ, override only the --rw-* variables in my own stylesheet. Do not change the components' markup or class names, and keep text contrast at WCAG 2.2 AA.
Use this environment variable: IDX_SECRET_KEY (server only). Never paste a secret key into a chat. No key goes in any page: my pages call my own /api/idx route, made with createListingsRoute from @ruuster/idx/route, which adds my secret key on the server (on a site with no server, the widgets call the API with no key from my approved website address).
Fair housing: describe homes, places and amenities only. Never describe the people who live in an area or who a home or area suits, and never rank schools as a reason to buy.
When you are done, list the --rw-* variables you changed with their old and new values.What it builds
RecipesStylesin your layout with yourthemeVarsfromGET /v1/meta- overrides of the
--rw-*variables in your own stylesheet, and nothing else
How to check it
- Compare a results page and a listing page with your site's colors and fonts.
- Check the text contrast with your browser's accessibility tools: it meets WCAG 2.2 AA.
Before you paste it
Follow the setup on Build it with your AI coding assistant once: RUUSTER_IDX.md at the root of your project, the two lines in CLAUDE.md or AGENTS.md, and your keys in .env.local. Never paste a secret key into a chat. Replace the text in square brackets with your own before you send the prompt.