mirror of
https://github.com/actix/actix-website
synced 2024-11-27 18:12:57 +01:00
Respect prefers color scheme (#324)
This commit is contained in:
parent
89bc0cdcb0
commit
879444fc80
@ -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"],
|
||||
|
Loading…
Reference in New Issue
Block a user