Skip to content

Commit 2e4bc62

Browse files
isstuevcarlomigueldy
authored andcommitted
fix color mode (blockscout#2622)
1 parent 0ba97e8 commit 2e4bc62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/snippets/topBar/settings/SettingsColorTheme.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const SettingsColorTheme = ({ onSelect }: Props) => {
2828
window.document.documentElement.style.setProperty(varName, hex);
2929

3030
cookies.set(cookies.NAMES.COLOR_MODE_HEX, hex);
31+
cookies.set(cookies.NAMES.COLOR_MODE, nextTheme.colorMode);
3132
window.localStorage.setItem(cookies.NAMES.COLOR_MODE, nextTheme.colorMode);
3233
}, [ setColorMode ]);
3334

0 commit comments

Comments
 (0)