Skip to content

Instantly share code, notes, and snippets.

@bigsweater
Last active January 1, 2016 21:09
Show Gist options
  • Save bigsweater/8201993 to your computer and use it in GitHub Desktop.
Save bigsweater/8201993 to your computer and use it in GitHub Desktop.
A boilerplate main.scss for organized imports and atomic css
// Vendor dependencies.
@import "compass";
@import "susy";
@import "animation";
// Author dependencies.
@import "mixins";
@import "variables";
@import "animations"; // Animation mixins
// Global CSS and UI patterns.
@import "normalize"; // Clean slate
@import "typography"; // Fonts, sizes, baseline, colors. Etc.
@import "grid"; // Duh.
@import "layout"; // Positions major elements.
@import "ui"; // Forms and form elements, buttons, switches, toggles, boondoggles.
// Individual pages, sections, and elements.
// -- Sections - Individual major sections (nav, etc.) in "sections" folder
// -- Individual modules/elements - Reusable pieces in "modules" folder
// -- Page-specific styles override defaults above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment