Skip to content

Instantly share code, notes, and snippets.

/***
<button> reset
1. Remove default browser appearance for buttons.
2. Remove margins.
3. Remove borders for IE.
4. Normalize font and color not inherited by `button`.
5. Address `overflow` in IE
6. Normalize cursor style
7. Normalize line-height
8. Normalize text-align
@boton
boton / Change Font.sketchplugin
Last active January 3, 2016 11:59 — forked from bomberstudios/Change Font.sketchplugin
Change font family for all text layers in Sketch
// Change font (ctrl a)
var font_name,
select_one_textlayer = false;
function check_layer(layer){
log("Checking layer " + layer + " of klass: " + [layer class])
switch ([layer class]) {
case MSTextLayer:
log("Found text layer!")
layer.setFontPostscriptName(font_name);

Sublime Text 2 - Useful Shortcuts

Tested in Mac OS X: super == command

Open/Goto


  • super+t: go to file
  • super+ctrl+p: go to project
  • super+r: go to methods