Skip to content

「反馈 Bug」点击夜间模式后再点击其他文章依然是日间模式 #325

@m1luf0

Description

@m1luf0

「描述遇到的问题」或「发现的 bug」(Describe the problem or bug you encounter)
在页面A点击夜间模式按钮,此时页面A变为夜间模式。
如果选择看其他的博客文章,那么可以通过目录点击到页面B,此时页面B还是日间模式。
如果一个用户需要在夜间模式下纵览 N 篇文章,那么他就需要点击 N 次夜间模式按钮。

你是否已经阅读过以下内容,并确认你的行为是正确的,在 [ ] 中填入 x 选中(Ensure that you had consulted followings and confirm the validity of your operation, fill x in [ ] to select)

如何复现(To Reproduce)
打开博客页面 -> 点击 夜间模式 按钮 -> 点击其他文章

信息 (please complete the following information):

  • 操作系统(OS): Ubuntu 20.04 LTS
  • 浏览器(Browser) Chrome
  • 浏览器版本(Version)[e.g. 22][可选]

其他信息(Additional context)

不知道记录用户选择黑暗模式的要求是否能够通过纯 nodejs 实现,大概需要记录一下这个夜间模式的 state 吧。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions