Start moving color-changing code to separate 'paint' stylesheet

This commit is contained in:
benjamin melançon 2019-10-01 13:20:39 -04:00
parent 61210c0804
commit 4855fd770a
3 changed files with 20 additions and 21 deletions

View file

@ -0,0 +1,18 @@
// Gleanings don't have the same faux-image structure (because they'll never
// have a featured image) but we still want the title to look about the same.
.page--content-item--gleaning .page-title {
background-color: $gleaning;
}
.page--content-item--article .background-replacement-for-no-image {
background-color: $article;
}
.page--content-item--blog .background-replacement-for-no-image {
background-color: $blog;
}
.background-replacement-for-no-image,
.page--content-item--collection .background-replacement-for-no-image {
background-color: $collection;
}