Skip to content
Prev Previous commit
Next Next commit
Avoid :root
  • Loading branch information
encukou committed Dec 2, 2025
commit fb4e66e986adce617839220ea320bed267c5a2c8
7 changes: 3 additions & 4 deletions _tools/release_cycle_template.svg.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
viewBox="0 0 {{ diagram_width }} {{ diagram_height }}"
>
<style>
:root {
/* Embedded styles for standalone viewing */
.release-cycle-chart {
color-scheme: light dark;

{# Copy vars from Furo theme if present #}
Expand All @@ -17,9 +18,7 @@
}.items() %}
--svg-{{varname}}: var(--{{varname}}, {{default}});
{% endfor %}
}
/* Embedded styles for standalone viewing */
.release-cycle-chart {

font-family: var(
--font-stack,
-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica,
Expand Down