Skip to content

Commit bd90186

Browse files
authored
Document darkMode=auto option (#262)
1 parent 61f0499 commit bd90186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/app-portal.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ The supported parameters are:
317317
- `primaryColorLight` and `primaryColorDark` - the primary color of the UI in light and dark mode, respectively. Format: `RRGGBB`, e.g. `28bb93`.
318318
- `icon` - a URL to an image file. E.g. `https://www.example.com/logo.png` (remember to URL-encode it!).
319319
- `fontFamily` - one of the fonts listed in the dashboard (see previous section). E.g. `Roboto`.
320-
- `darkMode` - when set to `true`, dark mode will be turned on by default when the app portal is opened.
320+
- `darkMode (false|true|auto)` - when set to `true`, dark mode will be turned on by default when the app portal is opened. `auto` will use the user's system preferred color mode. Defaults to `false`.
321321
- `hideNavigation` - when set to `true`, the navigation tabs will be hidden. This can be useful to embed only specific sections of the app portal, in combination with the `next` parameter (see [Showing a specific page](#showing-a-specific-page)).
322322
- `noGutters` - when set to `true`, the app portal will not have any left or right padding within the iframe. This can be useful to align the app portal content with other elements in your site.
323323

0 commit comments

Comments
 (0)