feat: implement theme transition animations and dark mode improvements

- Add view transition API for theme switching

- Update cycleTheme to handle animation circle

- Refactor CSS with consistent quoting and indentation

- Improve theme variable handling and no-op optimizations

- Pass event to cycleTheme in MenuComponent
This commit is contained in:
immortal521
2025-08-15 13:12:27 +08:00
parent b385945c2d
commit ef58630dae
3 changed files with 303 additions and 211 deletions

View File

@@ -116,7 +116,7 @@
</div>
</div>
<div class="menu-footer">
<div class="menu-footer-btn" @click="cycleTheme">
<div class="menu-footer-btn" @click="(e) => cycleTheme(e)">
<i :class="iconClass"></i>
</div>
</div>