From 93b654101c5bbf28c56dcb5bf7359e97c238cbc7 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Fri, 20 Mar 2026 08:41:30 +0100 Subject: [PATCH] fix: force WKWebView pseudo-element style recalc on theme CSS var changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WKWebView doesn't invalidate ::before/::after pseudo-element styles when CSS custom properties change via inline styles alone — offsetHeight reflow only triggers layout, not style recalculation. This caused bullet size and bullet color (rendered via ::before on bulletListItem) to not update live when editing a theme note and saving with Cmd+S. Fix: after setting CSS vars as inline styles, also inject them into a