diff --git a/src/article_maker.cc b/src/article_maker.cc index 256c17d3..1b5b1c0e 100644 --- a/src/article_maker.cc +++ b/src/article_maker.cc @@ -142,7 +142,10 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word, if( GlobalBroadcaster::instance()->getPreference()->darkReaderMode ) { - result += R"()"; + //only enable this darkmode on modern style. + if( cfg.displayStyle == "modern" ) { + result += R"()"; + } // #242525 because Darkreader will invert pure white to this value result += R"( diff --git a/src/stylesheets/article-style-darkmode.css b/src/stylesheets/article-style-darkmode.css index 842b05ac..153a0f05 100644 --- a/src/stylesheets/article-style-darkmode.css +++ b/src/stylesheets/article-style-darkmode.css @@ -1,4 +1,4 @@ div.gdactivearticle .gddictname { color:initial; - background: yellow; + background: rgb(0, 102, 184); }