Loop/Desktop & Standalone/Code Style & Structure

From MozillaWiki
Jump to: navigation, search

SVG

Structure:

  • all square assets of a given size go in a single file. Rationale:
    • intra-SVG CSS rule sharing (eg fills, strokes, viewports, etc).
    • organization
  • each irregular icon gets its own file

Eventually, the graphic design team is expected to start giving us icon assets that are scalable across multiple sizes, at which point we'll want to modify this policy a bit.