Skip to content

Adding bulma theme #13498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion form/form_themes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ in a single Twig template and they are enabled in the
* `foundation_6_layout.html.twig`_, wraps each form field inside a ``<div>``
element with the appropriate CSS classes to apply the default styles of the
version 6 of `Foundation CSS framework`_.
* `bulma_0_layout.html.twig`_, wraps each form field inside a ``<div>``
element with the appropriate CSS classes to apply the styles used by the
`Bulma CSS framework`_.

.. versionadded:: 5.1

The ``foundation_6_layout.html.twig`` theme was introduced in Symfony 5.1.
The ``foundation_6_layout.html.twig`` and ``bulma_0_layout.html.twig``
themes were introduced in Symfony 5.1.

.. tip::

Expand Down Expand Up @@ -633,6 +637,8 @@ is a collection of fields (e.g. a whole form), and not just an individual field:
.. _`Bootstrap 4 CSS framework`: https://getbootstrap.com/docs/4.4/
.. _`foundation_5_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_5_layout.html.twig
.. _`foundation_6_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/foundation_6_layout.html.twig
.. _`bulma_0_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/bulma_0_layout.html.twig
.. _`Foundation CSS framework`: https://get.foundation/
.. _`Twig "use" tag`: https://twig.symfony.com/doc/2.x/tags/use.html
.. _`Twig parent() function`: https://twig.symfony.com/doc/2.x/functions/parent.html
.. _`Bulma CSS framework`: https://bulma.io