Closed ghost closed 4 years ago
Fix: Color Toggling Function
Color pre-setting in css
file:
#logo-desktop .change-fill {
fill: var(--primary);
}
This pre-setting works fine when all the elements inside the logo are solid. But when some logo element is hollow, like alpahbet 'O'. Two paths of opposite filling-color (--primary
, --background-color
) will be defined in svg. Both are in class chang-fill
, of course.
In order to have color toggling functions still well functioning, this pre-set color should be reconsidered.
In file
layouts/partials/article/hero.html
:According to
css
file, image will shrink towidth: 100%
while ratio is keeped. The ratio of hero images, that come with the theme, is arround 2:1. If user pick an image of ratio, say 1.5:1 or even lower,Image box
may overlap withArticle Content
.It's ok to fix this by overwritting original 'css' files with user specified ones. But maybe you guys can fix this in the upstream, so this theme can gain more popularities.
Nice theme, great work btw.