feature: adding arrows to the git graph

This commit is contained in:
Knut Sveidqvist
2022-02-24 18:08:09 +01:00
parent cc826289c6
commit 4753ae8ac0
3 changed files with 94 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
const getStyles = options =>
const getStyles = (options) =>
`
.commit-id,
.commit-msg,
@@ -36,6 +36,11 @@ const getStyles = options =>
.label5 { fill: ${options.fillType5}; }
.label6 { fill: ${options.fillType6}; }
.label7 { fill: ${options.fillType7}; }
// .arrow { stroke : ${options.tertiaryColor}; stroke-width: 8; stroke-linecap: round; }
.arrow { stroke : #cc33cc; stroke-width: 8; stroke-linecap: round; }
// #arrowhead { fill: ${options.tertiaryColor};}
#arrowhead { fill: #990099;}
.branchLabel { }
}
`;