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