summaryrefslogtreecommitdiffstats
path: root/web_src/less/themes
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-11-29 18:47:18 -0800
committerGitHub <noreply@github.com>2021-11-30 10:47:18 +0800
commit9ecfc54a8f09239d159db2636f3822042cd7fef8 (patch)
tree7ef87177f0a361204068b834a218541c3eb57918 /web_src/less/themes
parenteb8513a69079f85966464f9ef39948709a220925 (diff)
downloadgitea-9ecfc54a8f09239d159db2636f3822042cd7fef8.tar.gz
gitea-9ecfc54a8f09239d159db2636f3822042cd7fef8.zip
Refactor commit graph styling to use css variables (#17860)
- Use common variables for colors and font - Alter graph color 5 to provide enough contrast on both themes
Diffstat (limited to 'web_src/less/themes')
-rw-r--r--web_src/less/themes/theme-arc-green.less38
1 files changed, 0 insertions, 38 deletions
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index 3a956e0c78..38f0ec1608 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -676,44 +676,6 @@ img[src$="/img/matrix.svg"] {
filter: invert(80%);
}
-#git-graph-container li .time {
- color: #6a737d;
-}
-
-#git-graph-container.monochrome #rel-container .flow-group {
- stroke: dimgrey;
- fill: dimgrey;
-}
-
-#git-graph-container.monochrome #rel-container .flow-group.highlight {
- stroke: darkgrey;
- fill: darkgrey;
-}
-
-#git-graph-container:not(.monochrome) #rel-container .flow-group {
- &.flow-color-16-5 {
- stroke: #5543b1;
- fill: #5543b1;
- }
-}
-
-#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight {
- &.flow-color-16-5 {
- stroke: #7058e6;
- fill: #7058e6;
- }
-}
-
-#git-graph-container #rev-list li.highlight.hover {
- background-color: rgba(255, 255, 255, .1);
-}
-
-#git-graph-container .ui.buttons button#flow-color-monochrome.ui.button {
- border-left-color: rgb(76, 80, 92);
- border-left-style: solid;
- border-left-width: 1px;
-}
-
.mermaid-chart {
filter: invert(84%) hue-rotate(180deg);
}