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
No documentation on how to change font size of each elements individually (e.g. technology, relationship text) #291
Comments
|
Hello! Thank you for reporting this. We do indeed seem to be lacking documentation in regards to fonts. |
|
Hi @ProtoSlayer, I created a PR #295 that you can define themes and change the technology and relationship text size too (like in the https://github.com/kirchsth/C4-PlantUML/blob/extended/themes/puml-theme-C4_FirstTest.puml). If you set $TECHN_FONT_SIZE or $ARROW_FONT_SIZE before the "normal" C4_* files are loaded you can overwrite the size. Can you please see/check it there if it works for you. Thank you and best regards |
… - add themes, fix PR findings)
…a - update themes, fix PR findings)
… - update themes/add overview, fix PR findings)
… - extract all constant values)
|
Hi @ProtoSlayer, the PR #295 is merged into master. Now you can use and define your theme (e.g. with your noted @startuml
' !theme C4_united from https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/themes
' could be moved into an e.g. theme file
skinparam DefaultFontSize 20
!$STEREOTYPE_FONT_SIZE = 30
!$PERSON_BG_COLOR = red
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
Person(admin, "Administrator")
System_Boundary(c1, "Sample System") {
Container(web_app, "Web Application", "C#, ASP.NET Core 2.1 MVC", "Allows users to compare multiple Twitter timelines")
}
System(twitter, "Twitter")
Rel(admin, web_app, "Uses", "HTTPS")
Rel(web_app, twitter, "Gets tweets from", "HTTPS")
SHOW_LEGEND(false)
@endumlBR Helmut |
Hello,
I cannot find any documentation or functionality on how to change the font size for relationships or any element individually.
When using "skinparam DefaultFontSize 20" the text of the relationship and technology is not effected.
The text was updated successfully, but these errors were encountered: