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
$breakpoints: ( | |
breakpoint-small: 768px, | |
breakpoint-medium: 992px, | |
breakpoint-large: 1200px | |
); | |
@mixin media($type) { | |
@media screen and (min-width: map-get($breakpoints, breakpoint-#{$type})) { | |
@content; | |
} |
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
@function rem($size) { | |
@return $size / 16px * 1rem; | |
} |
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
svgo pathtoicons/*.svg --enable={inlineStyles,prefixIds} --config '{ "plugins": [{ "inlineStyles": { "onlyMatchedOnce": false } }, {"removeViewBox": false}, {"removeAttrs": {"attrs": ["fill"]}}]}' |
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
step 1: npm install -g npm-check-updates | |
step 2 : ncu --loglevel verbose --packageFile package.json | |
step 3 : ncu -u --packageFile package.json |
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
document.documentElement.clientWdth |
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
SASS_PATH=./node_modules;./src/ |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"baseUrl": "src" | |
}, | |
"include": ["src"] | |
} |
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
svgo path/to/file.svg --enable={inlineStyles,prefixIds} --config '{ "plugins": [ { "inlineStyles": { "onlyMatchedOnce": false } }] }' |