DomainStory-PlantUML icon indicating copy to clipboard operation
DomainStory-PlantUML copied to clipboard

Provide a theme gallery and documentation of fonts/colors

Open stephenwithav opened this issue 1 year ago • 4 comments

The PlantUML theme gallery lets us quickly see what each theme looks like.

It would be great to see a similar gallery for Domain Stories.

A dark theme would be great.

stephenwithav avatar May 18 '24 20:05 stephenwithav

Hi @stephenwithav I have only now learned that themes have an influence on the appearance of domain stories. Unfortunately I also learned that the current styling ideas are not compatible with every theme.

Did you mean to add domain stories to the theme gallery or a separate gallery? I don't think that I would be able to provide a standalone gallery.

Also I don't know how a dark theme or theming support in general could be added to the current macros.

johthor avatar Sep 30 '24 18:09 johthor

Once #7 is merged, I'll create some samples using . or whatever is decided that should suffice.

We could just use the example in #7 to demonstrate various themes, where applicable.

I'll happily create one on my GitHub site if you want to add a link to it.

stephenwithav avatar Sep 30 '24 21:09 stephenwithav

Turns out I do have an idea how to support themes. In #9 I implemented some support for themes. Please let me know if this would fulfill your need for a dark theme.

That would also allow us to extend the PlantUML gallery with a Domain Story example instead of running our own I think.

That brings us to documentation of fonts and colors. What kind of information do you miss or is it a missing feature?

johthor avatar Oct 01 '24 18:10 johthor

I have finally merged #9 and I'm already working on improving the PlantUML theme gallery usability https://github.com/The-Lum/puml-themes-gallery/pull/4 to also be a good gallery for domain stories.

johthor avatar Oct 31 '24 23:10 johthor

Hi all,

Here is a first attempt here:

@johthor: Thanks for your contribution on PUML Gallery.

Regards, Th.

The-Lum avatar Nov 08 '24 20:11 The-Lum

Hi @The-Lum thank you for already adding a domain story example. Initially I wanted to wait until the version supporting themes was integrated into the Std Libs but now I think the appearance will improve once theme support lands in the standard library. 😁

johthor avatar Nov 11 '24 16:11 johthor

I've finally stopped procrastinating regarding the theme support and released the version Delta v0.4.0 which includes theme support and some other styling related features. For me the goal of this issue was reached or will shortly be reached. 😁

johthor avatar Nov 30 '24 21:11 johthor