Skip to main content

Theme Options

primaryColor (string, hex/rgba value)

Convenient way to provide the highlighted color used by Redoc.
This value will be used as colors.primary.main in the themes option. Must be an actual color value and not a css variable.

options (optional, object)

Override redoc options passed to RedocStandalone component. See the defaults here.

Available properties here.
You cannot set theme property using this property, use theme option below instead.

theme (optional, object)

Override the redoc theme object passed to Redoc. See the default here.

caution

Note: You should not override any color using this property, as it will be the same value for dark and light themes.