Skip to content

Commit

Permalink
Update html_cva.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-jean authored Dec 13, 2024
1 parent 819a69b commit af1eb84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/functions/html_cva.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ Then use the ``color`` and ``size`` variants to select the needed classes:
// class="alert bg-red text-md"
{{ include('alert.html.twig', {'color': 'green', 'size': 'sm'}) }}
// class"alert bg-green text-sm"
// class="alert bg-green text-sm"
{{ include('alert.html.twig', {'color': 'red', 'class': 'flex items-center justify-center'}) }}
// class"alert bg-red flex items-center justify-center"
// class="alert bg-red flex items-center justify-center"
CVA and Tailwind CSS
--------------------
Expand Down

0 comments on commit af1eb84

Please sign in to comment.