- Open Automator
- Create a new Service
- Set “Service receives selected” to
files or folders
inany application
- Add a
Run Shell Script
action - Set the script action to
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n "$@"
- Set “Pass input” to
as arguments
- Save as
Open in Sublime Text
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
<select id="shippingselect"> | |
<option disabled selected value>Select</option> | |
<option value="2" data-shippingselect="15">Europe Shipping +15€</option> | |
<option value="3" data-shippingselect="35">International Shiping +35€</option> | |
</select> |
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 (v3.4.25) | |
// Compass (v1.0.3) | |
// ---- | |
/** | |
* Convert font-size from px to rem with px fallback | |
* | |
* @param $size - the value in pixel you want to convert | |
* |
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 (v3.4.25) | |
// Compass (v1.0.3) | |
// ---- | |
$h1-fontsize: ( | |
null: ( | |
size: 26px | |
), | |
'768px': ( |
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
// How can I write this in #SCSS without writing the > li for message--error again? | |
// like .message.message--error > li | |
.message { | |
> li { | |
background-color: green; | |
} | |
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
$blue: #d63384; | |
$yellow: #ffc107; | |
$green: #198754; | |
$primary: $yellow; | |
$success: $green; | |
$theme-colors: ( | |
"primary": $primary, | |
"success": $success |
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
$spacing-orientation-map: ( | |
'frame-space-before': 'top', | |
'frame-space-after': 'bottom' | |
); | |
$spacing-map: ( | |
'extra-small': '1', | |
'small': '2' | |
); |
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
.message > li { | |
background-color: green; | |
} | |
.message--error.message > li { | |
background-color: red; | |
} |