You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -74,9 +79,14 @@ See [here for full example.](../../website/src/pages/examples/custom-page/index.
74
79
Convenient way to provide the highlighted color used by Redoc.
75
80
This value will be used as `colors.primary.main` in the `themes` option. Must be an actual color value and not a css variable.
76
81
82
+
### primaryColorDark (string, hex/rgba value)
83
+
84
+
Optional way to change the highlighted color used by Redoc in dark mode. Defaults to `primaryColor` if not set.
85
+
This value will be used as `colors.primary.main` in the `themes` option. Must be an actual color value and not a css variable.
86
+
77
87
### options (optional, object)
78
88
79
-
Override redoc options passed to [RedocStandalone](https://redoc.ly/docs/redoc/quickstart/react/) component. See the defaults [here](./src/redocData.ts#L5-L12).
89
+
Override redoc options passed to [RedocStandalone](https://redoc.ly/docs/redoc/quickstart/react/) component. See the defaults [here](./src/redocData.ts#L5-L12).
80
90
81
91
Available properties [here](https://github.com/Redocly/redoc#redoc-options-object).
82
92
You cannot set theme property using this property, use `theme` option below instead.
Copy file name to clipboardexpand all lines: website/docs/getting-started/theme-options.md
+5
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,11 @@ author_url: https://rohit.page
10
10
Convenient way to provide the highlighted color used by Redoc.
11
11
This value will be used as `colors.primary.main` in the `themes` option. Must be an actual color value and not a css variable.
12
12
13
+
### primaryColorDark (string, hex/rgba value)
14
+
15
+
Optional way to change the highlighted color used by Redoc in dark mode. Defaults to `primaryColor` if not set.
16
+
This value will be used as `colors.primary.main` in the `themes` option. Must be an actual color value and not a css variable.
17
+
13
18
### options (optional, object)
14
19
15
20
Override redoc options passed to [RedocStandalone](https://redoc.ly/docs/redoc/quickstart/react/) component. See the defaults [here](https://github.com/rohit-gohri/redocusaurus/blob/main/packages/docusaurus-theme-redoc/src/redocData.ts#L5-L12).
0 commit comments