Typography/Layout Placeholders
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
// base _article.scss | |
// ------------------ | |
.article-hed { | |
@extend %layout-article-hed; | |
@extend %type-article-hed; | |
} | |
.article-dek { | |
@extend %layout-article-dek; | |
@extend %type-article-dek; | |
} |
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
// cosmopolitan _layout-placeholders.scss | |
// ------------------ | |
%layout-article-hed { | |
@extend %layout-article-hed-base; | |
margin-bottom: $margin-l; | |
} |
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
// base _layout-placeholder.scss | |
// ------------------ | |
%layout-article-hed-base { | |
@include grid-col-width( 18 ); | |
margin-bottom: $margin-s; | |
} | |
%layout-article-hed { | |
@extend %layout-article-hed-base; | |
} | |
%layout-article-dek-base { | |
@include grid-col-width( 6, $last-in-row: true ); | |
} | |
%layout-article-dek { | |
@extend %layout-article-dek-base; | |
} |
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
// base _typography.scss | |
// ------------------ | |
%type-article-hed { | |
$alt-size-map: ( | |
mobile_w: 40, | |
tablet: 52 | |
); | |
@include type-style( $font-sans, 35, $alt-size-map ); | |
color: $headline-color; | |
font-weight: normal; | |
} | |
%type-article-dek { | |
$alt-size-map: ( | |
mobile_w: 40, | |
tablet: 52 | |
); | |
@include type-style( $font-serif, 21, $alt-size-map ); | |
color: palette( grey, medium ); | |
font-weight: normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment