Skip to content

Commit 53a698c

Browse files
committed
Light only; add background
1 parent 4bdcd0d commit 53a698c

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

_tools/release_cycle_template.svg.jinja

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<style>
88
/* Embedded styles for standalone viewing */
99
.release-cycle-chart {
10-
color-scheme: light dark;
10+
color-scheme: light;
1111
1212
{# Copy vars from Furo theme if present #}
1313
{% for varname, default in {
@@ -26,8 +26,9 @@
2626
width: 100%;
2727
2828
--blob-border-width: 1.6px;
29-
30-
background-color: var(--color-background-primary);
29+
}
30+
.background {
31+
fill: var(--svg-color-background-primary);
3132
}
3233
.release-cycle-year-line {
3334
stroke: var(--svg-color-foreground-primary);
@@ -108,6 +109,14 @@
108109
</linearGradient>
109110
</defs>
110111

112+
<rect
113+
class="background"
114+
x="0"
115+
y="0"
116+
width="{{ diagram_width }}"
117+
height="{{ diagram_height }}"
118+
/>
119+
111120
{% for version in versions %}
112121
{% set y = version.y * line_height %}
113122
{% if version.y % 2 %}

0 commit comments

Comments
 (0)