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

Transparent background #411

Open
kevinpoulet opened this issue Jan 5, 2024 · 2 comments
Open

Transparent background #411

kevinpoulet opened this issue Jan 5, 2024 · 2 comments

Comments

@kevinpoulet
Copy link

Hello.

I'm using CLion 2023.3.2 with the plugin up-to-date (7.3.0).

I am trying to have all the diagrams rendered with a transparent background. To that effect, I added the following in the PlantUML config configuration text box:

!theme spacelab
skinparam backgroundcolor transparent

The theme is picked up, however the background remains white. Unchecking SVG preview (which I guess switches to PNG) turns the background transparent.

Note that I tried to type random character to force regeneration. On that note, is there a way to clear the generated cache? The diagrams that were generated before the option was unchecked still have the white background.

Thanks in advance.

@krasa
Copy link
Collaborator

krasa commented Jan 5, 2024

I think I somehow force the background to be white, this will need investigation.

No, just set the cache size to 0, I will make it reset on settings change...

@kevinpoulet
Copy link
Author

Thanks for the answer, the cache size trick works in the meantime :)

krasa added a commit that referenced this issue Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants