Skip to content

The Unified and Autonomous Development Platform

feat: Improve dark mode scrollbar visibility

Robin Shenab1505f4b080
diff --git a/server-core/src/main/java/io/onedev/server/web/page/base/base.css b/server-core/src/main/java/io/onedev/server/web/page/base/base.css
index 4c9a87d03e..d3106a80c8 100644
--- a/server-core/src/main/java/io/onedev/server/web/page/base/base.css
+++ b/server-core/src/main/java/io/onedev/server/web/page/base/base.css
@@ -755,7 +755,7 @@ table>thead>tr>th.minimum:last-child, table>tbody>tr>td.minimum:last-child {
}
.dark-mode * {
- scrollbar-color: rgb(51, 52, 75) rgb(37, 38, 55);
+ scrollbar-color: rgb(78, 82, 103) rgb(37, 38, 55);
}
.dark-mode ::-webkit-scrollbar {
@@ -766,7 +766,7 @@ table>thead>tr>th.minimum:last-child, table>tbody>tr>td.minimum:last-child {
background-color: rgb(37, 38, 55);
}
.dark-mode ::-webkit-scrollbar-thumb {
- background-color: rgb(51, 52, 75);
+ background-color: rgb(78, 82, 103);
}
.autofit-parent {
@@ -875,4 +875,4 @@ span.keycap {
a.disabled[data-tippy-content] {
pointer-events:auto;
cursor:default;
-}
\ No newline at end of file
+}