Created
October 5, 2012 19:32
-
-
Save matthewcopeland/3841861 to your computer and use it in GitHub Desktop.
File structure of adding a source-sans-page to the sassy-seeds demo app.
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
| // top of the main file | |
| // google fonts/external files must be imported in the root file. | |
| @import url(http:/\/fonts.googleapis.com/css?family=Exo:100,200,300,400,500,600,700,800,900,300italic,400italic,500italic,600italic,700italic,800italic,900italic,200italic,100italic); | |
| // @import source sans link from google fonts. |
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
| //--------------------------------- | |
| // font-families | |
| $sans-fallback: Arial, Sans-Serif; | |
| $exo: 'Exo', $sans-fallback; | |
| $source-sans: 'Source-sans', $sans-fallback; | |
| $sans: $exo; | |
| $serif: serif; | |
| $mono: "lucida console", mono; | |
| $body-font-family: $sans; | |
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
| // file located under /assets/stylesheets/partials_and_pages | |
| // add this file to the _partials_and_pages.scss | |
| #source-sans-page { | |
| font-family: $source-sans; | |
| } |
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
| // pages | |
| @import "partials_and_pages/styleguide"; | |
| @import "partials_and_pages/source_sans_page"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment