Skip to content

Commit

Permalink
feat(nuxt-admin): add dark mode switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Feb 22, 2023
1 parent 74d255d commit 1f01015
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion starter/nuxt-admin/components/Admin/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const menus = props.menus || appConfig.admin.menus;

<VInput
v-if="appConfig.admin.search.enable"
wrapper-class="w-full px-4 mb-4"
wrapper-class="w-full px-4 mb-4 mt-2"
placeholder="Search"
prepend-icon="ri:search-line"
/>
Expand Down
12 changes: 6 additions & 6 deletions starter/nuxt-admin/components/Aside/Header.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<NuxtLink
to="/admin"
class="flex justify-start items-center gap-2 py-5 w-full px-4 mb-2"
>
<Logo />
</NuxtLink>
<header class="px-4 flex justify-between items-center py-5">
<NuxtLink to="/admin">
<Logo />
</NuxtLink>
<ColorModeSwitcher />
</header>
</template>

1 comment on commit 1f01015

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for gits-nuxt-admin ready!

✅ Preview
https://gits-nuxt-admin-oqy801csn-gravitano.vercel.app

Built with commit 1f01015.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.