Drupal Icon Requirements

Events happening in the community are now at Drupal community events on www.drupal.org.

This is a list of requirements for building a module. This is the first part of 3 development documents that should serve as an outline for building a module to manage icons in Drupal. These pages can be used as an outline for a GHOP task or for any motivated Drupal developer. This page is a wiki.

Requirements (this page) - What is needed for icons in Drupal.
Specifications - How using icons should work from the end-user experience
Design - How to implement the icons module at a code level.

High importance

  • Icons can be provided through an "icon pack", a new Drupal package on the equivalent level of a theme engine, theme, or module.
  • Icon packs can be downloaded from Drupal.org
  • Icons are configured on a per-theme basis.
  • Themes can provide their own default icon sets.
  • Modules can provide additional icons to the default set.
  • Themers can easily refer to an icon in the theme's CSS file, and have that icon swapped out depending on the active icon pack.

Medium importance

  • Icons can be chosen from any installed icon pack.
  • If an icon is not supported by one icon pack, the icon from another icon pack or the default provided by the module may be used.
  • Themers can easily display an icon inline on the page.

Low importance

  • All modules should/must provide an icon for sections of the administration area.