diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-04-23 00:01:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-23 04:01:02 +0000 |
| commit | bec7199ab6cb3f3628d6a459716d028c294a4c36 (patch) | |
| tree | 64363463f9ff46895e72aebaa0bbb1b8c73068e6 /docs/docusaurus.config.ts | |
| parent | 78bb67fbf79bce6abed9d4e416ca1d10ed7dc12b (diff) | |
| download | anubis-bec7199ab6cb3f3628d6a459716d028c294a4c36.tar.xz anubis-bec7199ab6cb3f3628d6a459716d028c294a4c36.zip | |
fix(docs): make the docs respect light/dark mode (#334)
Closes #333
I'm very bad at design so I just picked colors that looked reasonable
enough to me. Hopefully this will be enough to get us to the next stage!
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'docs/docusaurus.config.ts')
| -rw-r--r-- | docs/docusaurus.config.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 57f39c8..547d979 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -70,6 +70,9 @@ const config: Config = { ], themeConfig: { + colorMode: { + respectPrefersColorScheme: true, + }, // Replace with your project's social card image: 'img/docusaurus-social-card.jpg', navbar: { |
