Skip to content

Commit

Permalink
Update Colormode follow osColorScheme
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Dec 8, 2024
1 parent 848b383 commit 12647ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/vendor/manager/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ onBeforeMount(()=>{
const colorMode = getCookie('astroid_colormode');
if (colorMode) {
theme.value = colorMode;
} else if (getCookie('osColorScheme')) {
theme.value = getCookie('osColorScheme');
}
})
Expand Down

0 comments on commit 12647ea

Please sign in to comment.