-
Notifications
You must be signed in to change notification settings - Fork 0
Theming
Arvindh Sukumar edited this page Jan 22, 2024
·
1 revision
Tarka UI Kit comes with theming support out of the box. The TUITheme
protocol defines the set of colors used by components in the kit. Creating or customising a theme is as easy as creating an object that conforms to it and passing it to the TUIThemeManager
let theme: TUITheme = YourCustomTheme()
TUIThemeManager.shared.setTheme(theme)
Tarka UI Kit comes with a DefaultTheme
built-in, so it is ready to use out of the box without any customisations.