The theme property (string) specifies the CSS theme id used by the date picker. The CSS theme structure is identical to DayPilot.Navigator themes.
DayPilot.DatePicker.themenullSet theme to a CSS theme id string to apply a specific date picker theme.
When theme is null, the date picker uses "navigator_default".
The theme CSS follows the same structure as the themes shown at themes.daypilot.org/navigator.
const picker = new DayPilot.DatePicker({
theme: "my_theme",
// ...
});
picker.show();