You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
设计师设计了一套的
theme
,并且针对theme
全都抽象成css var
变量,希望组件内部和自己编写的样式达成统一,但是使用naive
的theme-overrides
去覆盖,无法使用颜色类的 css var ,例如:nvive 内部的一些颜色是根据传入的主色动态计算的,不是合法 rgba hex 会报错。
目前只能 css var 写一套,在 theme-overrides 使用写死的颜色, 想问下这种场景有什么好的方案么
Beta Was this translation helpful? Give feedback.
All reactions