Skip to content

Commit da44077

Browse files
authored
Merge pull request #22 from tales-from-a-dev/docs/theme-customization
📝 Update theme customization docs with new bundle namespace
2 parents ad00731 + bcd7e92 commit da44077

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/theme_customization.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Create a new theme in your `templates` directory and make it use the bundle `def
1010
```php
1111
# templates/form/layout.html.twig
1212

13-
{% use '@Flowbite/form/default.html.twig' %}
13+
{% use '@TalesFromADevFlowbite/form/default.html.twig' %}
1414
```
1515

1616
Now, just override the desire block with any Tailwind CSS class you want:
1717

1818
```php
1919
# templates/form/layout.html.twig
2020

21-
{% use '@Flowbite/form/default.html.twig' %}
21+
{% use '@TalesFromADevFlowbite/form/default.html.twig' %}
2222

2323
{% block class_submit -%}
2424
# use any Tailwind CSS class you want ...
@@ -31,8 +31,9 @@ Finally, don't forget to update your `twig` configuration to use your newly crea
3131
# config/packages/twig.yaml
3232

3333
twig:
34-
# ...
35-
form_themes: [ 'form/layout.html.twig' ]
34+
# ...
35+
form_themes:
36+
- 'form/layout.html.twig'
3637
```
3738
3839
## Class block list

0 commit comments

Comments
 (0)