Welcome to Leyline
Leyline is a minimal Hugo theme aimed at writing. It does a few things well: Sticky header with a logo, menu, and quick controls. A light/dark switcher that respects your OS …
Leyline is a minimal Hugo theme aimed at writing. It does a few things well: Sticky header with a logo, menu, and quick controls. A light/dark switcher that respects your OS …
The first version of Leyline’s mobile menu had two icons stacked in the button: a hamburger and an X. CSS swapped them based on whether the menu was open. It worked, but it …
A few short notes on the type choices in this theme. One family, three weights Leyline ships with Inter at weights 400, 500, and 700. That’s enough to support body text, UI …
For years, “a lighter version of the accent colour” meant baking in a second hex value. Now there’s color-mix(). Leyline’s tag chips use this pattern: on …
The theme switcher in Leyline follows a simple rule: on the first visit, match the user’s OS preference. Once they tap the toggle, lock to their choice via localStorage. This …
↑↓ navigate · ↵ select · esc close