From ef1719c84e086de02f3bd6d7e0f608158755024b Mon Sep 17 00:00:00 2001 From: Jonathon Wright Date: Sat, 27 Jun 2026 21:19:13 +1000 Subject: [PATCH] ui: keep the board visible in light mode + bust diagram cache Light mode: revert the heavy white-out scrim back to a moderate wash so the board stays visible, and earn legibility with a soft light text-halo behind running text instead (invisible on the solid cards, only works over the image). Pairs with the darker light-mode text tokens. Also append ?v=2 to every /diagrams/*.svg reference so the recoloured diagrams bypass Cloudflare's 4h edge cache and show immediately (the SVG URLs aren't content-hashed like the CSS bundle). --- src/components/Diagram.astro | 2 +- src/content/blog/authentik-sso-2fa.md | 2 +- src/content/blog/outbound-only-exposure.md | 2 +- src/content/blog/workload-least-privilege.md | 2 +- src/styles/global.css | 28 +++++++++++++------- 5 files changed, 23 insertions(+), 13 deletions(-) diff --git a/src/components/Diagram.astro b/src/components/Diagram.astro index 94e6d77..4252c5a 100644 --- a/src/components/Diagram.astro +++ b/src/components/Diagram.astro @@ -22,7 +22,7 @@ const cap = caption ?? captions[name];