Skip to content

Commit

Permalink
Make dynamic color initializers public.
Browse files Browse the repository at this point in the history
  • Loading branch information
lipka committed Jul 5, 2022
1 parent 1549a35 commit 92d65f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Color/Color+Dynamic.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import SwiftUI

@available(iOS 14.0, *)
extension Color {
public extension Color {
init(
light lightColor: @escaping @autoclosure () -> Color,
dark darkColor: @escaping @autoclosure () -> Color
Expand Down
2 changes: 1 addition & 1 deletion Sources/Color/UIColor+Dynamic.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit

@available(iOS 13.0, *)
extension UIColor {
public extension UIColor {
convenience init(
light lightColor: @escaping @autoclosure () -> UIColor,
dark darkColor: @escaping @autoclosure () -> UIColor
Expand Down

0 comments on commit 92d65f0

Please sign in to comment.