潮流周刊 Design System

Extracted from weekly.tw93.fun · 中文排版优先的设计语言
返回主页
01

Design Philosophy

This System Is

Typography-first: a custom KaiTi (楷体) typeface defines the visual identity.

Chinese-native: CJK-aware spacing, punctuation, and line-breaking via 赫蹏 (heti).

Clean reading: high contrast, generous 1.7 line-height, 864px max-width on content.

Quietly warm: a single brown/copper accent (#a67c52) on white — no loud colors.

Dark mode native: full light/dark scheme using @media (prefers-color-scheme: dark).

Utility-powered: built on Tailwind CSS, extended with custom properties.

This System Is Not

No Latin serif fonts — KaiTi serves as the distinctive voice for both Latin and CJK.

No heavy shadows — shadow-md is the maximum. Cards use borders, not elevation.

No color beyond the warm brown accent + blue links (#1d9bf0).

No animations over 0.2s — snappy transitions only.

No external icon fonts — all icons are inline SVGs.

No pure black text — #262626 is the darkest tone used.

02

Color Palette

theme-bg
#ffffff
theme-accent
#a67c52
theme-text
#262626
theme-divider
#e6e6e6
link-blue
#1d9bf0
text-secondary
#6b7280
code-bg
#1f2937
accent (dark)
#e8a15a
TokenLightDarkRole
--theme-bg#ffffff#21262bPage background
--theme-accent#a67c52#e8a15aAccent, links on hover
--theme-text#262626#e7e9eaPrimary text
--theme-divider#e6e6e6#555555Borders, hr
link#1d9bf0#58a6ffHyperlinks in prose
text-secondary#6b7280#9ca3afMuted text, captions
code-bg#1f2937#161b22Code block background
code-text#e5e7eb#e5e7ebCode block text
03

Typography

潮流周刊第268期 — 小河公园
h1 · 2.25em · weight 800 · line-height 1.11
产品发布 · 潮流工具
h2 · 1.5em · weight 700 · line-height 1.33
随便看看 · 每周精选
h3 · 1.25em · weight 600 · line-height 1.6

封面图拍摄于上一个周末在小河公园拍到的一座有质感的建筑,刚好阳光非常好,绿树搭一起很好看。 这是正文段落的样张,超链接为蓝色,字间距 0.5px,行高 1.75。

body · 1rem (16px) · weight 400 · line-height 1.75 · letter-spacing 0.5px

这是辅助文字 · 14px · #6b7280 · 用于描述、注释、侧边栏链接。

ElementFontSizeWeightLine-height
BodyLXGW WenKai16px4001.7
Small / SidebarLXGW WenKai14px4001.6
h1 (prose)LXGW WenKai2.25em8001.11
h2 (prose)LXGW WenKai1.5em7001.33
h3 (prose)LXGW WenKai1.25em6001.6
CodeSF Mono / Consolas14px4001.6

核心字体:霞鹜文楷 (LXGW WenKai) — 从 CDN (jsDelivr) 分片加载 WOFF2 Web Font,回退至 STKaiti → KaiTi → system-ui。 字体渲染使用 subpixel-antialiased(非 macOS 默认的 antialiased),在中低分辨率屏幕上文字更清晰锐利。

04

Spacing

--space-14px
--space-28px
--space-312px
--space-416px
--space-520px
--space-624px
--space-832px
Content width864px max
Prose margin28px (p, hr)
TokenValueEquivalent Tailwind Class
--space-14pxp-1 / gap-1
--space-28pxp-2 / gap-2
--space-312px— (custom)
--space-416pxp-4 / gap-4
--space-520pxp-5 / gap-5
--space-624pxp-6 / gap-6
--space-832pxp-8 / gap-8
--doc-padding32pxpx-8
p margin-block28pxmy-7
05

Layout

PatternApproachDetails
Page shell CSS Grid two-column Sidebar (240px) + Main content. Stacks at 768px.
Sidebar position: sticky Full-height navigation, dense issue archive (268 links)
Content area max-width: 864px Centered, 16px mobile padding
Navbar 96px height Logo, search, navigation groups
Prose max-width: 65ch Tailwind .prose class with CJK enhancements
Card grid CSS Grid 2-4 cols Responsive: 2@md, 3@lg, 4@xl
BreakpointMin-widthBehavior
sm640pxSidebar collapses, content gets mobile padding
md768pxTwo-column layout, card grids (2 cols)
lg1080pxWider content (64rem), card grids (3 cols)
xl1412pxMax width 80rem, card grids (4 cols)
06

Cards & Pills

周刊第 268 期 — 小河公园
封面图拍摄于上一个周末在小河公园拍到的一座有质感的建筑,刚好阳光非常好,绿树搭一起很好看。
2026/05/25 · 阅读约 8 分钟

Pills / Tags:

产品发布 潮流工具 随便看看 前端开发 macOS 设计

Dense sidebar nav (simulating the 268-issue archive):

08

Motion & Transitions

ElementPropertyDurationEasing
All linkscolor0.2sease
Sidebar nav linkscolor, background0.2sease
Pillsborder-color, color0.2sease
Tailwind utilitiescolor, bg, border, shadow, opacity150mscubic-bezier(.4,0,.2,1)
Page scrollscroll-behavior: smoothsmooth

Rule: Transitions are fast (0.15–0.2s) and limited to color/background/border changes. No opacity fades, no transform animations, no motion for motion's sake.

09

Dark Mode

This page renders differently depending on your OS setting. Toggle between light and dark mode in your system preferences to see the full palette. Key changes:

PropertyLightDark
Background#ffffff#21262b
Text#262626#e7e9ea
Accent#a67c52#e8a15a (warmer, brighter)
Dividers#e6e6e6#555555
Links#1d9bf0#58a6ff
Card bg#f9f9f9#2a2f35
Code bg#1f2937#161b22
10

Anti-Patterns

Use When

Chinese-first content websites, personal blogs, weekly newsletters

Projects that want a literary, refined reading experience

Static sites that need light/dark mode without a JS toggle

Content-heavy pages with sidebar navigation and dense archives

Avoid When

Data-dense dashboards or admin panels (wrong font, wrong density)

English-only content (KaiTi Latin glyphs are unconventional for body text)

Projects that can't load external font files (8MB+ total across subsets)

Highly interactive web apps needing rich component libraries

AvoidUse Instead
Pure black (#000) text#262626 (light) or #e7e9ea (dark)
Bold weight on body text400 throughout; headings scale to 800
Heavy box shadowsSubtle Tailwind shadow / shadow-md, or none
More than 2 accent colorsWarm brown for hover/accent + blue for links
Transitions over 0.2s150-200ms max; color-only transitions
External icon fontsInline SVG or Unicode characters
JavaScript-dependent dark mode toggle@media (prefers-color-scheme: dark)
System sans-serif for Chinese body textKaiTi (楷体) for a literary, refined voice