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
| // check version | |
| node -v || node --version | |
| // list locally installed versions of node | |
| nvm ls | |
| // list remove available versions of node | |
| nvm ls-remote | |
| // install specific version of node |
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
| /// Convert string to number | |
| /// @access public | |
| /// @group string | |
| /// @param {String} $value - string value to parse to number | |
| /// @return {Number} - parsed string to number | |
| @function to-number($value) { | |
| @if type-of($value) == "number" { | |
| @return $value; | |
| } @else if type-of($value) != "string" { | |
| @error 'Value for `to-number` should be a number or a string.'; |
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
| @use "sass:map"; | |
| @use "sass:string"; | |
| @import "./_helpers.scss"; | |
| @import "./_variables.scss"; | |
| /// Output a @font-face declaration | |
| /// @access public | |
| /// @group webfonts | |
| /// @param {String} $font-family - name of font-family | |
| /// @param {String} $path - address of the source font, can be an absolute HTPP or relative |
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
| @use "sass:map"; | |
| @use "sass:list"; | |
| @use "sass:math"; | |
| @use "sass:string"; | |
| /// Generate color palette | |
| /// @access public | |
| /// @group colors | |
| /// @param {Color} $color-base - specify the color that you want to start generate tints | |
| /// @param {Map} $tints - color tints |