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

Make skinparam local to package #41

Open
midenok opened this issue Nov 10, 2018 · 1 comment
Open

Make skinparam local to package #41

midenok opened this issue Nov 10, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@midenok
Copy link

midenok commented Nov 10, 2018

Reproduce 1

@startuml
package legend #GreenYellow/LightGoldenRodYellow {
skinparam classBackgroundColor Wheat|CornflowerBlue
A +- B
}
skinparam classBackgroundColor Yellow
C ^- D
@enduml

Result 1

image

Reproduce 2

@startuml
skinparam classBackgroundColor Yellow
package legend #GreenYellow/LightGoldenRodYellow {
skinparam classBackgroundColor Wheat|CornflowerBlue
A +- B
}
C ^- D
@enduml

Result 2

image

Expected

In both above cases A and B are Wheat|CornflowerBlue but C and D are Yellow.

@arnaudroques
Copy link
Contributor

Unfortunately, this is very difficult to change using current implementation.
Skinparams are really global to the whole diagram.
Let us think about this...

@arnaudroques arnaudroques added the enhancement New feature or request label Mar 21, 2023
@arnaudroques arnaudroques transferred this issue from plantuml/plantuml Mar 21, 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

2 participants