doc: documentation is now in the same repository as the code

Demo site will be generated in subfolder /demo
This commit is contained in:
Jimmy Cai
2023-09-11 18:16:29 +02:00
parent 9b643df3aa
commit 692804498d
32 changed files with 2005 additions and 29 deletions
+22
View File
@@ -0,0 +1,22 @@
# Color Scheme
Light and dark color schemes are available in this theme.
## toggle
- Type: `bool`
- Default: `true`
Display the color scheme toggle button.
If it's set to `false`, the color scheme will be determined by the `default` option.
## default
- Type: `string (light|dark|auto)`
- Default: `auto`
The default color scheme, used when the `toggle` option is set to `false` or when the user visits the site for the first time.
When set to `auto`, the color scheme will be determined by the user's system preference (`prefers-color-scheme` media query).