How tkrotoff/famfamfam_flags works
Project Type Analysis
Main Components to Include:
a) Source Files
• Individual Flag PNG Files
• CSS Sprite Sheet
• CSS Classes Definition File
b) Build Process
• Glue Sprite Generator
• Configuration Settings
c) Output/Distribution
• Combined Sprite Image
• CSS Framework Integration
• Web Implementation
┌─ Source Assets ─────┐ ┌─ Build Process ──┐ ┌─ Distribution ────┐
• ● Individual PNGs │────>│ ● Glue Generator │────>│ ● Sprite Sheet │
• country1.png │ │ - Namespace │ │ (Single PNG) │
• country2.png │ │ - Template │ │ │
• etc... │ │ - Settings │ │ ● CSS Classes │
• Definition │
• ┘ └───────────────────┘ └───────────────────┘
• ▼
• ┌─ Implementation ────┐
• ● Web Applications │
• ● Rails Integration │
• ┘
Important Notes
a) Transformation process:
• How individual PNG files are combined
• Role of the Glue generator
• Output format
b) Configuration details:
• Sprite namespace settings
• Template structure
• CSS class naming convention
c) Integration options:
• Direct web implementation
• Rails framework integration