Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Update docusaurus from beta-16 to beta-17, including rewriting dark mode suppression #1036

Merged
merged 2 commits into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,42 +196,6 @@ module.exports = {
appId: "6KYF3VMCXZ",
indexName: "camunda",
},
// Disabling Dark Mode
// https://github.com/camunda-cloud/camunda-cloud-documentation/issues/125
//
colorMode: {
// "light" | "dark"
defaultMode: "light",

// Hides the switch in the navbar
// Useful if you want to support a single color mode
disableSwitch: true,

// Should we use the prefers-color-scheme media-query,
// using user system preferences, instead of the hardcoded defaultMode
respectPrefersColorScheme: false,

// Dark/light switch icon options
switchConfig: {
// Icon for the switch while in dark mode
darkIcon: "🌙",

// CSS to apply to dark icon,
// React inline style object
// see https://reactjs.org/docs/dom-elements.html#style
darkIconStyle: {
marginLeft: "2px",
},

// Unicode icons such as '\u2600' will work
// Unicode with 5 chars require brackets: '\u{1F602}'
lightIcon: "\u{1F602}",

lightIconStyle: {
marginLeft: "1px",
},
},
},
},
presets: [
[
Expand Down
Loading