summaryrefslogtreecommitdiffstats
path: root/assets/js/theme-toggle.js
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-04 16:24:18 +0200
committerDanilo M. <danix@danix.xyz>2026-05-04 16:24:18 +0200
commit4bd67183c35f7f1052b2909cb308418edeba8557 (patch)
treee9cbb4fa8f25e9763870c086c781c39d0ab8db18 /assets/js/theme-toggle.js
parent5e5eeb397d51d2002ca4d892ea59b3c1fd654046 (diff)
downloaddanixxyz-theme-4bd67183c35f7f1052b2909cb308418edeba8557.tar.gz
danixxyz-theme-4bd67183c35f7f1052b2909cb308418edeba8557.zip
fix: beat prose-invert anchor override for CTA button in light mode
html.theme-light .prose-invert a sets color: var(--accent) via a direct selector outside any layer — not-prose cannot block it. Adds matching specificity rule targeting .cta-block a inside prose/prose-invert to restore var(--on-accent) text color in light mode. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'assets/js/theme-toggle.js')
0 files changed, 0 insertions, 0 deletions