FEATURE Refining color prop drilling
This commit is contained in:
parent
6756f895c8
commit
2a89255038
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user