Theme & Appearance
Control the visual appearance of the application. Applies to: All integrations.
| Parameter | Type | Default | Applies to | What it does internally |
| style | "dark" or "light" | "dark" | All | Theme mode requested from the backend at verification. It switches the whole UI color scheme |
| themeName | string | the company value | All | Which theme (managed in the Admin Dashboard) to load. The resolved theme is cached in the WebView and only downloaded again when its version changes |
Precedence note: a ?style=dark or ?style=light in the launch URL wins over the `style` value sent by postMessage. The SDKs send IStyle in the launch URL. If you see the wrong mode, check the launch URL first.
SDK Support:
- Swift, Kotlin, Flutter: the
IStyleobject of the create call (style,themeName, plus the loading screen colors) - React Native, React: the
styleobject indata - HTML/JS: top-level keys of the launch object, or the iframe URL (
?style=light)
Theme Configuration
Swift example:
1kinestex.createWorkoutView(
2 workout: "Fitness Lite",
3 user: nil,
4 style: IStyle(
5 style: "light",
6 themeName: "CustomBrand"
7 ),
8 isLoading: $isLoading,
9 onMessageReceived: { message in /* ... */ }
10)