Monthly visitors
24,892
Visual builder
Set global defaults, then inspect a working set of common Opus components. Per-component controls still override this theme.
The search action uses the global tertiary accent.
Monthly visitors
24,892
Conversion rate
8.6%
Open tasks
18
An inner surface against the themed widget background.
See borders, panels, typography, and action colours together.
Copy this theme wrapper into your application. Component-level props can still override these defaults.
tsximport {
OpusThemeProvider,
createAccentStyle,
createBaseStyle,
createTileAccentStyle,
} from "opus-react";
const themeStyle = {
...createAccentStyle("#8f6cff", "#0284c7", "#0ea5e9"),
...createTileAccentStyle("#ec4899", "#0ea5e9"),
...createBaseStyle("#64748b"),
};
const themeDefaults = {
appearance: "standard",
radius: "standard",
transparency: "standard",
gradient: false,
};
export function App({ children }) {
return (
<OpusThemeProvider
theme="dark"
fontFamily="Space Grotesk"
style={themeStyle}
defaults={themeDefaults}
>
{children}
</OpusThemeProvider>
);
}