From cc597f317d228d5189972534f1392abedf440c20 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Wed, 4 Nov 2020 15:08:16 +0530 Subject: [PATCH] papermod: features: add theme switch table --- content/posts/papermod/papermod-features/index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content/posts/papermod/papermod-features/index.md b/content/posts/papermod/papermod-features/index.md index 9f3a5e8..3edd7f5 100644 --- a/content/posts/papermod/papermod-features/index.md +++ b/content/posts/papermod/papermod-features/index.md @@ -43,6 +43,17 @@ To disable it : disableThemeToggle: true ``` +You can refer following table for better understanding... + +| `defaultTheme` | `disableThemeToggle` | checks local storage? | checks system theme? | Info | +| -------------- | -------------------- | --------------------- | -------------------- | ----------------- | +| `auto` | true | No | Yes | only system theme | +| | false | Yes (if not->2) | Yes (2) | _switch present_ | +| `dark` | true | No | No | force dark only | +| | false | Yes | No | _switch present_ | +| `light` | true | No | No | force light only | +| | false | Yes | No | _switch present_ | + --- ### Archives Layout