diff --git a/src/webviews/apps/plus/graph/GraphWrapper.tsx b/src/webviews/apps/plus/graph/GraphWrapper.tsx index ee8eaf8..1302cbc 100644 --- a/src/webviews/apps/plus/graph/GraphWrapper.tsx +++ b/src/webviews/apps/plus/graph/GraphWrapper.tsx @@ -1266,6 +1266,10 @@ export function GraphWrapper({ graphConfig?.minimapMarkerTypes?.includes('localBranches') ?? false } > + Local Branches @@ -1277,6 +1281,10 @@ export function GraphWrapper({ graphConfig?.minimapMarkerTypes?.includes('remoteBranches') ?? true } > + Remote Branches @@ -1288,6 +1296,7 @@ export function GraphWrapper({ graphConfig?.minimapMarkerTypes?.includes('stashes') ?? false } > + Stashes @@ -1299,6 +1308,7 @@ export function GraphWrapper({ graphConfig?.minimapMarkerTypes?.includes('tags') ?? true } > + Tags diff --git a/src/webviews/apps/plus/graph/graph.scss b/src/webviews/apps/plus/graph/graph.scss index ba0dd64..4aeb987 100644 --- a/src/webviews/apps/plus/graph/graph.scss +++ b/src/webviews/apps/plus/graph/graph.scss @@ -1079,3 +1079,28 @@ button:not([disabled]), white-space: break-spaces; } } + +.minimap-marker-swatch { + display: inline-block; + width: 1.6rem; + height: 1.6rem; + border-radius: 3px; + margin-right: 0.75rem; + vertical-align: bottom; + + &[data-marker='localBranches'] { + background-color: var(--color-graph-minimap-marker-local-branches); + } + + &[data-marker='remoteBranches'] { + background-color: var(--color-graph-minimap-marker-remote-branches); + } + + &[data-marker='stashes'] { + background-color: var(--color-graph-minimap-marker-stashes); + } + + &[data-marker='tags'] { + background-color: var(--color-graph-minimap-marker-tags); + } +}