Replace admin icons images by inline SVG
|Reported by:||loic84||Owned by:||anonymous|
|Cc:||Idan Gazit, riccardo.magliocchetti@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
Some of the benefits of using an icon font:
- Resolution independence: works well on Retina displays.
- Can be customized by CSS: color, opacity, shadow, etc.
- Most icon fonts offer a large collection of commonly used icons - while remaining small in file size - covering possible future needs.
- Widespread browser support, including IE7 support.
I'd like to suggest Font-Awesome which is actively maintained, currently offers 361 icons and whose license is compatible with BSD.
A quick glance at the img assets of
django.contrib.admin showed that most if not all icons have an equivalent in Font-Awesome.
Note: This issue was discussed on IRC with Idan and follows previous discussion on #19900.
Change History (22)
comment:11 Changed 21 months ago by
|Summary:||Replace admin icons images by an icon font. → Replace admin icons images by inline SVG|