Use semantic coloring for code names in texts
Opened this issue · 2 comments
This issue is for discussion. I'm not 100% sure this is going to work for sure. The idea is to highlight code names in the text if they are events, commands, projections, or process managers. This way people would navigate the text a bit easier, and would learn the color code of EventStorming diagrams.
The style I have in mind is fixed size font, but with colored background and probably colored letters. It should look similarly to how Kotlin docs do this:
A command name in the text should probably look like this:
@armiol, what would you say to this suggestion?
Discussed the matter with @armiol vocally. Let's start with events, commands, and rejections first, and see how it looks. We'd like to avoid a salad-like view of the text.
We'd probably need to revisit the color schemas for our block code samples. For example, newer IDEA versions uses less vivid colors even in dart color theme:
Compare with what we have now at the site: