theme prop. The default is set to xlight.
none prop makes the modal container transparent.xlight, light, dark, and xdark props adds the respective theme to the modal container.theme prop only applies to viewports equal to or above the small breakpoint (~600px).{% include '@bolt-components-modal/modal.twig' with {
content: 'This is a modal with a xlight theme.',
theme: 'xlight',
attributes: {
class: 'js-bolt-modal--theme-xlight',
},
} only %}