22
33## Overriding CSS classes
44
5- All used CSS classes are contained in [ Twig blocks] ( https://github.com/talesfromadev/flowbite-bundle/blob/main/templates/form/default.twig#L244 )
6- which allows to customize the theme very easily.
5+ All CSS classes are contained in [ Twig blocks] ( https://github.com/talesfromadev/flowbite-bundle/blob/main/templates/form/default.twig#L244 )
6+ which allows customizing the theme very easily.
77
88Create a new theme in your ` templates ` directory and make it use the bundle ` default ` theme:
99
@@ -13,7 +13,7 @@ Create a new theme in your `templates` directory and make it use the bundle `def
1313{% use '@TalesFromADevFlowbite/form/default.html.twig' %}
1414```
1515
16- Now, just override the desire block with any Tailwind CSS class you want:
16+ Now, override the desired block with any Tailwind CSS class you want:
1717
1818``` php
1919# templates/form/layout.html.twig
@@ -25,7 +25,7 @@ Now, just override the desire block with any Tailwind CSS class you want:
2525{%- endblock class_submit %}
2626```
2727
28- Finally, don't forget to update your ` twig ` configuration to use your newly created template:
28+ Finally, update your ` twig ` configuration to use your newly created template:
2929
3030``` yaml
3131# config/packages/twig.yaml
3636 - ' form/layout.html.twig'
3737` ` `
3838
39- ## Class block list
39+ ## Class blocks list
4040
41- Here is a list of all available class block :
41+ Here is a list of all available class blocks :
4242
4343* Label
4444 * class_label
@@ -60,12 +60,13 @@ Here is a list of all available class block:
6060 * class_button
6161 * class_submit
6262* Various
63- * class_time_separator
63+ * class_input_group
6464 * class_addon
6565 * class_widget_addon_prepend
6666 * class_widget_addon_append
6767 * class_addon_prepend
6868 * class_addon_append
69+ * class_time_separator
6970 * class_help_text
7071* Error
7172 * class_label_error
0 commit comments