Change Colors
- Open the Demohacks side panel and select Set Branding
- Click the + button to create a new rule
- Choose Change Colors
- Enter the Color Variable name (e.g.,
--color-primary,--color-accent) - Set the Default Color (hex format, e.g.,
#155DFC) - Optionally add a URL Filter to limit the rule to specific pages
- Save the rule
To apply a custom color:
- In the branding rules list, click the color picker next to a rule
- Select your customer’s brand color
- The color applies immediately when demo mode is enabled
Replace Logos
- Select Set Branding from the toolbox
- Click the + button to create a new rule
- Choose Change Logo
- Click the element selector button next to Default Image
- Hover over the page to highlight elements, then click the image you want to replace
- Upload your replacement image by:
- Dragging and dropping an image file onto the upload area, or
- Clicking to select an image from your computer
- Optionally add a URL Filter
How It Works
Colors: The extension injects CSS variables that override the site’s color scheme. Works with any CSS variable the site uses.
Images: Replacement images are automatically resized if larger than 640px. The extension maintains the original image’s aspect ratio and fits it within the displayed dimensions.
Tips
- For colors, inspect the website’s CSS to find variable names (look for
--color-*in the stylesheet) - Image files are automatically optimized: large images are resized to 480px width
- SVG images are preserved without resizing
- Both color and image replacements work in real time when demo mode is enabled