Skip to content

Commit 2731eb5

Browse files
committed
Fix "variants" example config
1 parent 4f23218 commit 2731eb5

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

examples/variants/config.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ variants:
55
- name: Basic
66
style:
77
color: "#3498db"
8-
features:
9-
- "Single page layout"
10-
- "Basic styling"
8+
features:
9+
- "Single page layout"
10+
- "Basic styling"
1111
- name: Premium
1212
style:
1313
color: "#2ecc71"
14-
features:
15-
- "Single page layout"
16-
- "Premium styling"
17-
- "Custom colors"
14+
features:
15+
- "Single page layout"
16+
- "Premium styling"
17+
- "Custom colors"
1818
- name: Enterprise
1919
style:
2020
color: "#e74c3c"
21-
features:
22-
- "Single page layout"
23-
- "Enterprise styling"
24-
- "Custom colors"
25-
- "Priority support"
21+
features:
22+
- "Single page layout"
23+
- "Enterprise styling"
24+
- "Custom colors"
25+
- "Priority support"

examples/variants/templates/main.svg.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<!-- Features -->
1010
<text x="20" y="90" font-family="Arial" font-size="10" font-weight="bold" fill="#333">Features:</text>
11-
{% for feature in variant.style.features %}
11+
{% for feature in variant.features %}
1212
<text x="30" y="{{ 110 + loop.index0 * 16 }}" font-family="Arial" font-size="9" fill="#333">• {{ feature }}</text>
1313
{% endfor %}
1414
</svg>

0 commit comments

Comments
 (0)