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
#{$root-selector} { | |
@include root(); | |
} | |
#{$column-selector} { | |
@include column-behavior(); | |
@include column-spacing(); | |
} | |
#{$column-selector}-container { |
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
.example1 { | |
@include font-weight($lato-bold); | |
} | |
.example2 { | |
font-family: extract-type-weight($lato-book) | |
} | |
.example3 { | |
@include font($lato-regular-italic, inherit, px-to-relative-line-height(24px); | |
} |
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
// Import Compass, no-game without it | |
@import "Compass"; | |
// Import the settings: first the defaults and then the skin settings; | |
@import "framework/helpers"; | |
// Import the settings: first the defaults and then the skin settings; | |
@import "framework/grid/settings"; | |
/*Add your settings here*/ |
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
// Import Compass, no-game without it | |
@import "Compass"; | |
// Import the settings: first the defaults and then the skin settings; | |
@import "framework/helpers"; | |
// Import the settings: first the defaults and then the skin settings; | |
@import "framework/settings"; | |
/*Add your settings here*/ |
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
… | |
* persistentgrid | |
- persistentgrid/base - A solid base for your projects. Includes the grid and base styles. | |
- persistentgrid/framework - Like framework, but includes styles for common UI patterns. | |
- persistentgrid/grid - The core: a simple but flexible grid system. | |
… |
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
compass frameworks |
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
git submodule add https://github.com/babsgosgens/persistentgrid.git path_to_your_compass_directory/extensions/persistentgrid/ |
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
@function weight-number-to-string($weight) | |
{ | |
@if $weight == 100 { @return "ultra-light"; } | |
@if $weight == 200 { @return "light"; } | |
@if $weight == 300 { @return "book"; } | |
@if $weight == 400 { @return "regular"; } | |
@if $weight == 500 { @return "medium"; } | |
@if $weight == 600 { @return "semi-bold"; } | |
@if $weight == 700 { @return "bold"; } | |
@if $weight == 800 { @return "extra-bold"; } |
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
@function extract-type-family($type) | |
{ | |
@return nth($type, 4); | |
} |
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
@function extract-type-weight($type) | |
{ | |
@return nth($type, 3); | |
} |