Commit f39ffa0
committed
feature #1530 Use Symfony UX Icons (javiereguiluz)
This PR was squashed before being merged into the main branch.
Discussion
----------
Use Symfony UX Icons
Let's start using more UX packages in this project. I propose to use Tabler icons because we use them in all Symfony websites, in the Symfony Profiler and Toolbar, etc.
I'm pinging `@smnandre` and `@Kocal` because I have a question. I had to apply these attributes by default:
```yaml
ux_icons:
default_icon_attributes:
width: 1.2em
height: 1.2em
style: 'position: relative; top: -2px;'
```
If I don't, the icons look very small and not aligned vertically:
* The alignment is ideally solved by using `flex` in buttons and other elements that display icons + text. Since I'd like to add Twig Components here, I prefer to not change HTML/CSS much and instead, apply these attributes as a trade-off until we solve this in a better way.
* About the small icon size, I don't know why they look so small with the default `1em`. Any help is appreciated.
Thanks!
Commits
-------
986f239 Use Symfony UX IconsFile tree
57 files changed
+103
-73
lines changed- assets
- icons/tabler
- styles
- config
- packages
- templates
- admin
- blog
- blog
- bundles/TwigBundle/Exception
- debug
- default
- form
- security
- user
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
57 files changed
+103
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
0 commit comments