Fix typo for html_cva code example

Fix a typo where 'red' should be 'blue' according to the above code.
This commit is contained in:
Matthieu Pétel
2025-01-28 10:51:09 +01:00
committed by GitHub
parent 48d167a297
commit 83da53c3f1
+1 -1
View File
@@ -45,7 +45,7 @@ Then use the ``color`` and ``size`` variants to select the needed classes:
{# index.html.twig #}
{{ include('alert.html.twig', {'color': 'blue', 'size': 'md'}) }}
// class="alert bg-red text-md"
// class="alert bg-blue text-md"
{{ include('alert.html.twig', {'color': 'green', 'size': 'sm'}) }}
// class="alert bg-green text-sm"