@@ -7,7 +7,7 @@ to change, or even change drastically.
7
7
Symfony UX Toolkit provides a set of ready-to-use kits for Symfony applications.
8
8
It is part of `the Symfony UX initiative `_.
9
9
10
- Kits are a nice way to begin a new Symfony application, by providing a set
10
+ Kits are a nice way to begin a new Symfony application, by providing a set
11
11
of `Twig components `_ (based on Tailwind CSS, but fully customizable depending
12
12
on your needs).
13
13
@@ -24,8 +24,8 @@ Additionally, some `Twig components`_ use ``html_cva`` and ``tailwind_merge``,
24
24
you can either remove them from your project or install ``twig/html-extra ``
25
25
and ``tales-from-a-dev/twig-tailwind-extra `` to use them.
26
26
27
- Also, we do not force you to use Tailwind CSS at all. If you want to use
28
- another CSS framework, you can , but you will need to adapt the UI components to it.
27
+ Also, we do not force you to use Tailwind CSS at all. You can use whatever
28
+ CSS framework you want , but you will need to adapt the UI components to it.
29
29
30
30
Installation
31
31
------------
@@ -37,7 +37,7 @@ Install the UX Toolkit using Composer and Symfony Flex:
37
37
# The UX Toolkit is a development dependency:
38
38
$ composer require --dev symfony/ux-toolkit
39
39
40
- # If you want to keep `html_cva` and `tailwind_merge` in your UI components:
40
+ # If you want to keep `html_cva` and `tailwind_merge` in your Twig components:
41
41
$ composer require twig/extra-bundle twig/html-extra:^3.12.0 tales-from-a-dev/twig-tailwind-extra
42
42
43
43
Configuration
@@ -71,7 +71,7 @@ It will create the ``templates/components/Button.html.twig`` file, and you will
71
71
Create your own kit
72
72
-------------------
73
73
74
- You have the ability to create and share your own kit with the community,
74
+ You have the ability to create and share your own kit with the community,
75
75
by using the ``php vendor/bin/ux-toolkit-kit-create `` command in a new GitHub repository:
76
76
77
77
.. code-block :: terminal
@@ -89,7 +89,7 @@ by using the ``php vendor/bin/ux-toolkit-kit-create`` command in a new GitHub re
89
89
90
90
# Create your kit
91
91
$ php vendor/bin/ux-toolkit-kit-create
92
-
92
+
93
93
# ... edit the files, add your components, examples, etc.
94
94
95
95
# Share your kit
@@ -124,7 +124,7 @@ A kit is composed of:
124
124
Use your kit in a Symfony application
125
125
-------------------------------------
126
126
127
- You can globally configure the kit to use in your application by setting the ``ux_toolkit.kit `` parameter :
127
+ You can globally configure the kit to use in your application by setting the ``ux_toolkit.kit `` configuration :
128
128
129
129
.. code-block :: yaml
130
130
0 commit comments