Skip to content

Instantly share code, notes, and snippets.

@jschee
Last active April 27, 2020 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jschee/2ce928fca6f63075b2866b6912b14f0d to your computer and use it in GitHub Desktop.
Save jschee/2ce928fca6f63075b2866b6912b14f0d to your computer and use it in GitHub Desktop.
mixins example
// Typography ———————————————————————————————— •
$font-serif: 'Marriweather', Georgia, serif;
$font-sans: "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
@mixin font-smoothing($attr) {
-webkit-font-smoothing: $attr;
font-smoothing: $attr;
}
// Colors ———————————————————————————————————— •
$color-body: #F6F5ED;
$color-background: #F6F5ED;
$color-link: #596A6A;
$color-link-hover: #CA0813;
$color-link-visited: #596A6A;
$color-white-text: #fff8ef;
$color-text: #4C4C4C;
$color-spot: #FF548F;
$color-red-text: #F12625;
// cf ————————————————————————————————————— •
@mixin clearfix {
&:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
zoom: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment