Skip to content

使用 useToken 获取不到最新的主题颜色 #6550

@songpeng154

Description

@songpeng154
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.0.0-beta.4

Environment

vite4.3.3 、vue3.2

Reproduction link

https://stackblitz.com/edit/vitejs-vite-vz6cxc?file=package.json,vite.config.ts,src%2FApp.vue&terminal=dev

Steps to reproduce

1、设置主题默认颜色后,通过 useToken 获取不到最新的主题颜色
2、切换到暗黑模式后,通过 useToken 获取不到最新的文本、背景...颜色

What is expected?

期望获取最新的主题颜色

What is actually happening?

获取不到最新的主要颜色

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