Skip to content
Snippets Groups Projects
Commit b38f31fa authored by Leonardo Christino's avatar Leonardo Christino
Browse files

chore: use light theme as default

temporary until dark theme is fixed
parent c0eebacd
No related branches found
Tags v1.39.4
No related merge requests found
Pipeline #129834 passed
......@@ -18,7 +18,8 @@ const ColorMode = () => {
setTheme(savedTheme);
} else {
// Fallback to system preference if no saved theme
const prefersDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
// const prefersDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
const prefersDarkMode = false; // TODO: remove once dark theme is fixed
const defaultTheme = prefersDarkMode ? 'dark-mode' : 'light-mode';
setTheme(defaultTheme);
applyTheme(defaultTheme);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment