KinesteX

Theme & Appearance

Control the visual appearance of the application. Applies to: All integrations.


ParameterTypeDefaultApplies toWhat it does internally
style"dark" or "light""dark"AllTheme mode requested from the backend at verification. It switches the whole UI color scheme
themeNamestringthe company valueAllWhich 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 IStyle object of the create call (style, themeName, plus the loading screen colors)
  • React Native, React: the style object in data
  • 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)