This file contains 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
@font-face { | |
unicode-range : U+1F431-U+1F63A; | |
} | |
.c-emoji:before { | |
font-style: normal; | |
} | |
$emojiList: | |
"arrow-up" "⬆️", |
This file contains 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
function is(bool) { | |
function gs() { | |
if (arguments.length) { | |
bool = arguments[0]; | |
} | |
return !!bool; | |
}; | |
gs.setTrue = () => gs(true); | |
gs.setFalse = () => gs(false); |
This file contains 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
function is(bool) { | |
function gs() { | |
if (arguments.length) { | |
bool = arguments[0]; | |
} | |
return !!bool; | |
}; | |
gs.setTrue = () => gs(true); | |
gs.setFalse = () => gs(false); |
This file contains 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
" Open NERD tree | |
map <C-g> :NERDTreeToggle<CR> | |
" NERDTress File highlighting | |
function! NERDTreeHighlightFile(extension, fg, bg, guifg, guibg) | |
exec 'autocmd filetype nerdtree highlight ' . a:extension .' ctermbg='. a:bg .' ctermfg='. a:fg .' guibg='. a:guibg .' guifg='. a:guifg | |
exec 'autocmd filetype nerdtree syn match ' . a:extension .' #^\s\+.*'. a:extension .'$#' | |
endfunction | |
" purple |
This file contains 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
// Media Queries | |
// Usage: @include media(size){ [styles here] } | |
$screen-limit-xsmall: 20em !default; | |
$screen-limit-small: 30em !default; | |
$screen-limit-medium: 48em !default; | |
$screen-limit-large: 64em !default; | |
$screen-limit-xlarge: 78em !default; | |
$screen-limit-super: 116em !default; |
This file contains 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
(function () { | |
var CHECK_INTERVAL = 100; | |
var CURRENT_PATH = window.location.pathname; | |
var PREVIOUS_PATH = ""; | |
function checkPath () { | |
if (CURRENT_PATH !== window.location.pathname) { | |
PREVIOUS_PATH = CURRENT_PATH; | |
CURRENT_PATH = window.location.pathname; |
This file contains 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
// Sticky | |
// | |
// A sticky element that determines its state by another | |
// element's position in the document. | |
(function ($, requestAnimationFrame) { | |
var pluginName = 'sticky'; | |
var pluginDefaults = { | |
waypoint: '.js-waypoint', | |
includeWaypointHeight: false, |
This file contains 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
// Toggler | |
// | |
// A generic toggling plugin. | |
// This plugin assumes that a parent element ($el) | |
// will contain both a 'toggler' and a 'togglee' | |
// | |
// The 'toggler' is the item that is clicked, | |
// while the 'togglee' may be a navigation menu | |
// or some other element that changes when another | |
// element toggles it. |
This file contains 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
{ | |
"dependencies": { | |
"skelly": "git://github.com/sdougbrown/skelly-scss.git" | |
} | |
} |