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

Set fill color for sequence diagram groups/fragments? #2430

Open
tlunsfordCXP opened this issue Mar 16, 2025 · 1 comment
Open

Set fill color for sequence diagram groups/fragments? #2430

tlunsfordCXP opened this issue Mar 16, 2025 · 1 comment

Comments

@tlunsfordCXP
Copy link

In sequence diagrams in dark mode with darkflagshipterrastruct theme, I'm struggling with the small contrast on the group/fragment boxes.

I see that setting the fill for the group works, but it also changes the text background. Is it possible to set only the box color?

Additionally, can we set the box width for goups? I'm finding that alt groups (i.e., if/else) have different sized boxes based on the group text. Typically I'd expect all groups that live at the same level to have the same width, or at least the option to have the same width.

@alixander
Copy link
Collaborator

Do you have an example, of the if/else having different size boxes?

https://play.d2lang.com/?script=Ks5ILEi1UihOLSxNzUtOjU_JTEwvSszlqlDQtVOo5ErNKU61UqjmUlCACFgpZGRyKSgUl1TmpOqlZebkWCkUpaZw1XJxZaahqsvmquUCBAAA__8%3D&theme=0&


The masking should actually just behave differently for dark backgrounds. Can I change this issue to that? Or would you still want setting fill color and widths, in which case we can keep as separate issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants