changing colors
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index 07792cc..975f277 100644 (file)
@@ -55,12 +55,11 @@ a { outline: none; }
   --link-visited: #e7b788;
   --border: 34,40,49,0.035;
   --accent: #FD7014;
-  ---svg-color: red;
-  --file-icon: url("static/file.svg");
-  --dir-icon: url("static/folder.svg");
-  --ref-icon: url("static/commit.svg");
-  --tag-icon: url("static/tag.svg");
-  --branch-icon: url("static/merge.svg");
+  --file-icon: url("file-dark.svg");
+  --dir-icon: url("folder-dark.svg");
+  --ref-icon: url("commit-dark.svg");
+  --tag-icon: url("tag-dark.svg");
+  --branch-icon: url("merge-dark.svg");
 }
 @media screen and (prefers-color-scheme: dark) {
   :root {
@@ -68,7 +67,11 @@ a { outline: none; }
     --bg-alt: #222831;
     --fg: #D8D9CF;
     --border: 216,217,207,0.2;
-    --svg-color: teal;
+  --file-icon: url("file.svg");
+  --dir-icon: url("folder.svg");
+  --ref-icon: url("commit.svg");
+  --tag-icon: url("tag.svg");
+  --branch-icon: url("merge.svg");
   }
 }
 
@@ -111,7 +114,7 @@ a:hover {
 }
 
 td.list a[href*='tree'], td.list a[href*='blob'] {
-  padding-left: 20px;
+  padding-left: 40px;
   display: block;
   float: left;
   height: 32px;
@@ -142,7 +145,7 @@ td, th {
 
 #generating_info {
   font-size: 10px;
-  color: #aaa;
+  color: var(--fg);
   text-align: center;
 }
 
@@ -536,8 +539,8 @@ span.refs span {
   color: #707070;
   display: inline-block;
   margin: 0;
-  background-color: #eee;
-  border: 1px solid #ccc;
+  background-color: var(--bg);
+  border: 1px solid var(--border);
   border-radius: 3px;
   height: 18px;
   padding: 0 6px;
@@ -548,8 +551,8 @@ span.refs span.ref {
   color: #707070;
   display: inline-block;
   margin: 0;
-  background-color: #c4c4ff;
-  border: 1px solid #7878ff;
+  background-color: var(--bg-alt);
+  border: 1px solid var(--link);
   border-radius: 3px;
   height: 18px;
   padding: 0 6px;