UI & UX
Interface design, CSS motion and accessibility, with code you can run.
UI & UXOct 14, 2026 · 9 min
How design tokens work, from a JSON file to CSS variables
Design tokens explained with a real JSON example: naming, aliases, a dark theme, and a Node script that turns a token file into CSS variables.
UI & UXOct 14, 2026 · 9 min
Color Contrast Accessibility Checker: WCAG Ratios and a Script
What WCAG AA and AAA require for color contrast, how the ratio is computed, and a runnable Node.js checker you can point at your own palette.