Mukbackground is just a background color, it gets the color from the theme data. You can override the color for each MukBackground as well.
Create Muk Background #
To create Muk background, create and select MukUICanvas, right-click in the Hierarchy > Muk > Background. You will see a new object(MukBackground) created in the selected canvas or the first canvas in the Hierarchy (if no canvas is selected). If there’s no canvas in the Hierarchy, Muk will create a MukUICanvas for you and place the MukBackground in the newly created MukUICanvas.
Muk Background - Properties #
Property | Desciption | Value |
---|---|---|
Platform Type | Which UI Platform should Muk Components display. | Device - Base on device. iOS UI for iOS device, Material design for others. iOS - iOS design. Material - Material design. |
Dark Mode | Use Dark mode or light mode. You can set color for each mode in theme settings. | Dark - Dark Mode. Light - Light Mode. |
iOS Theme Color | Which color to get from the theme data | It's a list of color from the theme data. Default is background color. |
Material Theme Color | Which color to get from the theme data | It's a list of color from the theme data. Default is background color. |
Override Background Color | Should override the background color? | If ticked, it will show two options - iOS & Material, and each option will have two options inside(Light Mode color / Dark Mode Color). If not ticked, the system will get color from theme settings. |