Add dark mode support to product card star rating

This commit is contained in:
Sodbileg Gansukh 2021-12-08 17:17:47 +08:00
parent cdb03b65fb
commit 49f99d956f
3 changed files with 18 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1876,6 +1876,14 @@ html.dark-mode .site-archive-header .no-image {
background: var(--color-darkmode);
}
html.dark-mode .kg-product-card-rating-active.kg-product-card-rating-star svg {
fill: #ebeef0;
}
html.dark-mode .kg-product-card-rating-star svg {
fill: #394047;
}
@media (prefers-color-scheme: dark) {
html.auto-color body {
color: rgba(255, 255, 255, 0.75);
@ -2013,6 +2021,14 @@ html.dark-mode .site-archive-header .no-image {
color: rgba(255, 255, 255, 0.9);
background: var(--color-darkmode);
}
html.auto-color .kg-product-card-rating-active.kg-product-card-rating-star svg {
fill: #ebeef0;
}
html.auto-color .kg-product-card-rating-star svg {
fill: #394047;
}
}
/*