tdesign icon indicating copy to clipboard operation
tdesign copied to clipboard

[Menu 导航菜单] 为啥导航菜单要单独搞一个暗色模式,全局一起不行吗?

Open arbraces opened this issue 3 years ago • 2 comments

tdesign 版本

^0.8.0

重现链接

No response

重现步骤

No response

期望结果

希望导航菜单也能支持全局的暗色模式

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

arbraces avatar Aug 31 '22 09:08 arbraces

可以新增一个选项,让导航随整体模式。

但,不能去除单独的暗色模式,因有的业务即使在系统亮色模式的情况下,也会选择暗色菜单。

扩展 theme=light | darktheme=light | dark | global | systemtheme = global 时,模式随整个组件库 当 theme = system 时,模式跟随系统

chaishi avatar Sep 03 '22 01:09 chaishi

可以啊,这样也行,不用单独再去配置了

arbraces avatar Sep 04 '22 07:09 arbraces

可以全局的

lovleo avatar Feb 17 '23 08:02 lovleo