[Enhancement] 暗黑模式下修改某个组件scss变量值的问题 #16696
slient7
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature type:
Enhancement
Details
All
Description
需要能够在暗黑模式下,修改所有组件的默认scss变量值
如上,修改暗黑模式下的table组件时会提示,[plugin:vite:css] [sass] This variable was not declared with !default in the @used module.
只能在@forward "element-plus/theme-chalk/src/common/var.scss",里面修改才能生效。
这样会有个问题,切换回浅色模式后,table组件显示的还是深色的样式。
Additional comments
(empty)
0 votes ·
Beta Was this translation helpful? Give feedback.
All reactions