Skip to content

Commit 209e865

Browse files
ISS-167739: Update Fern to support use default theme flag in documentation (#218)
* Update the latest default theme feature iOS documentations * Move this code snippet and description in support section from UIKit * Improve the documentation for dynamic theme configuration * Make it sentence case for consistency
1 parent a0a377a commit 209e865

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fern/docs/pages/plug-sdk/ios/features.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,14 @@ You can further customize the behavior by setting the `shouldDismissModalsOnOpen
157157
DevRev.shouldDismissModalsOnOpenLink: Bool
158158
```
159159

160+
## Dynamic theme configuration
161+
162+
The DevRev SDK allows you to configure the theme dynamically based on the system appearance, or use the theme configured on the DevRev portal. By default, the theme will be dynamic and follow the system appearance.
163+
164+
```swift
165+
DevRev.prefersSystemTheme: Bool
166+
```
167+
160168
## Session analytics
161169

162170
The DevRev SDK offers session analytics features to help you understand how users interact with your app.

0 commit comments

Comments
 (0)