Skip to content

暗色主题下 mindmap 背景颜色设置为透明 #5582

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

Closed
Zuoqiu-Yingyi opened this issue Aug 5, 2022 · 1 comment
Closed

暗色主题下 mindmap 背景颜色设置为透明 #5582

Zuoqiu-Yingyi opened this issue Aug 5, 2022 · 1 comment
Assignees
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

在什么情况下你需要该特性?In what scenarios do you need this feature?

mindmapecharts 块使用 canvas 元素渲染, 但是该元素在暗色主题中设置了 #100C2A 背景颜色, 比较难看, 且无法使用主题样式覆盖, 希望 canvas 元素的背景颜色与明亮主题的一致, 设置为透明

描述可能的最优解决方案 Describe the optimal solution

canvas 元素暗色主题下的背景颜色与明亮主题的一致, 设置为透明

描述候选的解决方案 Describe the candidate solution

No response

其他信息 Other information

No response

@Vanessa219
Copy link
Member

mindmap 可以修改,但 echarts 由于是用户来设置,因此只能靠用户添加以下配置项。

{
    "backgroundColor": "transparent",
}

@Vanessa219 Vanessa219 changed the title 暗色主题下 mindmapechartscanvas 元素背景颜色设置为透明 暗色主题下 mindmap 背景颜色设置为透明 Aug 20, 2022
Vanessa219 added a commit that referenced this issue Aug 20, 2022
Vanessa219 added a commit that referenced this issue Aug 20, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@Vanessa219 Vanessa219 modified the milestones: 2.1.10, 2.1.8 Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants