--m-bolt-bg-highlight
and --m-bolt-bg-lowlight
.
{% include '@bolt-components-teaser/teaser.twig' with {
attributes: {
style: '--m-bolt-bg-highlight: var(--bolt-color-teal); --m-bolt-bg-lowlight: var(--bolt-color-navy-dark)',
class: [
'u-bolt-bg-gradient',
'u-bolt-padding-xlarge',
't-bolt-navy-light',
],
},
variant: 'card',
headline: {
text: 'Custom Gradient Colors',
},
} only %}
<div class="u-bolt-bg-gradient t-bolt-navy-light u-bolt-padding-xlarge" style="--m-bolt-bg-highlight: var(--bolt-color-teal); --m-bolt-bg-lowlight: var(--bolt-color-navy-dark)">
<h2>Custom Gradient Colors</h2>
</div>