Customize the visual appearance of the Para Modal to match your application’s design system. Configure branding in the Developer Portal by default, and useDocumentation Index
Fetch the complete documentation index at: https://docs.getpara.com/llms.txt
Use this file to discover all available pages before exploring further.
configOverrides when a modal instance needs code-level overrides.
Logo Configuration
Theme Configuration
In v3, the theme system uses OKLCH color mixing to generate a complete, harmonious palette from just two colors:foregroundColor and backgroundColor. You no longer need to specify individual colors for buttons, accents, text, or dark mode variants.
Basic Theme Example
Dark Mode Configuration
Just provide dark colors forbackgroundColor and foregroundColor. The system auto-detects dark mode from the background color lightness and generates an appropriate palette:
In v3, separate dark mode color properties (
darkForegroundColor, darkBackgroundColor, darkAccentColor) are no longer needed.
The palette is auto-generated from your foregroundColor and backgroundColor, and dark/light mode is auto-detected from the background color lightness.
Use the mode property only if you need to override the auto-detection (e.g., for a background color near the light/dark boundary that gets misclassified).Foreground Mix Ratio
TheforegroundMixRatio controls how much your foregroundColor bleeds into UI surfaces like buttons, inputs, and borders. The default is 0.04.
| Value | Effect |
|---|---|
0.04 | Default, subtle tinting: surfaces stay close to the background color |
0.08 | Moderate tinting: foreground color is more visible in surfaces |
0.15 | Strong tinting: foreground color is more prominent across all surfaces |
Advanced Customization with CSS Overrides
For granular control over specific UI elements, use thecssOverrides property to set raw CSS custom properties. Overrides are applied after the palette is generated — they replace specific generated values without affecting the rest of the theme — and are scoped to the Para modal, so they never leak into your app’s styles.
Where to set overrides
| Surface | Where | Scope |
|---|---|---|
themeConfig.cssOverrides | In code, on configOverrides.themeConfig | This modal instance |
Available CSS Variables
These are the custom properties the modal actually consumes, so overriding them takes effect:| Variable | Description |
|---|---|
--para-color-background | Modal background |
--para-color-foreground | Primary text color |
--para-color-primary | Primary accent (buttons, links, active states) |
--para-color-primary-foreground | Text on primary-colored elements |
--para-color-secondary | Secondary element backgrounds |
--para-color-secondary-foreground | Text on secondary elements |
--para-color-muted | Muted / input backgrounds |
--para-color-muted-foreground | Placeholder and subtle text |
--para-color-accent | Accent highlights |
--para-color-accent-foreground | Text on accent elements |
--para-color-popover | Popover background |
--para-color-popover-foreground | Popover text |
--para-color-border | Border color |
--para-color-input | Input background |
--para-color-ring | Focus ring color |
--para-color-destructive | Destructive / error color |
--para-radius | Global border radius |
To change the font, use the
font property (below) — not a CSS override. The font family is applied directly to the modal, not through a --para-* variable.