use onedark colors in commit graph

This commit is contained in:
DrMaxNix 2023-03-16 21:20:13 +01:00
parent 34a669c491
commit 5e8fa9305e
1 changed files with 92 additions and 0 deletions

View File

@ -158,6 +158,98 @@
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-1 {
stroke: var(--onedark-blue);
fill: var(--onedark-blue);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-2 {
stroke: var(--onedark-orange);
fill: var(--onedark-orange);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-3 {
stroke: var(--onedark-purple);
fill: var(--onedark-purple);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-4 {
stroke: var(--onedark-yellow);
fill: var(--onedark-yellow);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-5 {
stroke: var(--onedark-red);
fill: var(--onedark-red);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-6 {
stroke: var(--onedark-green);
fill: var(--onedark-green);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-7 {
stroke: var(--onedark-cyan);
fill: var(--onedark-cyan);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-8 {
stroke: var(--onedark-violet);
fill: var(--onedark-violet);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-9 {
stroke: var(--onedark-brown);
fill: var(--onedark-brown);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-10 {
stroke: var(--onedark-pink);
fill: var(--onedark-pink);
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-11 {
stroke: var(--onedark-olive);
fill: var(--onedark-olive);
}
/* rest of the colors not changed (these are used very rarely) */
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-12 {
stroke: #792a93;
fill: #792a93;
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-13 {
stroke: #439d73;
fill: #439d73;
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-14 {
stroke: #103aad;
fill: #103aad;
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-15 {
stroke: #982e85;
fill: #982e85;
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-0 {
stroke: #7db233;
fill: #7db233;
}
/* highlight (hover) color is always white */
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-1,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-2,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-3,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-4,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-5,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-6,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-7,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-8,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-9,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-10,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-11,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-12,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-13,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-14,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-15,
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-0 {
stroke: var(--onedark-white);
fill: var(--onedark-white);
}
:root {
--is-dark-theme: true;
--color-primary: var(--onedark-green-variant-light);