Skip to content

Commit 29c0602

Browse files
committed
Set background color explicitly
1 parent 2f0db0b commit 29c0602

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

_tools/release_cycle_template.svg.jinja

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
width: 100%;
2828
2929
--blob-border-width: 1.6px;
30+
31+
background-color: var(--color-background-primary);
3032
}
3133
.release-cycle-year-line {
3234
stroke: var(--svg-color-foreground-primary);
@@ -109,16 +111,6 @@
109111

110112
{% for version in versions %}
111113
{% set y = version.y * line_height %}
112-
<!-- Outline for legend on the left -->
113-
<text
114-
class="release-cycle-version-label text-outline"
115-
x="{{ 0.5 * SCALE }}"
116-
y="{{ version.y * line_height }}"
117-
font-size="{{ SCALE }}"
118-
>
119-
Python {{ version.key }}
120-
</text>
121-
122114
{% if version.y % 2 %}
123115
<!-- Row shading -->
124116
<rect
@@ -132,17 +124,15 @@
132124
{% endfor %}
133125

134126
{% for year in years %}
135-
{% for cls in ('text-outline', 'text-main') %}
136-
<text
137-
class="release-cycle-year-text {{cls}}"
138-
x="{{ (year_to_x(year) + year_to_x(year + 1)) / 2 }}"
139-
y="{{ diagram_height - line_height }}"
140-
font-size="{{ SCALE * 0.75 }}"
141-
text-anchor="middle"
142-
>
143-
{{ format_year(year) }}
144-
</text>
145-
{% endfor %}
127+
<text
128+
class="release-cycle-year-text {{cls}}"
129+
x="{{ (year_to_x(year) + year_to_x(year + 1)) / 2 }}"
130+
y="{{ diagram_height - line_height }}"
131+
font-size="{{ SCALE * 0.75 }}"
132+
text-anchor="middle"
133+
>
134+
{{ format_year(year) }}
135+
</text>
146136
{% if not loop.last %}
147137
<line
148138
class="release-cycle-year-line"

0 commit comments

Comments
 (0)