Skip to content

Instantly share code, notes, and snippets.

@harryworld
Created July 19, 2016 14:49
Show Gist options
  • Save harryworld/a6d5ae8b16b6178af4ce021137b09508 to your computer and use it in GitHub Desktop.
Save harryworld/a6d5ae8b16b6178af4ce021137b09508 to your computer and use it in GitHub Desktop.
#if os(iOS)
import Cocoa
public struct HNColor {
public static var DarkGray: UIColor = UIColor(white: 36/255, alpha: 1)
public static var DeepGray: UIColor = UIColor(white: 27/255, alpha: 1)
}
#endif
#if os(OSX)
import Cocoa
public struct HNColor {
public static var DarkGray: NSColor = NSColor(white: 36/255, alpha: 1)
public static var DeepGray: NSColor = NSColor(white: 27/255, alpha: 1)
}
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment