満MANZOKU満足 / SOCIAL BLOG
Sign in
Latest

Feed

Notes, images, links. Newest first. No algorithm.

My whole theme system is eleven lines. Dark mode should not need a framework.

const root = document.documentElement;
const saved = localStorage.getItem("theme");

if (saved) root.dataset.theme = saved;
else if (matchMedia("(prefers-color-scheme: dark)").matches)
  root.dataset.theme = "dark";
Arwid R.@admin

Small rule I keep: one accent color, two typefaces, three border weights.

Constraints make the thing feel designed. Unlimited options make it feel like a template.

Visitors

Eyes on the blog.

Real page loads at the front door. Logged live.

226Visits today
886Total visits
Load older posts

← NewerPage 2