Skip to content
New issue

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

如何设置 popover 主题为 dark #269

Closed
shurong-wang opened this issue Feb 21, 2023 · 5 comments
Closed

如何设置 popover 主题为 dark #269

shurong-wang opened this issue Feb 21, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@shurong-wang
Copy link

vue和ui框架

vue3、ElementPlus

问题描述

目前 description 的 popover 默认是 light 主题,想要设置为 dark

期望的结果

是否有类似设置可以实现

{
  "ui:options": {
    "popover": {
      "effect": "dark",
      "placement": "top-start"
    }
  }
}
@lljj-x
Copy link
Owner

lljj-x commented Feb 22, 2023

目前不行,下个版本加个配置。

目前只能通过自定义field来实现

@lljj-x lljj-x added the enhancement New feature or request label Feb 22, 2023
@ok958726
Copy link

目前不行,下个版本加个配置。

目前只能通过自定义field来实现

期待下个版本加上

@shurong-wang
Copy link
Author

popover 会生成在 body 下,覆盖样式还比较困难。期待更新~

@lljj-x
Copy link
Owner

lljj-x commented Apr 23, 2023

五一更新

@lljj-x
Copy link
Owner

lljj-x commented May 1, 2023

最新版支持按表单配置 formProps.popover ,单个item还不支持 ,理解应该一个表单是一致的所以暂不支持

// formProps.popover
{
  "effect": "dark",
  "placement": "top-start"
}

@lljj-x lljj-x closed this as completed May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants