Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

darkmode设置为了false,但是页面依然处于暗色模式 #720

Closed
3 tasks done
chenyahui opened this issue Nov 25, 2023 · 3 comments
Closed
3 tasks done

darkmode设置为了false,但是页面依然处于暗色模式 #720

chenyahui opened this issue Nov 25, 2023 · 3 comments

Comments

@chenyahui
Copy link
Contributor

chenyahui commented Nov 25, 2023

Issue Checklist

Expected behavior

我的理解是darkmode设置为false,无论自己操作系统是否处于暗色模式,页面都会是白色的模式

Actual behavior

  • Links to demo site with this issue:
  • Links to repository or source code of the blog:
  • Screenshots:
    https://www.cyhone.com
    用无痕模式打开,依然是暗色的,确认_config.next.yml里面的darkmode为 false
image

Steps to reproduce the behavior

none

Node.js and NPM Information

v17.9.1
8.11.0

Package dependencies Information

Hexo Configuration

none

NexT Configuration

scheme: Gemini
darkmode: false

Other Information

浏览器环境:macos m1 pro & chrome
执行hexo的环境:ubuntu 18.04

@chenyahui chenyahui added the Bug Something isn't working label Nov 25, 2023
@stevenjoezhang
Copy link
Member

我看了 https://www.cyhone.com/css/main.css 里面还有暗色模式相关的内容,你检查一下是不是有缓存问题

@chenyahui
Copy link
Contributor Author

我看了 https://www.cyhone.com/css/main.css 里面还有暗色模式相关的内容,你检查一下是不是有缓存问题

hexo clean之后,重新hexo g,才可以了

@stevenjoezhang stevenjoezhang added Question Solved and removed Bug Something isn't working labels Nov 29, 2023
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants