> For the complete documentation index, see [llms.txt](https://docs.luciq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.luciq.ai/kmp/setup-luciq-for-kmp/custom-settings/sdk-customization/ui-color-and-theme.md).

# UI Color & Theme

Apply a light or dark theme to the Luciq UI in your KMP app, and use ThemeConfig for deeper control over colors, backgrounds, text, and fonts.

### Color theme (light/dark)

Set a light or dark theme for the SDK UI:

{% code title="Kotlin" %}

```kotlin
LuciqKmp.setColorTheme(ColorTheme.Light)
LuciqKmp.setColorTheme(ColorTheme.Dark)
```

{% endcode %}

(If the native SDK supports “auto” based on system theme, it may be exposed in a future KMP version.)

### Custom theme (ThemeConfig)

For deeper customization, use `ThemeConfig` with platform-specific fields (e.g. primary color, background, text colors, fonts). Create a `ThemeConfig` in shared or platform code and set it:

{% code title="Kotlin" %}

```kotlin
val theme = ThemeConfig(
    primaryColor = 0xFF6200EE.toInt(),
    backgroundColor = 0xFFFFFFFF.toInt(),
    primaryTextColor = 0xFF000000.toInt()
    // ... other fields as per your platform
)
LuciqKmp.setTheme(theme)
```

{% endcode %}

`ThemeConfig` is an `expect` class; actual properties vary by platform (Android uses color Ints, iOS may use platform color/font types). See the library’s `ThemeConfig` definition for your target.

### Fullscreen (Android)

On Android you can enable or disable fullscreen mode for the Luciq UI:

{% code title="Kotlin" %}

```kotlin
LuciqKmp.setFullscreen(true)
```

{% endcode %}

No-op on iOS.

### Custom branding image

Replace the Luciq logo in the SDK UI with your own branding. These APIs are **platform-specific** (defined only on Android or iOS), so call them from `androidMain` or `iosMain` code.

**Android** – pass light and dark drawable resource IDs:

{% code title="Kotlin" %}

```kotlin
// In androidMain source set
LuciqKmp.setCustomBrandingImage(
    lightLogoVariant = R.drawable.ic_logo_light,
    darkLogoVariant = R.drawable.ic_logo_dark
)
```

{% endcode %}

**iOS** – pass a `UIImageAsset` (e.g. from an Asset Catalog):

{% code title="Kotlin" %}

```kotlin
// In iosMain source set
LuciqKmp.setCustomBrandingImage(image = myLogoImageAsset)
```

{% endcode %}

### Override strings

Replace any SDK string (e.g. button labels, hints) with your own:

{% code title="Kotlin" %}

```kotlin
LuciqKmp.setString(StringKey.ReportBug, "Report a problem")
LuciqKmp.setString(StringKey.ThankYouText, "Thanks! We’ll look into it.")
```

{% endcode %}

`StringKey` is an enum of all overridable string keys in the SDK.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.luciq.ai/kmp/setup-luciq-for-kmp/custom-settings/sdk-customization/ui-color-and-theme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
