_PaletteProvider
public protocol _PaletteProvider
Protocol defining available color palette provider.
-
Color definitions that are supported in the current palette.
Declaration
Swift
var colorDefinitions: [FUIColorStyle : FUIHexColor] { get } -
Required interface to supply color definitions for the
FUIColorStyleandFUIBackgroundColorSchemecombination.Declaration
Swift
func hexColor(for style: FUIColorStyle) -> FUIHexColor?Parameters
styleFUIColorStylefor which color definition is requiredReturn Value
Hex color, a dictionary contains
.lightand.darkvariant