---
schema_version: "1"
id: f240de4b96383ee5cb203d29d9c781f1af0c259a8f706bfa4492352117634b8e
title: AgentforceThemeMode
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce-mobile-sdk/references/ios/agentforce-theme-mode-ios.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/agentforce-theme-mode-ios.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e4c8a2d89350cc62c3d5fd7fad9ce9be6e3225db9b8affbd120976a39ae29547
products:
  - Agentforce Mobile SDK
  - Agentforce and Einstein Generative AI
---
# AgentforceThemeMode

## Overview

Theme mode configuration options that control how the Agentforce SDK adapts to light and dark appearance preferences. These modes provide flexibility for host applications to align the SDK's visual appearance with their own theming strategy while respecting user preferences and system settings.

## Declaration

```swift
enum AgentforceThemeMode
```

## Cases

| Case     | Description                                                    |
| -------- | -------------------------------------------------------------- |
| `light`  | Forces light mode appearance regardless of system preferences. |
| `dark`   | Forces dark mode appearance regardless of system preferences.  |
| `system` | Automatically adapts to system-wide appearance preferences.    |
