feat: optimize theme toggle logic & customize style #38
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎯 改动概述
優化主題切換(Theme Toggle)的交互體驗,實現了圓形擴散(Circle Clip)動畫效果,並調整了默認主題與配色。
📝 详细说明
🧪 测试确认
npm run docs:build)npm run docs:dev)📸 截图(如适用)
💭 其他说明
client.ts進行了邏輯增強,覆蓋了主題默認的切換行為以實現更平滑的動畫。custom.css已重置為指定配色方案。