From 15a4303d5e6045a822fa5bbacce1f58314a0306d Mon Sep 17 00:00:00 2001 From: Mariano Ceneri Date: Mon, 17 Jul 2023 18:20:25 -0300 Subject: [PATCH] Cambios en el formato --- pkg/view/snippets.go | 7 +++++-- pkg/view/view_test.go | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pkg/view/snippets.go b/pkg/view/snippets.go index 0ffc40c..eeca95d 100644 --- a/pkg/view/snippets.go +++ b/pkg/view/snippets.go @@ -22,7 +22,7 @@ title {{title}} ` snippetSkinParamDefault = ` skinparam { - shadowing false + shadowing true arrowFontSize 10 defaultTextAlignment center wrapWidth 200 @@ -32,11 +32,14 @@ hide stereotype top to bottom direction scale 4096 width + +skinparam titleFontSize 18 // Cambio de tamaño de fuente del título + ` snippetSkinParamGroup = ` skinparam rectangle<<_GROUP>> { FontColor #ffffff - BorderColor #ffffff + BorderColor #E5E8E8 } ` snippetSkinParamShape = ` diff --git a/pkg/view/view_test.go b/pkg/view/view_test.go index 4989021..f21c0ed 100644 --- a/pkg/view/view_test.go +++ b/pkg/view/view_test.go @@ -29,7 +29,7 @@ func TestNewView_empty(t *testing.T) { title TITLE UNDEFINED skinparam { - shadowing false + shadowing true arrowFontSize 10 defaultTextAlignment center wrapWidth 200 @@ -40,9 +40,12 @@ top to bottom direction scale 4096 width +skinparam titleFontSize 18 // Cambio de tamaño de fuente del título + + skinparam rectangle<<_GROUP>> { FontColor #ffffff - BorderColor #ffffff + BorderColor #E5E8E8 } @enduml