Skip to content

Instantly share code, notes, and snippets.

@nateberkopec
Created January 25, 2013 16:06
Show Gist options
  • Save nateberkopec/4635584 to your computer and use it in GitHub Desktop.
Save nateberkopec/4635584 to your computer and use it in GitHub Desktop.
craft.sass
// COLOR SCHEMES
$leche: #BBA993
$caramel: #CC9966
$shit-brown: #330000
$craft-red: rgb(238, 64, 55)
$dark-red: #660000
$satan-grey: #666
$tres-gris: #333
// FONTS
$kulturista: "kulturista-web", Arial, sans-serif
$proxima: "proxima-nova", Helvetica, Arial, sans-serif
// FUNCTIONS
=semibold
font-weight: 600
=italic
font-style: italic
=prefix($key, $val)
-webkit-#{$key}: $val
-moz-#{$key}: $val
-ms-#{$key}: $val
-o-#{$key}: $val
#{$key}: $val
=transition($val: all .25s ease)
+prefix(transition, $val)
=dimensions($val)
@if length($val) == 1
width: nth($val, 1)
height: nth($val, 1)
@else if length($val) == 2
width: nth($val, 1)
height: nth($val, 2)
@else
@warn "Too many arguments to dimensions"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment