NepaliPickerAppearance
The colours every hosted picker, field and dialog draws with, shared by the whole app.
This is an appearance proxy in the UIKit sense: set it once at launch, or whenever the app's theme changes, and every picker already on screen repaints. It exists because a Swift caller has no way to install a Compose theme around a hosted controller.
Every colour is an ARGB integer, and 0 means "use Material's own value for this role", so an app can override only its accent and leave the rest alone. Set brightness to pin light or dark; the default follows the device.
NepaliPickerAppearance.shared.brightness = .dark
NepaliPickerAppearance.shared.primaryArgb = Int32(bitPattern: 0xFFB1D18A)Properties
Whether the pickers follow the device's interface style, or pin light or dark.
Content drawn on top of primaryArgb, such as the number inside a selected day.
Content drawn on top of primaryContainerArgb.
Content drawn on top of secondaryContainerArgb.
Day numbers, headlines and labels.
Weekday letters, supporting text and the unselected navigation icons.
Field borders, dividers and the outline of an unselected day.
The accent: selected days, the today ring, the confirm button, the cursor.
The filled container behind a selected year and a range's endpoints.
The softer container behind the days inside a selected range.
The picker's own background. Dialog, menu and field surfaces are derived from it.
The raised surface behind fields and the highest container tone.