Skip to content

Commit

Permalink
update color and optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
maximun85 committed Sep 11, 2024
1 parent 7a27d26 commit 0a8a18b
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function CustomEdge({

return (
<React.Fragment key={id}>
<BaseEdge id={id} path={edgePath} markerEnd={markerEnd} className={s.edge_line} />
<BaseEdge id={id} path={edgePath} markerEnd={markerEnd} className={s.edge_line} style={style} />
{
label && (
<EdgeLabelRenderer>
Expand Down
12 changes: 6 additions & 6 deletions src/modules/blockchains/Buy/hooks/useCheckNodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ export default function useCheckNodes() {
.animate,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down Expand Up @@ -233,8 +233,8 @@ export default function useCheckNodes() {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down Expand Up @@ -333,8 +333,8 @@ export default function useCheckNodes() {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down
4 changes: 2 additions & 2 deletions src/modules/blockchains/Buy/hooks/useFetchingTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ export default function useFetchingTemplate() {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down
32 changes: 16 additions & 16 deletions src/modules/blockchains/Buy/hooks/useLineIssueToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ function useLineIssueToken(): void {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
color: '#E5BBB2',
},
style: {
stroke: '#AAAAAA',
stroke: '#E5BBB2',
strokeWidth: 2,
},
}
Expand All @@ -88,13 +88,13 @@ function useLineIssueToken(): void {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
color: '#E5BBB2',
},
style: {
stroke: '#AAAAAA',
stroke: '#E5BBB2',
strokeWidth: 2,
},
};
Expand All @@ -120,13 +120,13 @@ function useLineIssueToken(): void {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
color: '#E5BBB2',
},
style: {
stroke: '#AAAAAA',
stroke: '#E5BBB2',
strokeWidth: 2,
},
};
Expand All @@ -152,13 +152,13 @@ function useLineIssueToken(): void {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
color: '#E5BBB2',
},
style: {
stroke: '#AAAAAA',
stroke: '#E5BBB2',
strokeWidth: 2,
},
};
Expand Down
16 changes: 8 additions & 8 deletions src/modules/blockchains/Buy/hooks/useNodeFlowControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ export default function useNodeFlowControl() {
.animate,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down Expand Up @@ -234,8 +234,8 @@ export default function useNodeFlowControl() {
type: 'customEdge',
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down Expand Up @@ -301,8 +301,8 @@ export default function useNodeFlowControl() {
type: 'customEdge',
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down Expand Up @@ -470,8 +470,8 @@ export default function useNodeFlowControl() {
.animate,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down
8 changes: 4 additions & 4 deletions src/modules/blockchains/Buy/hooks/useSetDefaultDapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ const useSetDefaultDapp = () => {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down Expand Up @@ -156,8 +156,8 @@ const useSetDefaultDapp = () => {
focusable: false,
markerEnd: {
type: MarkerType.Arrow,
width: 25,
height: 25,
width: 20,
height: 20,
strokeWidth: 1,
color: '#AAAAAA',
},
Expand Down

0 comments on commit 0a8a18b

Please sign in to comment.