Custom Theming

Make your Plaros embeds match your brand with custom colors, themes, and styling options.

Theme Override Options

Custom Colors

Override your tenant's default colors for specific embeds using URL parameters.

Primary Color

Controls buttons, links, and main interactive elements.

// URL parameter (without #)
?primaryColor=FF6B35

// JavaScript example
url.searchParams.set('primaryColor', '#FF6B35'.replace('#', ''));

Secondary Color

Controls accents, highlights, and secondary interactive elements.

// URL parameter (without #)
?secondaryColor=004E89

// JavaScript example
url.searchParams.set('secondaryColor', '#004E89'.replace('#', ''));

Theme Mode

Force your embed to use light or dark mode regardless of user preferences.

Complete Theming Example

Color Picker Integration

React with Color Picker

Responsive Sizing

Customize how your embed appears on different screen sizes.

Standard Responsive Setup

Custom Aspect Ratios

Different content types may benefit from different aspect ratios:

Advanced Styling

Custom Container Styling

Brand Integration

CSS Variables for Dynamic Theming

Use CSS custom properties for runtime theme switching:

Color Accessibility

Ensure your custom colors meet accessibility standards:

Theme Testing

Test your custom themes across different scenarios:

Next Steps

  • See Integration Examples for framework-specific theming implementations

  • Learn about Configuration Options for additional customization

  • Check Troubleshooting for common theming issues