This file contains hidden or 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
@mixin pad($paddings, $shorthand: true) { | |
$orientations: top right bottom left; | |
@if $shorthand { | |
@each $value in $paddings { | |
$paddings: set-nth($paddings, index($paddings, $value), rem($value)); | |
} | |
padding: $paddings; | |
} @else { | |
@for $i from 1 through length($paddings) { |
This file contains hidden or 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
pad(args, shorthand = true) | |
positions = top right bottom left | |
if shorthand | |
for i in (0..length(args) - 1) | |
args[i] = rem(args[i]) | |
padding: args | |
else | |
for i in (0..length(args) - 1) | |
if args[i] != 'x' |
This file contains hidden or 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
var gulp = require('gulp'); | |
var stylus = require('gulp-stylus'); | |
var browserSync = require('browser-sync'); | |
var koutoSwiss = require('kouto-swiss'); | |
var jeet = require('jeet'); | |
var reload = browserSync.reload; | |
var paths = { | |
stylusEntry: ["./stylus/main.styl"], | |
stylusAll: ["./stylus/*.styl"] |
NewerOlder