-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(app generator): reorganize sass tree structure and
@imports
- Loading branch information
Showing
8 changed files
with
128 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// | ||
// Define only CSS overrides here. | ||
// | ||
// Variable definitions are best done in a corresponding 'settings/*' section. | ||
// | ||
// @import "overrides/..." |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,44 @@ | ||
// All variables and loading of mixins should be done here | ||
|
||
// | ||
// Define only variables and mixins here. | ||
// | ||
// Variable definitions are best done in a corresponding 'settings/*' section. | ||
// | ||
// | ||
// Compass's mixins and variables definitions. | ||
// | ||
@import "settings/_compass" | ||
|
||
// Load default compass mixins | ||
|
||
// | ||
// Font definitions. | ||
// | ||
@import "compass/utilities/general/clearfix" | ||
@import "compass/utilities/general/hacks" | ||
@import "compass/css3" | ||
@import "compass/css3/box-shadow" | ||
@import "compass/css3/user-interface" | ||
// Setup the automatic spriting | ||
@import "settings/_fonts" | ||
|
||
|
||
// | ||
// Icon definitions. | ||
// | ||
// Want to use a sprite? | ||
// Step 1: Add the image to the sprites folder | ||
// Step 2: Use example: "background: sprite( $sprites-sprite, name-of-file-without-extension ) no-repeat" | ||
// Step 3: Sit back and relax, when compass compiles it generates the sprite for you and | ||
// does the heavy lifting for you.... | ||
@import "settings/_icons" | ||
|
||
|
||
// | ||
// App variables definitions. | ||
// | ||
@import "settings/_layout" | ||
|
||
// ... add more as needed... | ||
// | ||
// Framework variable defaults. | ||
// | ||
// For instance: | ||
// | ||
$sprites-path: "images/sprites/" | ||
$sprites-sprite: sprite-map( "sprites/*.png" ) | ||
// @import "settings/_bootstrap" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
// | ||
// Compass mixins. | ||
// | ||
@import "compass/utilities/general/clearfix" | ||
@import "compass/utilities/general/hacks" | ||
@import "compass/css3" | ||
@import "compass/css3/box-shadow" | ||
@import "compass/css3/user-interface" | ||
|
||
// Setup the automatic spriting | ||
// | ||
// Want to use a sprite? | ||
// Step 1: Add the image to the sprites folder | ||
// Step 2: Use example: "background: sprite( $sprites-sprite, name-of-file-without-extension ) no-repeat" | ||
// Step 3: Sit back and relax, when compass compiles it generates the sprite for you and | ||
// does the heavy lifting for you.... | ||
// | ||
$sprites-path: "images/sprites/" | ||
$sprites-sprite: sprite-map( "sprites/*.png" ) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
// For instance: | ||
// | ||
// Comfortaa | ||
// | ||
// http://webfonts.ffonts.net/Comfortaa.font | ||
// | ||
// +font-face( 'Comfortaa', font-files('comfortaa/comfortaa.ttf.woff','comfortaa/comfortaa.ttf.svg'), 'comfortaa/comfortaa.ttf.eot', 'normal', 'normal' ) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
// | ||
// Perhaps create your own icon font at: | ||
// | ||
// http://fontastic.me/ | ||
// | ||
|
||
// | ||
// Include the generated font, say, `my-icons` like so: | ||
// | ||
// @at-root { | ||
// @include font-face( 'my-icons', font-files('my-icons/my-icons.woff','my-icons/my-icons.ttf','my-icons/my-icons.svg'), 'my-icons/my-icons.eot', 'normal', 'normal' ); | ||
// } | ||
// | ||
|
||
// | ||
// Include the css mappings to the font's 'characters here. | ||
// |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
// | ||
// Global layout dependent settings (dimensions, positioning, etc) can go here. | ||
// |