Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix(web-app): make scrollbars follow the light and dark themes (#9617)

Hichem64aa04c7c4ee
diff --git a/web-app/src/index.css b/web-app/src/index.css
index c8242dd52..8d6f17d07 100644
--- a/web-app/src/index.css
+++ b/web-app/src/index.css
@@ -128,6 +128,7 @@
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
+ color-scheme: light;
}
.dark {
@@ -162,6 +163,7 @@
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.556 0 0);
+ color-scheme: dark;
}
@layer base {
@@ -265,4 +267,4 @@
[data-streamdown="code-block-header"] {
padding: 6px 16px !important;
}
-}
\ No newline at end of file
+}