Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The icons in the starterskit are sprites or images at the moment. We are moving with Drupal 8 towards using scalable icons (either as a font type or as svg). We could ask RVD to provide either svg or a special font for the icons.
Comments
Comment #1
Hanno CreditAttribution: Hanno commentedsee also the svg/font discussions for icons for Drupal 8 #1963886: Use HiDPI icons in the toolbar
Comment #2
Martijn de WitI vote for icon fonts! We are using it already in several projects and it works like a charm!
I know agentschap.nl is using it for the new website. Maybe we can re-use those!
Advantage of a web font : you can easily change the color with css! Disadvantage: you can use only 1 color for an icon, or you have to combine several font icons together.
Comment #3
Hanno CreditAttribution: Hanno commentedAdvantage of svg: a module or subtheme can add or alter icons, (no need to provide another font), advanced css possiblities, no need to compile a font with IcoMoon etc.
Advantage of a webfont: backwards compatible (no need to add a .png version), one single file.
Let's re-use the fonts, see what RVD will do and check if Drupal 8 will ship with a either sprites, svg or fonts (#1963886: Use HiDPI icons in the toolbar). It currently looks like svg.
Comment #4
Hanno CreditAttribution: Hanno commentedComment #5
Hanno CreditAttribution: Hanno commentedThis is the sprite rijksoverheid.nl and defensie.nl is using:
http://www.rijksoverheid.nl/presentation/shared-ro/images/sprite-icons-x...
Comment #6
OostieThis is a method to use SVG sprites. We can give it a try: http://www.sitepoint.com/use-svg-image-sprites/
Comment #7
Martijn de WitFor now we have made an Icon font.
See issue:
https://www.drupal.org/node/2512676