Docs

darkTheme

Create a custom dark theme object by using the default dark theme as a base and applying overrides.

Example

Get the default dark theme

const defaultDarkTheme = darkTheme();

Create a custom dark theme

const customTheme = darkTheme({
colors: {
modalBg: "red",
},
});

Parameters

Returns