FEATURE Refining color prop drilling

This commit is contained in:
Antoine M 2026-04-08 16:33:21 +02:00
parent 6756f895c8
commit 2a89255038

View File

@ -44,7 +44,7 @@
h4.wp-block-heading,
h5.wp-block-heading,
h6.wp-block-heading {
color: var(--chapter-section-text-color);
color: var(--advised-text-color);
}
&__innerblocks {
@ -115,6 +115,15 @@
}
}
p,
h2,
h3,
h4,
h5,
h6 {
color: var(--advised-text-color);
}
&--bg-dark {
.wp-block-carhop-blocks-cta {
--cta-current-color: #fff;
@ -123,12 +132,16 @@
filter: brightness(41);
}
}
/* .wp-block-carhop-blocks-cta {
@apply !bg-red-400;
&:after {
filter: brightness(41);
}
} */
--advised-text-color: #fff;
--content-box-text-color: #fff;
}
&--bg-light {
--advised-text-color: #136f63;
--content-box-text-color: #136f63;
.wp-block-carhop-blocks-heading {
color: var(--advised-text-color);
}
}
&--backgrounded {