Structures
The following structures are available globally.
-
Undocumented
See moreDeclaration
Swift
public struct HexColor : Hashable
extension HexColor: Equatable
extension HexColor: CustomStringConvertible
-
A struct for providing color palette.
See moreDeclaration
-
API to load and apply style sheet information (to override color definitions)
Changes made to the manager affect all future calls to
Color.preferredColor(_:background:interface:display:)
.Example Usage
See morevar colorOverrides = """ @primaryLabel:#FF6000; @primaryLabel_darkBackground:#00FFFF; """ try? StyleSheetSettings.loadStylesheetByString(content: colorOverrides)
Declaration
Swift
public struct StyleSheetSettings