stefanjohansson.org
homeaboutposts
homeaboutposts

a site

Page hero imagePage hero image

some thoughts and reflections on it, software engineering, data and related architectures, patterns, toolings...

latest post

Showing tomorrow's vote count today hero imageShowing tomorrow's vote count today hero image

Showing tomorrow's vote count today

The vote counts on this blog only change once a day, but your own click shows straight away and never counts twice. Three fields in localStorage and one timestamp in the HTML do it.

pinned posts

Diagram illustrationDiagram illustration

diagrams with React Flow

demonstrating static and interactive diagrams using React Flow

Astro Components illustrationAstro Components illustration

astro components

A tour of the Astro Components collection - a small set of self-contained npm packages that add diagrams, theming, and version notes to Astro 6+ sites, each usable as a plain component or a one-line integration.

Astro Theme Toggle iconAstro Theme Toggle icon

astro theme toggle

A deep dive into @sjohansson/astro-theme-toggle - an SSR-friendly Astro theme system with light, dark, high-contrast, and color-vision modes, no flash of the wrong theme, and theming driven by either inline variables or data attributes.

posts

sometimes i post things

  • read some posts →

adventures

sometimes we build things

  • agnostic data labs →
  • aardarch →
  • astro components →
version:
9d7d8d4
built:
24/10/2026, 6:06:36 am

© 2008-2026 stefanjohansson.org

© 2008-2026

[gh] [in]