Use this event to programmatically control the appearance mode of your embedded Omni session and synchronize Omni’s color scheme with your parent application’s theme. This event is useful when:Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
- You want to maintain visual consistency between your application and embedded Omni content
- Your application has a theme switcher and you need embedded content to match the selected theme
- You need to respond to system-level appearance changes and ensure embedded Omni follows suit
Properties
The appearance mode to apply. Accepts one of three values:
dark- Forces dark modelight- Forces light modesystem- Uses the system’s preferred color scheme