Enable dark/light mode controls (#940)

## Description

Enable dark/light mode controls.

This also reads the system preferences.

## Type of change

<!--- Please check the type of change your PR introduces: --->
- [x] 🗺️ Documentation


## Test Plan

<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
This commit is contained in:
Niraj Tolia 2022-09-22 15:55:12 -07:00 committed by GitHub
parent 39eb153af5
commit 0ead769e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,8 +130,8 @@ const config = {
},
colorMode: {
defaultMode: 'dark',
disableSwitch: true,
respectPrefersColorScheme: false,
disableSwitch: false,
respectPrefersColorScheme: true,
},
zoom: {