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