Skip to content

如何获取主题首次渲染时是日间模式还是夜间模式 #493

@Daniel-zyc

Description

@Daniel-zyc

当前可通过 hook 中的 dayNightControl 在日夜切换的时候获得是哪种模式,但是无法获得首次渲染时是那种模式,在 hook 提供的 _.__config, .__status 中未查阅到该数据,.__tools 中未提供该方法。不知道是我没有找到还是本来没有提供,希望可以提供方法获取该参数。

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