Skip to content

feat: restyle the homepage with Liquid Glass - #30

Merged
devkoriel merged 1 commit into
mainfrom
feat/liquid-glass
Nov 19, 2026
Merged

devkoriel merged 1 commit into
mainfrom
feat/liquid-glass

Conversation

@devkoriel

Copy link
Copy Markdown
Owner

Restyles koriel.kr and the 404 page as a Liquid Glass terminal window. Same content, links, and easter eggs.

  • Glass window over a slowly drifting color wallpaper with a faint dot grid, saturated blur, gradient specular rim, and a sheen that follows the pointer
  • 28px window radius (22px on phones) with a concentric inset status capsule. Inner controls use tinted fills, not nested glass
  • Text contrast measured against the worst case (brightest blob parked behind the text): 5.57:1 minimum in light, 6.68:1 in dark
  • Solid fallbacks for browsers without backdrop-filter and for reduced transparency or increased contrast. Motion stops under reduced motion

Edge refraction through an SVG displacement filter was prototyped and dropped. It only works in Chromium, and at the blur needed for legible text it changed rim pixels by 1 to 2 levels, so it wasn't visible.

Test plan

  • Light and dark at 1280px, 390px mobile, 404 page (Playwright, Chromium)
  • No horizontal overflow at 390px, console clean apart from the local server's favicon.ico probe
  • Lighthouse CI on this PR: perf >= 95, a11y/BP/SEO 100 on desktop and mobile

Keeps the terminal concept and content, rendered as a macOS 26 style
glass window over a drifting color wallpaper.

- glass material: translucent tint, saturated backdrop blur, gradient
  specular rim, inner glow, pointer-following sheen (glass.js)
- larger radii, concentric inset status capsule, fill-style controls
  inside the window instead of glass on glass
- dark glass dims the backdrop (brightness .6) so text stays above
  4.5:1 with the brightest blob behind it; measured 5.6:1 minimum
- solid fallbacks for no backdrop-filter, prefers-reduced-transparency
  and prefers-contrast; animations stop under prefers-reduced-motion
- 404 page gets the same treatment
- index.html line endings normalized to LF (it mixed CRLF and LF)
@github-actions

Copy link
Copy Markdown
Contributor

Lighthouse CI Results

Lighthouse (desktop)

Page Perf A11y BP SEO
/ 100 100 100 100
/404.html 100 100 100 100

All pages pass thresholds (Perf >= 95, others = 100).

Lighthouse (mobile)

Page Perf A11y BP SEO
/ 100 100 100 100
/404.html 100 100 100 100

All pages pass thresholds (Perf >= 95, others = 100).

Median of 3 runs | Thresholds: Perf >= 95, A11y/BP/SEO = 100

@devkoriel
devkoriel merged commit 2f94e0a into main Nov 19, 2026
4 checks passed
@devkoriel
devkoriel deleted the feat/liquid-glass branch November 19, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant