Hydration issue when setting initial color theme
Description
The value returned by the useColorMode
hook from @docusaurus/theme-common is not working as expected, since it doesn't initiate with correct state but instead should always initiate it to the default color mode, and then trigger a new re-render to fix it after hydration.
Edited by Lasha Kakabadze