Skip to content

Theme: the title of theme switch #3214

@zh-lx

Description

@zh-lx

Describe the bug

Currently, the title of the theme switch is toggle dark mode whether in light mode or dark mode.
image

image

Reproduction

https://vitepress.dev/guide/getting-started

Expected behavior

In light mode, the title should be toggle dark mode; in dark mode, the title should be toggle light mode

System Info

Both in Mac or Windows

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions