From 1dcb099946289d309cfbfdc2bda50130a4e6835a Mon Sep 17 00:00:00 2001 From: Lens0021 / Leslie Date: Mon, 9 Jan 2023 22:50:53 +0900 Subject: [PATCH] fix: DarkMode Changes (#656) --- CHANGELOG.md | 4 ++++ .../ext.DarkMode.styles.less | 8 ++------ skin.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3582cda9..e53d6dbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Versions and bullets are arranged chronologically from latest to oldest. +## 3.1.3 + +- Fixed Darkmode. (https://github.com/femiwiki/FemiwikiSkin/issues/653) + ## 3.1.2 - Fixed broken DarkMode support. (https://github.com/femiwiki/femiwiki/issues/324) diff --git a/resources/skins.femiwiki.moduleSkinStyles/ext.DarkMode.styles.less b/resources/skins.femiwiki.moduleSkinStyles/ext.DarkMode.styles.less index 03d1fac4..4bbe02c3 100644 --- a/resources/skins.femiwiki.moduleSkinStyles/ext.DarkMode.styles.less +++ b/resources/skins.femiwiki.moduleSkinStyles/ext.DarkMode.styles.less @@ -1,11 +1,9 @@ @import '../variables.less'; -.client-dark-mode { +.client-darkmode { // Explicitly set the background // https://github.com/femiwiki/femiwiki/issues/324 - body { - background-color: #fff; - } + background-color: #fff; // Remove the background; it stands out too much. table { @@ -21,8 +19,6 @@ } // Apply filter for things using background-image - // https://github.com/femiwiki/FemiwikiSkin/issues/415 - .ext-related-articles-card-thumb, .growthexperiments-homepage-module-impact .real-image { filter: invert(1) hue-rotate(180deg); background-color: transparent; diff --git a/skin.json b/skin.json index 205ac393..af96d442 100644 --- a/skin.json +++ b/skin.json @@ -4,7 +4,7 @@ "namemsg": "skinname-femiwiki", "type": "skin", "author": "[https://femiwiki.com/ Femiwiki Team]", - "version": "3.1.2", + "version": "3.1.3", "url": "https://github.com/femiwiki/FemiwikiSkin", "descriptionmsg": "femiwiki-desc", "license-name": "AGPL-3.0-or-later",