Boxo miniapps can be customized to match the appearance of the host app. This means that the same miniapp can have different visual styles depending on the host app it’s launched in.
Enable Inheritance of Host App Colors
Turn on Inherit host app colors within the miniapp settings. Additionally, provide default colors for scenarios where the host app doesn’t share its theming colors.
Retrieve Miniapp Settings
Call the AppBoxoWebAppGetMiniappSettings event to retrieve the miniapp’s settings.
Apply UI Customizations
Update the UI accordingly, using the data provided in the settings.
Here is an example of overriding CSS custom properties (variables):