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 strict"; | |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: "stable", | |
// default font size in pixels for all tabs |
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
extension NSProgressIndicator { | |
func set(tintColor: NSColor) { | |
guard let adjustedTintColor = tintColor.usingColorSpace(.deviceRGB) else { | |
contentFilters = [] | |
return | |
} | |
let tintColorRedComponent = adjustedTintColor.redComponent |
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
// iOS | |
UIColor *color = [UIColor colorNamed:@"SillyBlue"]; | |
// macOS | |
NSColor *color = [NSColor colorNamed:@"SillyBlue"]; |
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
// iOS | |
let color = UIColor(named: "SillyBlue") | |
// macOS | |
let color = NSColor(named: "SillyBlue") |
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
// Defining the appearance while creating the property. | |
let editButton: NSButton = { | |
let button = NSButton() | |
button.bordered = false | |
button.setButtonType(.MomentaryChange) | |
button.image = NSImage(named: "icEdit") | |
button.alternateImage = NSImage(named: "icEditSelected") | |
return button |
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
@import 'MochaJSDelegate.js' | |
COScript.currentCOScript().setShouldKeepAround_(true); | |
var delegate = new MochaJSDelegate({ | |
"document:didSave:contextInfo:": (function(document, didSave, contextInfo) { | |
[NSApp displayDialog:"Done!" withTitle:"Awesome!"]; | |
COScript.currentCOScript().setShouldKeepAround_(false); | |
}) |
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
Projects - Cmd + Shift + A | |
Dashboard - Cmd + D | |
Styleguide - Cmd + G | |
Jump to Next Screen - → | |
Jump to Previous Screen - ← | |
Jump to Screen - Cmd + J | |
Show/Hide Versions - Cmd + Alt + V |