The blog is a Jekyll site at https://blog.sunxie.me, using remote theme Minimal Mistakes with a custom Morandi (warm beige/caramel) skin layered on top via:
_sass/_variables-morandi.scss_sass/_fonts-morandi.scss_sass/_morandi-theme.scssassets/css/main.scssReference site: Lil’Log (Hugo + PaperMod-style theme). The user wants the visual hierarchy, card list, system fonts, and grayscale palette of Lil’Log, while keeping this site’s identity and stack.
Footer already has the line the user wants as the sole home welcome:
写字的人,在灯下。
xie'blog (person name sunxie may remain on About).写字的人,在灯下。 (no subtitle), then a card post list./posts/; prefer same cards on category/tag archives when low-cost.llms.txt, skills) except if titles/branding strings need consistency.Approach A (selected): lightweight theme override on MM
_sass/_variables-paper.scss) with Lil’Log-aligned CSS variables.title / site-title to xie'blog; keep footer copy.Rejected:
| Surface | Value |
|---|---|
| Site title / masthead | xie'blog |
_config.yml title / name |
xie'blog |
| Browser title | xie'blog (+ page title where applicable) |
| Description | Keep or lightly shorten; not shown as home subtitle |
| About page display name | May remain sunxie (person ≠ site) |
| Footer line | 写字的人,在灯下。 |
| Footer copyright | © {year} |
写字的人,在灯下。
Aligned with Lil’Log / PaperMod:
| Token | Approx. value | Role |
|---|---|---|
--theme |
rgb(255, 255, 255) |
Page background (post pages) |
--entry |
rgb(255, 255, 255) |
Card background |
--primary |
rgb(30, 30, 30) |
Strong text, logo, headings |
--secondary |
rgb(108, 108, 108) |
Meta, excerpts, muted UI |
--content |
rgb(31, 31, 31) |
Body copy |
--border |
rgb(238, 238, 238) |
Card border, hairlines |
--code-bg |
rgb(245, 245, 245) |
List canvas, inline code wash |
--tertiary |
rgb(214, 214, 214) |
Weak controls |
--hljs-bg |
rgb(28, 29, 33) |
Fenced code block background |
| Token | Approx. value |
|---|---|
--theme |
rgb(29, 30, 32) |
--entry |
rgb(46, 46, 51) |
--primary |
rgb(218, 218, 219) |
--secondary |
rgb(155, 156, 157) |
--content |
rgb(196, 196, 197) |
--border |
rgb(51, 51, 51) |
--code-bg |
rgb(55, 56, 62) |
--tertiary |
rgb(65, 66, 68) |
Dark mode behavior (Phase 1 included):
prefers-color-scheme.Optional toggle in header storing pref-theme in localStorage (light |
dark), matching Lil’Log pattern. |
body.dark or html class; ensure flash-of-wrong-theme is minimized with early inline script in head override if practical.Global stack (Lil’Log-aligned):
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif
Code stack:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace
Rules:
Snell Roundhand, etc.).font-weight: 700, color var(--primary).var(--secondary), max 2 lines with -webkit-line-clamp: 2.var(--secondary).Chinese rendering uses the system default (PingFang / Noto / Microsoft YaHei as provided by OS) via the system stack — no custom webfont requirement for Phase 1.
| Metric | Value |
|---|---|
| Main content width | ~720px |
| Nav max width | ~1024px |
| Gap | ~24px |
| Card radius | 8px |
| Card padding | ~var(–gap) / 1–1.5rem |
| Header height target | ~60px |
List pages (home, posts index): background var(--code-bg); cards var(--entry) with 1px solid var(--border).
Post pages: background var(--theme); content max-width ~720px; links use subtle underline (box-shadow: 0 1px or text-decoration) rather than warm accent color.
Each list item:
Hover: slight border darken or transform; optional :active { transform: scale(0.96) } as in PaperMod — keep subtle.
Remove archive item bottom-border-only list styling for surfaces that use cards.
Keep:
/posts//categories//tags//about/Visual: light masthead, hairline border, active item optional 2px bottom border on primary. No warm gradient footer chrome.
Retheme existing about card/preface styles to grayscale tokens so the page does not remain Morandi while the rest of the site is Paper-like. Content copy can stay.
Replace Morandi warm highlight palette with neutral tokens:
var(--code-bg) background.var(--hljs-bg) with light syntax colors suitable for dark code panels (existing rouge classes restyled).Drop three-tier code-theme-soft|balanced|strong warm schemes unless trivial to map; one readable default is enough.
| File | Responsibility |
|---|---|
_config.yml |
title/name → xie'blog; theme flag rename away from morandi |
_sass/_variables-paper.scss (new) |
Color + type tokens; may supersede morandi variables |
_sass/_fonts-paper.scss (new) or slim fonts file |
System font mixins only |
_sass/_paper-theme.scss (new) |
Global element styles using tokens |
| Delete or stop importing | _variables-morandi.scss, _fonts-morandi.scss, _morandi-theme.scss after migration |
assets/css/main.scss |
Import paper stack; rewrite masthead, footer, archive cards, about overrides |
index.html and/or _includes/home-welcome.html |
Welcome line only |
| Layout/include overrides | Home list markup if MM default cannot card-wrap cleanly |
_includes/footer.html |
Keep line; ensure font inherits system stack |
_includes/head.html or custom head |
Dark-mode early script + theme toggle assets if needed |
_data/navigation.yml |
Unchanged URLs unless labels need tweak |
Minimal Mistakes archive list markup is typically .archive__item inside .entries-list. Prefer CSS-first cards on existing structure; only add includes if full-card link or meta row needs HTML change.
xie'blog./posts/ cards.Phase 1 preference: also apply cards to category/tag list items if the same .archive__item selector covers them with no extra HTML — do it when free.
xie'blog in system sans, weight bold, no cursive.写字的人,在灯下。 and no subtitle paragraph under it.| Risk | Mitigation |
|---|---|
| MM default CSS fights overrides | Load paper theme after MM imports; increase selector specificity only where needed |
| Remote theme updates break overrides | Keep overrides in local assets/css/main.scss and _includes only |
| Dark mode FOUC | Small blocking/early script before paint, same pattern as Lil’Log |
| Chinese line-height with system fonts | Spot-check home, post, about on macOS Safari/Chrome |
| Losing brand warmth | Accept by design; lit comes from copy + whitespace |
bundle exec jekyll serve (or project’s usual serve path)./posts/, /about/, /categories/ or /tags/.#f6efe7, #9f7a5a, #a55331, etc.) and clear intentional leftovers.| Decision | Resolution |
|---|---|
| Subtitle on home | None — main line only |
| Palette | Lil’Log grayscale, not Morandi |
| Fonts | System stack, no decorative fonts |
| Brand | xie'blog |
| Implementation path | Override MM (Approach A) |
| Dark mode in Phase 1 | Yes |
--main-width: 720px, system font stack, card .post-entry)_includes/footer.htmlassets/css/main.scss