1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00

Respect prefers color scheme (#324)

This commit is contained in:
Iver Karlsbakk Småge 2023-05-09 11:23:21 +02:00 committed by GitHub
parent 89bc0cdcb0
commit 879444fc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,9 @@ module.exports = {
theme: require('prism-react-renderer/themes/dracula'),
additionalLanguages: ['rust', 'toml'],
defaultLanguage: 'rust'
},
colorMode: {
respectPrefersColorScheme: true,
}
},
plugins: ["docusaurus-plugin-sass"],