Skip to content

Instantly share code, notes, and snippets.

@dustinhorton
dustinhorton / SassMeister-input.scss
Last active December 1, 2015 19:14
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
$font-weight---semibold: 600;
$font-weight---light: 300;
$default-webfonts: (
remind-proxima-nova: (
@dustinhorton
dustinhorton / SassMeister-input.scss
Last active November 10, 2015 23:25
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
@function map-fetch($map, $keys...) {
@each $key in $keys {
$map: map-get($map, $key);
}
@dustinhorton
dustinhorton / SassMeister-input.scss
Last active November 6, 2015 01:15
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$lava: #d52d24;
$shamrock: #309457;
$brand: #4a89dc;
$violet: #7966ba;
$pitch: #333330;
$thunder: #767676;
@dustinhorton
dustinhorton / SassMeister-input.scss
Created July 15, 2015 14:27
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$cols: 3;
@for $i from 1 through $cols {
$index: index($cols, $i);
.col---1 {

Keybase proof

I hereby claim:

  • I am dustinhorton on github.
  • I am dustinhorton (https://keybase.io/dustinhorton) on keybase.
  • I have a public key whose fingerprint is 99BF 51DD E943 D373 ED03 1E7B 4AAC 9A7D 7A7C C83F

To claim this, I am signing this object:

@dustinhorton
dustinhorton / SassMeister-input.scss
Created May 12, 2015 02:05
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
// ----------------------------------------------------------------------
// COLOR - TEXT/ICON
// ----------------------------------------------------------------------
// BRAND COLORS
@dustinhorton
dustinhorton / SassMeister-input.scss
Created May 12, 2015 01:44
Generated by SassMeister.com.
// ----
// libsass (v3.2.2)
// ----
$blue: blue;
$colors:
blue #ff0000;
.test {
@dustinhorton
dustinhorton / sass-px-to-em-function.scss
Created February 19, 2013 03:32
Blackbelt Blog Gists - Converting PX To EM Units
@function em ($px, $font-size: $font-size) {
@return ($px / $font-size) * 1em;
}
@dustinhorton
dustinhorton / sass-triangle-mixin.sass
Created September 9, 2012 04:02
Blackbelt Blog Gists - SASS Triangle Mixin
@mixin triangle($dir, $size, $color) {
border: $size transparent solid;
@if ($dir == "top" or $dir == "up") {
border-bottom-color: $color;
}
@else if ($dir == "right" or $dir == "after") {
border-left-color: $color;
}
@else if ($dir == "bottom" or $dir == "down") {
@dustinhorton
dustinhorton / prompt
Created August 12, 2012 06:57
Prompt to show current directory path.
export PATH=/usr/local/bin:$PATH
function get_pwd() {
currdir=`pwd`
echo "${currdir/$HOME/~}"
}
export PS1='
`get_pwd`
→'