Skip to content

Commit

Permalink
Merge pull request #35 from threshold-network/default-dark-mode
Browse files Browse the repository at this point in the history
Fix: Set dark mode as default

The application is meant to work in dark mode by default. This PR adjusts Chakra
configuration to define dark mode as default.
  • Loading branch information
michalsmiarowski authored Feb 1, 2024
2 parents c6e6505 + ad002cf commit 9e20ebf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ const index = extendTheme({
Button,
Alert,
},
config: {
initialColorMode: "dark",
useSystemColorMode: false,
},
})

export default index

0 comments on commit 9e20ebf

Please sign in to comment.