We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
styles
通过VarStyleProvider设置VarFloatingPanel样式失效
<var-style-provider :style-vars="{ '--floating-panel-background': 'var(--dark-bg-color)', }" > <var-floating-panel></...> </...>
The text was updated successfully, but these errors were encountered:
teleport 会影响 css variable
teleport
Link
Sorry, something went wrong.
是的 我在浮动面板中使用了 teleport 通过样式穿透也没办法修改颜色
:deep(.var-floating-panel) { background-color: var(--dark-bg-color); }
目前我通过直接修改 root下的--floating-panel-background 来改变颜色 但是会影响全局的 请问有其他的解决方案吗 😀
是的 我在浮动面板中使用了 teleport 通过样式穿透也没办法修改颜色 :deep(.var-floating-panel) { background-color: var(--dark-bg-color); } 目前我通过直接修改 root下的--floating-panel-background 来改变颜色 但是会影响全局的 请问有其他的解决方案吗 😀
试试选择dom,然后设置颜色
chouchouji
No branches or pull requests
About
styles
🛠️通过VarStyleProvider设置VarFloatingPanel样式失效
The text was updated successfully, but these errors were encountered: