From b1da8bb51989950a64fce08437c7b06691d4fa89 Mon Sep 17 00:00:00 2001 From: Mat Manna Date: Mon, 27 Apr 2026 20:07:34 -0400 Subject: [PATCH] Support dark: variants - map same as base class - Create dark:text-primary-300 -> same cXX as text-primary-300 - Update CSS to also replace .dark\:class selectors --- scripts/debug.js | 14 ++++++++++++++ scripts/post-build.js | 26 +++++++++++++++----------- 2 files changed, 29 insertions(+), 11 deletions(-) create mode 100644 scripts/debug.js diff --git a/scripts/debug.js b/scripts/debug.js new file mode 100644 index 0000000..33489d5 --- /dev/null +++ b/scripts/debug.js @@ -0,0 +1,14 @@ +const fs = require('fs'); +const html = fs.readFileSync('_site/index.html', 'utf8'); +const css = html.match(/