File tree Expand file tree Collapse file tree 6 files changed +6369
-143
lines changed
Expand file tree Collapse file tree 6 files changed +6369
-143
lines changed Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments