fix(css): multiply mix blend for images in dark override color mode (#4763)
This commit is contained in:
@@ -265,7 +265,8 @@ const getColorStyles = (
|
||||
}
|
||||
img {
|
||||
${isDarkMode && invertImgColorInDark ? 'filter: invert(100%);' : ''}
|
||||
${!isDarkMode && overrideColor ? 'mix-blend-mode: multiply;' : ''}
|
||||
${isDarkMode && overrideColor ? 'filter: grayscale(100%) contrast(1.2) brightness(1.2);' : ''}
|
||||
${overrideColor ? 'mix-blend-mode: multiply;' : ''}
|
||||
}
|
||||
svg, img {
|
||||
${overrideColor ? `background-color: transparent !important;` : ''};
|
||||
|
||||
Reference in New Issue
Block a user