Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Default documentation theme using system preference, closes #197

davidmezzettid069ec2f839b
diff --git a/mkdocs.yml b/mkdocs.yml
index 6b20d43d..1eff2d96 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -14,13 +14,15 @@ theme:
icon:
repo: fontawesome/brands/github
palette:
- - scheme: default
+ - media: "(prefers-color-scheme: light)"
+ scheme: default
primary: blue
accent: blue
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
- - scheme: slate
+ - media: "(prefers-color-scheme: dark)"
+ scheme: slate
primary: light blue
accent: light blue
toggle: