feat: enable docusaurus respectPrefersColorScheme (#3746)
This commit is contained in:
@@ -288,6 +288,9 @@ const config: Config = {
|
|||||||
themeConfig: {
|
themeConfig: {
|
||||||
// Replace with your project's social card
|
// Replace with your project's social card
|
||||||
image: "img/home-banner.png",
|
image: "img/home-banner.png",
|
||||||
|
colorMode: {
|
||||||
|
respectPrefersColorScheme: true
|
||||||
|
},
|
||||||
navbar: {
|
navbar: {
|
||||||
title: "",
|
title: "",
|
||||||
logo: {
|
logo: {
|
||||||
@@ -460,4 +463,4 @@ const config: Config = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|||||||
Reference in New Issue
Block a user