Jikkii commited on
Commit
d2ab9f5
·
1 Parent(s): d9b4284
Files changed (2) hide show
  1. index.html +1 -1
  2. style.css +9 -1
index.html CHANGED
@@ -170,7 +170,7 @@
170
  window.matchMedia &&
171
  window.matchMedia("(prefers-color-scheme: dark)").matches
172
  ) {
173
- document.documentElement.classList.add("dark");
174
  }
175
  }
176
  };
 
170
  window.matchMedia &&
171
  window.matchMedia("(prefers-color-scheme: dark)").matches
172
  ) {
173
+ document.documentElement.classList.add("light");
174
  }
175
  }
176
  };
style.css CHANGED
@@ -59,6 +59,10 @@ p {
59
  background: linear-gradient(rgb(17 24 39 / var(--tw-bg-opacity, 1)) 0%, #e5e7eb 50%, #e5e7eb 100%);
60
  }
61
 
 
 
 
 
62
  /* Commit node styling */
63
  .commit-node {
64
  position: absolute;
@@ -66,7 +70,7 @@ p {
66
  transform: translateX(4px);
67
  width: 12px;
68
  height: 12px;
69
- background-color: #e5e7eb; /* Blue circle */
70
  border-radius: 50%;
71
  cursor: pointer;
72
  z-index: 1;
@@ -74,6 +78,10 @@ p {
74
  flex-direction: row;
75
  }
76
 
 
 
 
 
77
  .outer_svg {
78
 
79
  }
 
59
  background: linear-gradient(rgb(17 24 39 / var(--tw-bg-opacity, 1)) 0%, #e5e7eb 50%, #e5e7eb 100%);
60
  }
61
 
62
+ .light .commit-tree::before {
63
+ background: linear-gradient(#e5e7eb 0%, #e5e7eb 50%, #616877 100%);
64
+ }
65
+
66
  /* Commit node styling */
67
  .commit-node {
68
  position: absolute;
 
70
  transform: translateX(4px);
71
  width: 12px;
72
  height: 12px;
73
+ background-color: #e5e7eb;
74
  border-radius: 50%;
75
  cursor: pointer;
76
  z-index: 1;
 
78
  flex-direction: row;
79
  }
80
 
81
+ .light .commit-node{
82
+ background-color: #616877;
83
+ }
84
+
85
  .outer_svg {
86
 
87
  }