Skip to content

Commit 0f70675

Browse files
authored
feat: New UI design, update thread, thread-list, and css (#3)
Matches new template design in assistant-cloud-starter
1 parent 40637ec commit 0f70675

File tree

6 files changed

+6369
-143
lines changed

6 files changed

+6369
-143
lines changed

app/globals.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,43 @@
116116
* {
117117
@apply border-border outline-ring/50;
118118
}
119+
120+
:root {
121+
color-scheme: light;
122+
}
123+
124+
:root.dark {
125+
color-scheme: dark;
126+
}
127+
119128
body {
120129
@apply bg-background text-foreground;
121130
}
131+
132+
/* Scrollbar styling */
133+
::-webkit-scrollbar {
134+
width: 12px;
135+
}
136+
137+
::-webkit-scrollbar-thumb {
138+
@apply bg-muted-foreground/20;
139+
border-radius: 6px;
140+
border: 2px solid transparent;
141+
background-clip: padding-box;
142+
}
143+
144+
::-webkit-scrollbar-thumb:hover {
145+
@apply bg-muted-foreground/30;
146+
}
147+
148+
/* Firefox only scrollbar styling */
149+
@-moz-document url-prefix() {
150+
* {
151+
scrollbar-color: oklch(0.552 0.016 285.938 / 25%) transparent;
152+
}
153+
154+
.dark * {
155+
scrollbar-color: oklch(0.705 0.015 286.067 / 25%) transparent;
156+
}
157+
}
122158
}

0 commit comments

Comments
 (0)