1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00

Split CGColor extension

There doesn't seem to be any overlap in the available methods for
specifying a color on iOS or macOS.
This commit is contained in:
Daniel Barber 2020-04-03 12:05:26 -04:00 committed by Dan Barber
parent 7009c215e5
commit 9228c68cf9
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
//
// NSColor.swift
// Persephone
//
// Created by Daniel Barber on 2019/2/16.
// Copyright © 2019 Dan Barber. All rights reserved.
//
import CoreGraphics
extension CGColor {
static let albumBorderColorLight = CGColor.black.copy(alpha: 0.15)
static let albumBorderColorDark = CGColor.white.copy(alpha: 0.15)
}