Skip to content

Commit

Permalink
feat: add support for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rileychh committed Sep 17, 2024
1 parent f177634 commit 416cc9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ const routes = {
'/projects': '專案',
}
const isDark = useDark()
const toggleDark = useToggle(isDark)
const breakpoints = useBreakpoints(breakpointsSematic)
const isMobile = breakpoints.smaller('tablet')
Expand Down Expand Up @@ -151,7 +154,7 @@ header {
align-items: center;
list-style: none;
&:hover {
:hover {
cursor: pointer;
background-color: #fff3;
}
Expand Down

0 comments on commit 416cc9f

Please sign in to comment.