feat(site): 样式大更新——侧栏拖拽 + 借 anatomy_gui 重塑 Qt 绿身份#17
Merged
Conversation
侧栏拖拽(ResizableSidebar 自 ModernCPP 搬入)+ 阅读进度条 + 自定义首页 Hero(QtHero,事件循环/对象树/信号与槽 SVG)+ ModuleCard/ChapterHero 组件(Qt 化改造)。custom.css 补完整 :root/.dark 设计令牌(Qt 绿品牌 + 借 anatomy 骨白/炭墨底),三层 feature 卡配色重调,blockquote/Hero 渐变去硬编码靛蓝。 mermaid 改本地打包(dynamic import,拔 CDN)——浏览器加载跨域 CDN 脚本不可靠会卡骨架。修 SPA 路由切换不渲染:ReadingProgress 的 router.onAfterRouteChange 覆盖了 mermaid 的(VitePress 该钩子是单值回调属性、非订阅),改用 watch(route.path);render 轮询等新页 DOM 挂载。 build.ts 缓存 key 并入 theme/+config/ 哈希——修改主题后普通 build 不加 --force 会输出旧皮的坑。
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.
侧栏拖拽(ResizableSidebar 自 ModernCPP 搬入)+ 阅读进度条 + 自定义首页 Hero(QtHero,事件循环/对象树/信号与槽 SVG)+ ModuleCard/ChapterHero 组件(Qt 化改造)。custom.css 补完整 :root/.dark 设计令牌(Qt 绿品牌 + 借 anatomy 骨白/炭墨底),三层 feature 卡配色重调,blockquote/Hero 渐变去硬编码靛蓝。
mermaid 改本地打包(dynamic import,拔 CDN)——浏览器加载跨域 CDN 脚本不可靠会卡骨架。修 SPA 路由切换不渲染:ReadingProgress 的 router.onAfterRouteChange 覆盖了 mermaid 的(VitePress 该钩子是单值回调属性、非订阅),改用 watch(route.path);render 轮询等新页 DOM 挂载。
build.ts 缓存 key 并入 theme/+config/ 哈希——修改主题后普通 build 不加 --force 会输出旧皮的坑。