From bb96ea0eb8992ea6f695e43de692d8dcceed8d31 Mon Sep 17 00:00:00 2001 From: randomJoe211 <69501902+randomJoe211@users.noreply.github.com> Date: Wed, 15 Sep 2021 17:48:45 +0800 Subject: [PATCH] Add day mode and night mode --- mkdocs.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index fd21f766696..a55f6fa14cd 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -20,8 +20,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: 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 language: 'en'