You can set a custom CSS class using the config:
const bubble = new DayPilot.Bubble({
theme: "mybubble",
// ...
});
All CSS classes used in the bubble will be prefixed with "mybubble_" instead of "bubble_default_".
See also:
https://api.daypilot.org/daypilot-bubble-theme/