Backport of 640283711e6c8d25ad0e3c97453cd178a3e4d6a6 from main
@@ -2807,7 +2807,7 @@ template override to your project:
{% block extrastyle %}{{ block.super }}
<style>
- :root {
+ html[data-theme="light"], :root {
--primary: #9774d5;
--secondary: #785cab;
--link-fg: #7c449b;