From 4fc8d39041d437940bb18815e14f506b2ebe259e Mon Sep 17 00:00:00 2001 From: josh crites Date: Mon, 28 Aug 2023 18:23:24 -0400 Subject: [PATCH] fix: default color to light mode (#1847) Defaulting to light mode, which matches our brand colors better. Still keeping the option for dark mode for people that want it, even though feels like an old color scheme. replaces #1664 # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist). --- docs/docusaurus.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 986e3b525d7..1fff567b312 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -94,7 +94,9 @@ const config = { indexName: "aztec", }, colorMode: { - respectPrefersColorScheme: true, + defaultMode: "light", + disableSwitch: false, + respectPrefersColorScheme: false, }, docs: { sidebar: {