diff --git a/src/cosmoz-tab-card.js b/src/cosmoz-tab-card.js index 5d8e39c..2ff61c0 100644 --- a/src/cosmoz-tab-card.js +++ b/src/cosmoz-tab-card.js @@ -56,7 +56,7 @@ const CosmozTabCard = (host) => { > ${collapseIcon} - `, + ` )}

${heading} @@ -104,7 +104,7 @@ const style = css` display: flex; align-items: center; gap: 8px; - background-color: #fff; + background-color: var(--cosmoz-tab-card-bg-color, white); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } @@ -137,5 +137,5 @@ customElements.define( component(CosmozTabCard, { observedAttributes: ['heading', 'collapsable', 'collapsed'], styleSheets: [style], - }), + }) );