Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarspiritstorm <starspiritstorm@gmail.com>2022-01-17 19:01:50 +0300
committerGitHub <noreply@github.com>2022-01-17 19:01:50 +0300
commit5e6c8123a1d61fe5c097781ab1f1f45846467114 (patch)
treec8d59efc19a38f5827b09b995b58a0aad2901ea8
parentd1d347204552e3a49052a504705450829439ed86 (diff)
fix(css): dim image in light mode (#367)
When defaultTheme is dark, images brightness didn't change to 100% in light mode. FIxed #365
-rw-r--r--assets/scss/themes/_light.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/scss/themes/_light.scss b/assets/scss/themes/_light.scss
index 2a4741f..27647bc 100644
--- a/assets/scss/themes/_light.scss
+++ b/assets/scss/themes/_light.scss
@@ -15,6 +15,9 @@
.theme-icon-dark {
display: none;
}
+ img {
+ filter: none;
+ }
@if ($enableHighlight) {
/* https://xyproto.github.io/splash/docs/all.html */