Skip to content

Instantly share code, notes, and snippets.

View awhitehouse104's full-sized avatar

Adam Whitehouse awhitehouse104

  • Lexington, Kentucky, United States
View GitHub Profile
@awhitehouse104
awhitehouse104 / _typography.scss
Created September 26, 2016 15:40
Base typography
@mixin define-font($size, $ratio, $margin: true) {
$lineHeight: $size * $ratio;
font-size: $size;
line-height: $lineHeight;
@if ($margin) {
margin-bottom: $lineHeight / 4;
}
}
@awhitehouse104
awhitehouse104 / gulpfile.js
Created December 3, 2015 19:06
Base gulpfile implementation
'use strict';
var gulp = require('gulp'),
jshint = require('gulp-jshint'),
sass = require('gulp-sass'),
connect = require('gulp-connect'),
concat = require('gulp-concat'),
rename = require('gulp-rename'),
uglify = require('gulp-uglify'),
minify = require('gulp-minify-css');