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

Hanno’s picture

see also the svg/font discussions for icons for Drupal 8 #1963886: Use HiDPI icons in the toolbar

Martijn de Wit’s picture

I 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.

Hanno’s picture

Advantage 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.

Hanno’s picture

Version: 7.x-1.x-dev » 7.x-3.x-dev
Issue summary: View changes
Hanno’s picture

This is the sprite rijksoverheid.nl and defensie.nl is using:
http://www.rijksoverheid.nl/presentation/shared-ro/images/sprite-icons-x...

Oostie’s picture

This is a method to use SVG sprites. We can give it a try: http://www.sitepoint.com/use-svg-image-sprites/

Martijn de Wit’s picture

Status: Active » Fixed

For now we have made an Icon font.
See issue:
https://www.drupal.org/node/2512676

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.