Popover Content Theming
Adjust the Bolt color theme of the content by using the theme prop.
Demo
This is the content of the popover with a
call to action .
This is the content of the popover with a
call to action .
This is the content of the popover with a
call to action .
This is the content of the popover with a
call to action .
This is the content of the popover with a
call to action .
Twig
{% include '@bolt-components-popover/popover.twig' with {
trigger: trigger,
content: content,
theme: 'dark',
} only %}
HTML
<bolt-popover theme="dark">
<button type="button" class="e-bolt-button">
This triggers a popover
</button>
<div slot="content">
This is the content of the popover.
</div>
</bolt-popover>