Skip to content

Commit

Permalink
feat: respect color theme preference (#6300)
Browse files Browse the repository at this point in the history
Signed-off-by: twobiers <[email protected]>
  • Loading branch information
twobiers authored Nov 4, 2024
1 parent 6a6da3b commit 31e2ae7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ const config: Config = {
],
],
themeConfig: {
colorMode: {
respectPrefersColorScheme: true,
},
image: "/docs/social/docs-social.png",
metadata: [
{ name: "twitter:card", content: "summary_large_image" },
Expand Down

0 comments on commit 31e2ae7

Please sign in to comment.