Last active
August 29, 2015 14:12
-
-
Save tonydieu/54a4a99191297a5453c0 to your computer and use it in GitHub Desktop.
sass starter structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sass/ | |
| | | |
| |– base/ | |
| | |– _reset.scss # Reset/normalize | |
| | |– _typography.scss # Typography rules | |
| | ... # Etc… | |
| | | |
| |– components/ | |
| | |– _buttons.scss # Buttons | |
| | |– _carousel.scss # Carousel | |
| | |– _cover.scss # Cover | |
| | |– _dropdown.scss # Dropdown | |
| | |– _navigation.scss # Navigation | |
| | ... # Etc… | |
| | | |
| |– helpers/ | |
| | |– _variables.scss # Sass Variables | |
| | |– _functions.scss # Sass Functions | |
| | |– _mixins.scss # Sass Mixins | |
| | |– _helpers.scss # Class & placeholders helpers | |
| | ... # Etc… | |
| | | |
| |– layout/ | |
| | |– _grid.scss # Grid system | |
| | |– _header.scss # Header | |
| | |– _footer.scss # Footer | |
| | |– _sidebar.scss # Sidebar | |
| | |– _forms.scss # Forms | |
| | ... # Etc… | |
| | | |
| |– pages/ | |
| | |– _home.scss # Home specific styles | |
| | |– _contact.scss # Contact specific styles | |
| | ... # Etc… | |
| | | |
| |– themes/ | |
| | |– _theme.scss # Default theme | |
| | |– _admin.scss # Admin theme | |
| | ... # Etc… | |
| | | |
| |– vendors/ | |
| | |– _bootstrap.scss # Bootstrap | |
| | |– _jquery-ui.scss # jQuery UI | |
| | ... # Etc… | |
| | | |
| | | |
| `– main.scss # primary Sass file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://www.sitepoint.com/architecture-sass-project/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Sass utilities | |
| @import "helpers/variables"; | |
| @import "helpers/functions"; | |
| @import "helpers/mixins"; | |
| @import "helpers/placeholders"; | |
| // Vendors and external stylesheets | |
| @import "vendors/bootstrap"; | |
| @import "vendors/jquery-ui"; | |
| // Base stuff | |
| @import "base/reset"; | |
| @import "base/typography"; | |
| // Layout related stylesheets | |
| @import "layout/grid"; | |
| @import "layout/header"; | |
| @import "layout/footer"; | |
| @import "layout/sidebar"; | |
| // Components and modules | |
| @import "components/carousel"; | |
| @import "components/buttons"; | |
| @import "components/cover"; | |
| @import "components/dropdown"; | |
| // Page-specific stylesheets | |
| @import "pages/home"; | |
| @import "pages/contact"; | |
| // Themes | |
| @import "themes/theme"; | |
| @import "themes/admin"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment