Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Extension Icon Guidelines

Larz edited this page Jul 22, 2013 · 13 revisions

In Brackets, icons are used to:

  • leverage globally understood visual concepts, or where icons usage is more conventional than text
  • save space by using an easily understood symbol, where localization or text orientation is constrained direct the user visually and break down or differentiate elements (i.e. feature lists)
  • enforce consistency within the application
  • make the interface visually engaging.

Styleguide

  • use simple shapes that are not too detailed, use as less anchor points as possible
  • make sure it's flat i.e. without gradients, highlights, or shadows
  • the corners are slightly rounded
  • use thinner lines rather than thicker lines
  • try to use SVG instead of PNG.

Rounded Corner Example

Stroke Example

Dimension

  • A single icon is 24px by 24px with 3px padding so that the largest solid square you should have is 18px by 18px or 19px by 19px if it's a circle.
  • for sprites use a 24x24 grid.

Extension State Example

Use Colors to Indicate Extension State

The icon should be #BBBBBB by default.

  • inactive/disabled state has an opacity of 0.4 set in CSS on the default icon
  • use green (#91CC41) for "everything is okay right now"/success state
  • use blue (#78B2F2) for on/active state
  • use yellow (#E3B551) for warning state
  • use red (#F74687) for error state.

Examples

Ping @larz0 if you need help with your extension icon.

Clone this wiki locally