Skip to content

Instantly share code, notes, and snippets.

@sturdysturge
Created January 26, 2021 04:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sturdysturge/6961d19f6caaa094d4b2696b8d5a5088 to your computer and use it in GitHub Desktop.
Save sturdysturge/6961d19f6caaa094d4b2696b8d5a5088 to your computer and use it in GitHub Desktop.
import SwiftUI
extension Color {
//Solid color
static let aquaRed = Color(red: 0.9, green: 0.15, blue: 0.15)
static let aquaYellow = Color(red: 0.9, green: 0.6, blue: 0)
static let aquaGreen = Color(red: 0.5, green: 0.7, blue: 0.2)
static let aquaBlue = Color(red: 0, green: 0.6, blue: 1)
//Solid grayscale
static let aquaGray = Color(white: 0.7)
static let aquaLightGray = Color(white: 0.9)
static let aquaCircularButtonHighlight = Color(white: 0.2)
static let aquaBehindCircularButtonHighlight = Color(white: 0.8)
static let aquaSegmentedControlOutlineStroke = Color(white: 0.4)
//Transaprent grayscale
static let aquaCircularButtonLowlight = Color(white: 0.4, opacity: 1)
static let aquaTransparentWhite = Color(white: 1, opacity: 0.1)
static let aquaTranslucentWhite = Color(white: 1, opacity: 0.5)
static let aquaBrushedMetalStroke = Color(white: 0.65, opacity: 0.5)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment