Silk icons from famfamfam.com
11% of Grails users
Dependency :
compile ":famfamfam:1.0.1"
Summary
Installation
grails install-plugin famfamfam
Description
1000 free icons from famfamfam.com - see http://www.famfamfam.com/lab/icons/silk/ for details.There isn't much functionality in the plugin, it's mostly here to avoid having multiple copies of the images from various plugins that use them.You can reference them directly in <img> tags:but a more common use is as a CSS background image:Both of these can be simplified with the <fam:icon> custom tag:andNote that you don't specify the png extension when using the tag - all of the icons are PNGs so it's unnecessary.
<img src='${resource(dir: 'images/icons', file: 'world.png', plugin: 'famfamfam')}'/>.icon_error {
background-image: url('${resource(dir: 'images/icons', file: 'world.png', plugin: 'famfamfam')}');
}<img src='${fam.icon(name: 'world')}'/>.icon_error {
background-image: url('${fam.icon(name: 'world')}');
}