Repository navigation
feat(theme): 新增月之暗面主题并适配网页宠物缩放 - #15
Merged
Merged
Conversation
Introduce the prism palette, continuous optical home composition, record sleeves, radial navigation, content layouts and login sequence. Cover shared controls, editors, chat, overlays, responsive layouts and reduced-motion navigation; document the design and browser checks.
Share physical record artwork across article surfaces, strengthen navigation and tab states, and add a gentle starfield. Replace the repeated homepage login art with a separate eclipse renderer, retaining cancellation, reduced-motion and static fallback behavior.
新增棱镜光学组件复用至主题选择器,更新多语言站点文案,添加本地开发允许的IP地址
新增页面缩放计算逻辑,根据设备像素比和视口缩放动态调整吉祥物的尺寸,同时添加缩放相关的事件监听和清理逻辑,确保在页面缩放时吉祥物显示正确且性能稳定。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Reviewer's Guide本 PR 通过根级主题属性和共享组件复用新增第四套“月之暗面”主题,覆盖全站布局、首页棱镜场景、唱片封套、导航、弹层及独立月蚀登录流程;同时新增光谱页面转场、四语言文案、明暗色与 reduced-motion 适配,并将网页宠物改为基于设备/视口缩放的引擎原生动态比例调整。 Sequence diagram for the Prism page transitionsequenceDiagram
participant User
participant NavLink
participant PrismEffects
participant Router
participant Page
User->>NavLink: Click pathname link
NavLink->>PrismEffects: Dispatch P3R_WIPE_EVENT
PrismEffects->>PrismEffects: Draw spectrum shutter
PrismEffects->>Router: navigate()
Router-->>Page: Route becomes ready
PrismEffects->>PrismEffects: Draw spectrum reveal
PrismEffects-->>User: Show destination page
alt Reduced motion, hidden page, or Canvas unavailable
PrismEffects->>Router: fallback()
Router-->>Page: Native navigation
end
Sequence diagram for the Prism login eclipse flowsequenceDiagram
participant User
participant Login
participant ConnectionStore
participant PrismSequence
participant PrismEclipse
participant Destination
User->>Login: Submit authentication
Login->>ConnectionStore: begin()
ConnectionStore->>PrismSequence: pending connection state
PrismSequence->>PrismEclipse: Render eclipse canvas
PrismEclipse-->>PrismSequence: Totality reached
PrismSequence->>ConnectionStore: onCovered()
ConnectionStore-->>Destination: Commit authenticated route
Destination-->>PrismSequence: pageReady
PrismSequence->>PrismEclipse: Reveal circular aperture
PrismSequence-->>User: Show destination
alt Error or cancel
PrismSequence-->>User: Return to login
end
alt Reduced motion or Canvas unavailable
PrismSequence->>PrismSequence: Skip visual sequence
PrismSequence-->>User: Preserve native connection flow
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
变更内容
验证
Summary by Sourcery
Introduce the Dark Side theme as a fully integrated visual system and make the web mascot responsive to browser and touch zoom.
New Features:
Enhancements:
Build:
Documentation:
Tests: