Redesign navbar and landing page with editorial light theme / 以编辑风浅色主题重新设计导航栏与首页 - #882
Draft
functionstackx wants to merge 1 commit into
Draft
Redesign navbar and landing page with editorial light theme / 以编辑风浅色主题重新设计导航栏与首页#882functionstackx wants to merge 1 commit into
functionstackx wants to merge 1 commit into
Conversation
…ight theme Rework the site shell around a white editorial design system: near-black ink typography, deep-teal brand accents, mint pill CTAs, solid light-bordered cards, and Instrument Sans as the UI face. The landing page is rebuilt as full-width sections - statement hero with model insight cards, mint supporters band, split explore section, and a ruled methodology section with a stat callout - and the footer becomes a dark teal band with rescoped tokens. Light is now the default theme, with an equivalent dark translation. All testids, analytics events, and zh strings are preserved. 中文:围绕白底编辑风设计系统重构站点外壳:近黑色正文排版、深青色品牌点缀、薄荷绿胶囊按钮、浅色描边实底卡片,并以 Instrument Sans 作为界面字体。首页重构为通栏分区——大标题主视觉与模型洞察卡片、薄荷绿支持者横幅、左右分栏的数据探索区、带统计数字的测试方法分区;页脚改为深青色色带。浅色主题成为默认,并提供等效的深色版本。所有 testid、埋点事件与中文文案均保持不变。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Note
WIP — visual redesign of the site shell. Copy, tokens, and section layout still open for iteration.
What changed
Reworks the navbar, landing page, and footer around a clean editorial design system: white ground, near-black ink typography, deep-teal brand accents, mint pill CTAs, and solid light-bordered cards. Instrument Sans becomes the UI typeface (DM Sans stays loaded for chart exports). Light is now the default theme, with an equivalent dark-teal translation of the palette.
globals.css) — new light/dark palettes; addedmint/inksurface tokens;.footer-inkscope rescopes tokens inside the footer so all children render light-on-dark with no per-component edits. Minecraft theme, overlay-run palettes, shiki, and scrollbar CSS untouched.text-brandclass).bg-card+ light border (app-wide).next/font,defaultTheme="light", removed the circuit background render and its preload.All Cypress testids, analytics events,
navigateInAppbehavior, and en/zh strings are preserved./zhrenders through the same components.Verification
bun run typecheck,bun run lint,bun run fmt— cleanbun run test:unit— same 11 failures asmainin this environment (data/server tests unrelated to these files); no new failures/,/zh,/comparehero,/about, mobile menu, launch banner, star nudge中文说明
围绕白底编辑风设计系统重构导航栏、首页与页脚:白色底面、近黑色正文排版、深青色品牌点缀、薄荷绿胶囊按钮、浅色描边实底卡片,界面字体改为 Instrument Sans(DM Sans 仍保留用于图表导出)。浅色主题成为默认,深色主题为等效的深青色版本。
mint/ink表面令牌;页脚通过.footer-ink作用域重设令牌,子组件无需逐一修改。Minecraft 主题、图表叠加配色、shiki 与滚动条样式保持不变。所有 Cypress testid、埋点事件、
navigateInApp行为与中英文文案均保持不变;/zh页面复用同一组件。