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:
parent
7009c215e5
commit
9228c68cf9
14
Mac/Components/Shared/Extensions/CGColor.swift
Normal file
14
Mac/Components/Shared/Extensions/CGColor.swift
Normal 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)
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user