-
Notifications
You must be signed in to change notification settings - Fork 0
ThemesManager
ppraveentr edited this page Oct 23, 2022
·
3 revisions
public class ThemesManager: ObservableObject
ObservableObject
public static let shared
@Published public private(set) var themeModel: ThemeModel?
Call this function to generate ColorSchemeValue: ThemeModel
,
For light
and dark
style from Data dictionary ofTypeThemeDic
public static func loadThemeModel(_ jsonData: Data) throws
- jsonData:
ColorSchemeValue<Data>
of json forlight
anddark
style
Generated at 2023-04-02T01:45:21+0000 using swift-doc 1.0.0-rc.1.