diff --git a/Sources/Splash/Theming/Color.swift b/Sources/Splash/Theming/Color.swift index ad64279..7ffc1e9 100644 --- a/Sources/Splash/Theming/Color.swift +++ b/Sources/Splash/Theming/Color.swift @@ -12,8 +12,10 @@ import Cocoa public typealias Color = NSColor #endif +#if !os(Linux) internal extension Color { convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) { self.init(red: red, green: green, blue: blue, alpha: 1) } } +#endif