Guide
Defining a Custom Theme
🎨 Defining a Custom Theme
Themes allow you to define colors, typography, and icons to match your app’s branding.
🔹 Example Custom Theme:
🎨 Theme Properties
Property | Type | Description |
---|---|---|
background | Color | Background color of the modal |
surface | Color | Card surface color |
outline | Color | Used for outlines on components |
primary | Color | Primary brand color (buttons, checkboxes) |
onPrimary | Color | Text/icon color on the primary color |
onBackground | Color | Text/icon color on background |
onSurface | Color | Text/icon color on surfaces |
placeholder | Color | Placeholder text color |
titleFont | Font | Font for titles |
bodyFont | Font | Font for body text |
buttonFont | Font | Font for buttons |
captionFont | Font | Font for captions |
checkmark | Image | Icon for checkmarks |
success | Image | Icon for success screen |
close | Image | Close button icon |