<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Retro Dispatch</title><link>/posts/</link><description>Recent content in Posts on Retro Dispatch</description><generator>Hugo</generator><language>en-us</language><copyright>© 2026 Retro Dispatch</copyright><lastBuildDate>Wed, 02 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Designing a token system that survives dark mode</title><link>/posts/hello-retro/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate><guid>/posts/hello-retro/</guid><description>&lt;h2 id="why-tiers"&gt;&#10; Why tiers&#10; &lt;a class="heading-anchor" href="#why-tiers" aria-label="Link to Why tiers"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;A colour is not one value. The blue that fills a button is not the blue that&#10;reads as text on grey, and using either in the other&amp;rsquo;s place is how a design&#10;system ships something illegible.&lt;/p&gt;&#10;&lt;h2 id="the-four-tiers"&gt;&#10; The four tiers&#10; &lt;a class="heading-anchor" href="#the-four-tiers" aria-label="Link to The four tiers"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Fill, on-fill, on-surface, and states. Every hue carries all four.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma retro-code"&gt;&lt;code class="language-css" data-lang="css"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nd"&gt;root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--retro-primary&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#0000aa&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--retro-primary-fg&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffffff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--retro-primary-text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#000080&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="what-it-buys-you"&gt;&#10; What it buys you&#10; &lt;a class="heading-anchor" href="#what-it-buys-you" aria-label="Link to What it buys you"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;One class sets both a fill and the text colour that survives on it.&lt;/p&gt;</description></item><item><title>Building a component that is square on purpose</title><link>/posts/square-on-purpose/</link><pubDate>Fri, 28 Aug 2026 00:00:00 +0000</pubDate><guid>/posts/square-on-purpose/</guid><description>&lt;h2 id="one-token"&gt;&#10; One token&#10; &lt;a class="heading-anchor" href="#one-token" aria-label="Link to One token"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Every component routes its corners through &lt;code&gt;--retro-border-radius&lt;/code&gt;, so one&#10;declaration rounds the whole framework.&lt;/p&gt;&#10;&lt;h2 id="the-exceptions"&gt;&#10; The exceptions&#10; &lt;a class="heading-anchor" href="#the-exceptions" aria-label="Link to The exceptions"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Pills are named for their shape, and tables ignore &lt;code&gt;border-radius&lt;/code&gt; outright&#10;because &lt;code&gt;border-collapse: collapse&lt;/code&gt; merges their cell borders.&lt;/p&gt;</description></item><item><title>A type scale for interfaces that shout</title><link>/posts/a-type-scale-that-shouts/</link><pubDate>Fri, 07 Aug 2026 00:00:00 +0000</pubDate><guid>/posts/a-type-scale-that-shouts/</guid><description>&lt;p&gt;Windows 95 shipped at 96 DPI with an 8pt UI font. Reproducing that number today&#10;produces text nobody can read on a phone, which is the difference between an&#10;homage and a re-enactment.&lt;/p&gt;&#10;&lt;h2 id="steps-not-sizes"&gt;&#10; Steps, not sizes&#10; &lt;a class="heading-anchor" href="#steps-not-sizes" aria-label="Link to Steps, not sizes"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;--retro-font-size-xs&lt;/code&gt; through &lt;code&gt;-3xl&lt;/code&gt;, all in &lt;code&gt;rem&lt;/code&gt;, all derived from one body&#10;size. A component asks for a step, never a pixel value, so a site that raises&#10;the base size moves everything with it.&lt;/p&gt;</description></item><item><title>What we removed in 3.0, and why</title><link>/posts/what-we-removed/</link><pubDate>Thu, 30 Jul 2026 00:00:00 +0000</pubDate><guid>/posts/what-we-removed/</guid><description>&lt;h2 id="the-important-on-the-radius-reset"&gt;&#10; The &lt;code&gt;!important&lt;/code&gt; on the radius reset&#10; &lt;a class="heading-anchor" href="#the-important-on-the-radius-reset" aria-label="Link to The !important on the radius reset"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;It was load-bearing by accident. Dropping it woke thirty-one dormant radius&#10;declarations and rounded eleven components — which is why 3.0.0 was followed by&#10;3.0.1 the same week.&lt;/p&gt;&#10;&lt;h2 id="a-documentation-renderer"&gt;&#10; A documentation renderer&#10; &lt;a class="heading-anchor" href="#a-documentation-renderer" aria-label="Link to A documentation renderer"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Unmaintained since 2022, its output was never published, and it accounted for&#10;every security advisory in the dependency tree. The SassDoc comments stayed;&#10;only the renderer left.&lt;/p&gt;</description></item><item><title>Sign-in forms that behave when the network does not</title><link>/posts/auth-forms-that-behave/</link><pubDate>Sat, 18 Jul 2026 00:00:00 +0000</pubDate><guid>/posts/auth-forms-that-behave/</guid><description>&lt;p&gt;The happy path of a sign-in form is four elements. Everything else is the&#10;interesting part.&lt;/p&gt;&#10;&lt;h2 id="the-states-worth-building"&gt;&#10; The states worth building&#10; &lt;a class="heading-anchor" href="#the-states-worth-building" aria-label="Link to The states worth building"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Pending&lt;/strong&gt; — the button is busy, not disabled-and-silent.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Rejected&lt;/strong&gt; — the message is next to the field, not in a toast that vanished.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Rate-limited&lt;/strong&gt; — say how long, not &amp;ldquo;try again later&amp;rdquo;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Offline&lt;/strong&gt; — the form should still hold what was typed.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="the-password-toggle"&gt;&#10; The password toggle&#10; &lt;a class="heading-anchor" href="#the-password-toggle" aria-label="Link to The password toggle"&gt;&lt;span aria-hidden="true"&gt;#&lt;/span&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Make it a real &lt;code&gt;button&lt;/code&gt; with &lt;code&gt;aria-pressed&lt;/code&gt;, keep the field type in sync, and&#10;never place it where it covers the text it reveals.&lt;/p&gt;</description></item></channel></rss>