Skip to content

Commit b638637

Browse files
committed
minor #4560 Fix typo for html_cva code example (matthieupetel)
This PR was merged into the 3.x branch. Discussion ---------- Fix typo for html_cva code example Fix a typo where 'red' should be 'blue' according to the code above. Commits ------- 83da53c Fix typo for html_cva code example
2 parents 48d167a + 83da53c commit b638637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/functions/html_cva.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Then use the ``color`` and ``size`` variants to select the needed classes:
4545
4646
{# index.html.twig #}
4747
{{ include('alert.html.twig', {'color': 'blue', 'size': 'md'}) }}
48-
// class="alert bg-red text-md"
48+
// class="alert bg-blue text-md"
4949
5050
{{ include('alert.html.twig', {'color': 'green', 'size': 'sm'}) }}
5151
// class="alert bg-green text-sm"

0 commit comments

Comments
 (0)