Skip to content

Commit

Permalink
fix: disable color mode transition animation
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <[email protected]>
  • Loading branch information
ZTL-UwU committed Oct 8, 2024
1 parent 8b659d8 commit 0343fbc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/layout/AsideTreeItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</span>
<SmartIcon
name="lucide:chevron-down"
class="ml-auto self-center transition-all"
class="ml-auto self-center transition-transform"
:class="[!isOpen && '-rotate-90']"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ navigation: false
::hero
---
announcement:
title: 'Release v0.5.7'
title: 'Release v0.5.8'
icon: '🎉'
to: https://github.com/ZTL-UwU/shadcn-docs-nuxt/releases
target: _blank
Expand Down
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default defineNuxtConfig({
},
colorMode: {
classSuffix: '',
disableTransition: true,
},
css: [
join(currentDir, './assets/css/themes.css'),
Expand Down

0 comments on commit 0343fbc

Please sign in to comment.