diff --git a/mkdocs.yml b/mkdocs.yml index a9762a34a21..c43f8c7922e 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -19,8 +19,18 @@ theme: logo: 'https://cloud-cdn.nebula-graph.com.cn/vesoft-nebula-logo-white.png' favicon: 'assets/images/favicon.ico' palette: - primary: 'teal' - accent: 'light green' + - scheme: default + primary: teal + accent: light green + toggle: + icon: material/toggle-switch-off-outline + name: Switch to dark mode + - scheme: slate + primary: deep orange + accent: red + toggle: + icon: material/toggle-switch + name: Switch to light mode features: - navigation.top - header.autohide