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
#!/bin/bash | |
## | |
# `git prune-merged` | |
# | |
# Prune merged branches. | |
# | |
# Available options: | |
# --dry-run Dry run | |
# -h Show usage help |
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
// min() function has to be escaped in Libsass. | |
div { | |
/* Libsass strips the '+' */ | |
broken: \min(100% + var(--test), 1000px); | |
/* Put it back as an unquoted string */ | |
unqoute: \min(100% unquote('+') var(--test), 1000px); | |
/* Or nest a calc() function, which isn't necessary according to the min() spec. */ | |
calc: \min(calc(100% + var(--test)), 1000px); |
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
// min() function has to be escaped in Libsass. | |
div { | |
// Libsass strips the '+' | |
broken: \min(100% + var(--test), 1000px); | |
// Put it back with an unquoted string | |
unqoute: \min(100% unquote('+') var(--test), 1000px); | |
// Or nest a calc() function, which isn't necessary accroding to the min() spec. | |
calc: \min(calc(100% + var(--test)), 1000px); |
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
// min() function has to be escaped in node-sass. | |
div { | |
// Sass strips the '+' | |
broken: \min(100% + var(--test), 1000px); | |
// Put it back with an unquoted string | |
unqoute: \min(100% unquote('+') var(--test), 1000px); | |
// Or nest a calc() function, which isn't necessary accroding to the min() spec. | |
calc: \min(calc(100% + var(--test)), 1000px); |
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
/** | |
* Convert px to rem or em. Unitless values are assumed to be in px. | |
* | |
* @param {Number} $px Single value to convert. | |
* @param {Boolean} $em Use `em` units if true. | |
* @param {Number} $base-size Root font size on which to base conversions. | |
* | |
* @returns {String} A r?em value. | |
*/ | |
@function _px-to-relative($px, $em, $base-size) { |
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
@mixin is-any-matches($selector-list...) { | |
:-webkit-any(#{$selector-list}) { | |
@content; | |
} | |
:-moz-any(#{$selector-list}) { | |
@content; | |
} | |
:matches(#{$selector-list}) { |
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
@mixin for-all-headings() { | |
// h1, | |
// h2, | |
// h3, | |
// h4, | |
// h5, | |
// h6 { | |
// @content; | |
// } | |
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
@mixin override-plugin-styles { | |
$sidebar-selector: ':global .specific-selector'; | |
// Check for a parent selector so we can use it in the root if needed. | |
$selector: if( | |
'' == '#{&}', | |
$sidebar-selector, | |
selector-nest($sidebar-selector, ':local #{&}') | |
); |
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
@mixin override-plugin-styles { | |
$sidebar-selector: ':global .plugin-en-infomaker-oovvuu'; | |
// Check for a parent selector so we can use it in the root if needed. | |
$selector: if( | |
'' == '#{&}', | |
$sidebar-selector, | |
selector-nest($sidebar-selector, ':local #{&}') | |
); |
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
{ | |
"eslint.run": "onSave", | |
"eslint.autoFixOnSave": true, | |
"eslint.enable": true, | |
"css.validate": false, | |
"scss.validate": false, | |
"editor.fontFamily": "Hack", | |
"editor.fontSize": 10, | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "all", |
NewerOlder