diff --git a/src/assets/tailwind.css b/src/assets/tailwind.css index 444f7438..16c3e342 100644 --- a/src/assets/tailwind.css +++ b/src/assets/tailwind.css @@ -373,6 +373,7 @@ .theme-nab { --color-bg-base: 242, 244, 246; --color-bg-canvas: 242, 244, 246; + --color-text-base: #ffffff; /* Participant */ --color-bg-participant: 195, 0, 0; diff --git a/src/components/DiagramFrame/SeqDiagram/LifeLineLayer/Participant.vue b/src/components/DiagramFrame/SeqDiagram/LifeLineLayer/Participant.vue index 1e635bb7..b47c4715 100644 --- a/src/components/DiagramFrame/SeqDiagram/LifeLineLayer/Participant.vue +++ b/src/components/DiagramFrame/SeqDiagram/LifeLineLayer/Participant.vue @@ -11,7 +11,7 @@ >
@@ -30,7 +30,7 @@ diff --git a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/ArrowMixin.ts b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/ArrowMixin.ts index b9543525..cede9728 100644 --- a/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/ArrowMixin.ts +++ b/src/components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/ArrowMixin.ts @@ -3,6 +3,7 @@ import sequenceParser from "@/generated-parser/sequenceParser"; import { _STARTER_ } from "@/parser/OrderedParticipants"; import { LIFELINE_WIDTH } from "@/positioning/Constants"; import Anchor from "@/positioning/Anchor"; +import { mapGetters } from "vuex"; // Define interfaces for your properties interface BorderWidthStyle { borderLeftWidth: string; @@ -45,6 +46,7 @@ export default defineComponent({ }, computed: { + ...mapGetters(["centerOf"]), anchorOrigin: function (): Anchor { return new Anchor(this.centerOf(this.origin), this.originOffset); },