@catalystsoftware/ui 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/README.md +7 -0
  2. package/components/catalyst-ui/buttons/burger.tsx +207 -0
  3. package/components/catalyst-ui/core/data-display/timeline.tsx +210 -0
  4. package/components/catalyst-ui/core/feedback/alert.tsx +491 -0
  5. package/components/catalyst-ui/core/feedback/spinner-1.tsx +65 -0
  6. package/components/catalyst-ui/core/feedback/toast.tsx +1857 -0
  7. package/components/catalyst-ui/core/navigation/menu.tsx +164 -0
  8. package/components/catalyst-ui/forms/toggle-class.tsx +176 -0
  9. package/components/catalyst-ui/hooks/use-copy-to-clipboard.tsx +419 -0
  10. package/components/catalyst-ui/hooks/use-counter.tsx +13 -0
  11. package/components/catalyst-ui/hooks/use-event-listener.tsx +23 -0
  12. package/components/catalyst-ui/hooks/use-export-markdown.tsx +47 -0
  13. package/components/catalyst-ui/hooks/use-focus.tsx +17 -0
  14. package/components/catalyst-ui/hooks/use-interval.tsx +23 -0
  15. package/components/catalyst-ui/hooks/use-is-client.tsx +16 -0
  16. package/components/catalyst-ui/hooks/use-media-query.tsx +19 -0
  17. package/components/catalyst-ui/hooks/use-mobile.tsx +19 -0
  18. package/components/catalyst-ui/hooks/use-resize-observer.tsx +81 -0
  19. package/components/catalyst-ui/hooks/use-timeout.tsx +21 -0
  20. package/components/catalyst-ui/hooks/use-timer.tsx +209 -0
  21. package/components/catalyst-ui/hooks/use-toggle.tsx +12 -0
  22. package/components/catalyst-ui/media/image.tsx +13 -0
  23. package/components/catalyst-ui/overlays/dual-sidebar.tsx +4142 -0
  24. package/components/catalyst-ui/overlays/sidebar-original.tsx +726 -0
  25. package/components/catalyst-ui/primitives/accordion.tsx +250 -0
  26. package/components/catalyst-ui/primitives/alert-dialog.tsx +126 -0
  27. package/components/catalyst-ui/primitives/aspect-ratio.tsx +9 -0
  28. package/components/catalyst-ui/primitives/avatar.tsx +296 -0
  29. package/components/catalyst-ui/primitives/badge.tsx +57 -0
  30. package/components/catalyst-ui/primitives/breadcrumb.tsx +101 -0
  31. package/components/catalyst-ui/primitives/button.tsx +265 -0
  32. package/components/catalyst-ui/primitives/calendar-v4.tsx +208 -0
  33. package/components/catalyst-ui/primitives/calendar.tsx +295 -0
  34. package/components/catalyst-ui/primitives/card.tsx +618 -0
  35. package/components/catalyst-ui/primitives/carousel.tsx +238 -0
  36. package/components/catalyst-ui/primitives/chart.tsx +347 -0
  37. package/components/catalyst-ui/primitives/checkbox.tsx +225 -0
  38. package/components/catalyst-ui/primitives/collapsible.tsx +212 -0
  39. package/components/catalyst-ui/primitives/command.tsx +393 -0
  40. package/components/catalyst-ui/primitives/context-menu.tsx +236 -0
  41. package/components/catalyst-ui/primitives/dialog.tsx +471 -0
  42. package/components/catalyst-ui/primitives/drawer.tsx +761 -0
  43. package/components/catalyst-ui/primitives/dropdown-menu.tsx +290 -0
  44. package/components/catalyst-ui/primitives/empty.tsx +104 -0
  45. package/components/catalyst-ui/primitives/field.tsx +244 -0
  46. package/components/catalyst-ui/primitives/hover-card.tsx +124 -0
  47. package/components/catalyst-ui/primitives/input-otp.tsx +76 -0
  48. package/components/catalyst-ui/primitives/input.tsx +64 -0
  49. package/components/catalyst-ui/primitives/item.tsx +196 -0
  50. package/components/catalyst-ui/primitives/kbd.tsx +75 -0
  51. package/components/catalyst-ui/primitives/label.tsx +24 -0
  52. package/components/catalyst-ui/primitives/navigation-menu.tsx +150 -0
  53. package/components/catalyst-ui/primitives/pagination.tsx +198 -0
  54. package/components/catalyst-ui/primitives/popover.tsx +232 -0
  55. package/components/catalyst-ui/primitives/progress.tsx +34 -0
  56. package/components/catalyst-ui/primitives/radio-group.tsx +43 -0
  57. package/components/catalyst-ui/primitives/resizable.tsx +56 -0
  58. package/components/catalyst-ui/primitives/select.tsx +155 -0
  59. package/components/catalyst-ui/primitives/separator.tsx +74 -0
  60. package/components/catalyst-ui/primitives/sheet.tsx +126 -0
  61. package/components/catalyst-ui/primitives/skeleton.tsx +15 -0
  62. package/components/catalyst-ui/primitives/slider.tsx +27 -0
  63. package/components/catalyst-ui/primitives/switch.tsx +187 -0
  64. package/components/catalyst-ui/primitives/tabs.tsx +335 -0
  65. package/components/catalyst-ui/primitives/textarea.tsx +24 -0
  66. package/components/catalyst-ui/primitives/toggle-group.tsx +55 -0
  67. package/components/catalyst-ui/primitives/toggle.tsx +42 -0
  68. package/components/catalyst-ui/primitives/tooltip.tsx +116 -0
  69. package/components/catalyst-ui/utils/basic-auth.tsx +40 -0
  70. package/components/catalyst-ui/utils/context-storage.tsx +19 -0
  71. package/components/catalyst-ui/utils/cors-middleware.tsx +71 -0
  72. package/components/catalyst-ui/utils/deferred-content.tsx +595 -0
  73. package/components/catalyst-ui/utils/honeypot-middleware.tsx +38 -0
  74. package/components/catalyst-ui/utils/incId.tsx +75 -0
  75. package/components/catalyst-ui/utils/jwk-auth.tsx +36 -0
  76. package/components/catalyst-ui/utils/request-id.tsx +14 -0
  77. package/components/catalyst-ui/utils/secure-headers.tsx +37 -0
  78. package/components/catalyst-ui/utils/server-timing.tsx +23 -0
  79. package/components/catalyst-ui/utils/utils.ts +43 -0
  80. package/components/catalyst-ui/utils/with-cookie.tsx +43 -0
  81. package/components/catalyst-ui/x/accordian-x.tsx +428 -0
  82. package/components/catalyst-ui/x/alert-x.tsx +413 -0
  83. package/components/catalyst-ui/x/animated-text-x.tsx +2242 -0
  84. package/components/catalyst-ui/x/avatar-x.tsx +515 -0
  85. package/components/catalyst-ui/x/badge-x.tsx +670 -0
  86. package/components/catalyst-ui/x/button-X.tsx +2857 -0
  87. package/components/catalyst-ui/x/button-group-x.tsx +847 -0
  88. package/components/catalyst-ui/x/calendar-x.tsx +1910 -0
  89. package/components/catalyst-ui/x/card-x.tsx +2597 -0
  90. package/components/catalyst-ui/x/checkbox-x.tsx +656 -0
  91. package/components/catalyst-ui/x/collapsible-x.tsx +1360 -0
  92. package/components/catalyst-ui/x/combobox-x.tsx +911 -0
  93. package/components/catalyst-ui/x/data-table-x.tsx +1753 -0
  94. package/components/catalyst-ui/x/date-picker-x.tsx +648 -0
  95. package/components/catalyst-ui/x/dialog-x.tsx +659 -0
  96. package/components/catalyst-ui/x/dropdown-menu-x.tsx +612 -0
  97. package/components/catalyst-ui/x/hover-card-x.tsx +375 -0
  98. package/components/catalyst-ui/x/icon-x.tsx +840 -0
  99. package/components/catalyst-ui/x/input-mask-x.tsx +981 -0
  100. package/components/catalyst-ui/x/input-otp-x.tsx +659 -0
  101. package/components/catalyst-ui/x/loader-x.tsx +1757 -0
  102. package/components/catalyst-ui/x/pagination-x.tsx +622 -0
  103. package/components/catalyst-ui/x/popover-x.tsx +744 -0
  104. package/components/catalyst-ui/x/radio-group-x.tsx +499 -0
  105. package/components/catalyst-ui/x/select-x.tsx +1127 -0
  106. package/components/catalyst-ui/x/sheet-x.tsx +668 -0
  107. package/components/catalyst-ui/x/switch-x.tsx +681 -0
  108. package/components/catalyst-ui/x/table-x.tsx +574 -0
  109. package/components/catalyst-ui/x/tabs-x.tsx +839 -0
  110. package/components/catalyst-ui/x/textarea-x.tsx +1263 -0
  111. package/components/catalyst-ui/x/tooltip-x.tsx +396 -0
  112. package/components/catalyst-ui/x/tracker-x.tsx +560 -0
  113. package/data/bg-data.tsx +901 -0
  114. package/data/buttons-data.tsx +2327 -0
  115. package/data/charts-data.tsx +102 -0
  116. package/data/chat-data.tsx +83 -0
  117. package/data/code-data.tsx +1040 -0
  118. package/data/comboboxes-data.tsx +1843 -0
  119. package/data/command-data.tsx +1381 -0
  120. package/data/core-data.tsx +15953 -0
  121. package/data/crm-data.tsx +47 -0
  122. package/data/data.tsx +159 -0
  123. package/data/date-and-time-data.tsx +554 -0
  124. package/data/dependencies.tsx +7 -0
  125. package/data/ecommerce-data.tsx +1387 -0
  126. package/data/forms-data.tsx +7890 -0
  127. package/data/hooks-data.tsx +5487 -0
  128. package/data/index.ts +34 -0
  129. package/data/inputs-data.tsx +557 -0
  130. package/data/interactive-data.tsx +5394 -0
  131. package/data/lofi-data.tsx +18295 -0
  132. package/data/marketing-data.tsx +2546 -0
  133. package/data/media-data.tsx +1510 -0
  134. package/data/motion-data.tsx +5801 -0
  135. package/data/overlay-data.tsx +4136 -0
  136. package/data/pdf-data.tsx +124 -0
  137. package/data/pos-data.tsx +213 -0
  138. package/data/postcss.config.js +6 -0
  139. package/data/primitive-data.tsx +5170 -0
  140. package/data/prompt-data.tsx +1226 -0
  141. package/data/requiredLibs.ts +4 -0
  142. package/data/sandbox-data.tsx +1 -0
  143. package/data/sidebars-data.tsx +5421 -0
  144. package/data/stacks-data.tsx +32 -0
  145. package/data/table-data.tsx +706 -0
  146. package/data/tailwind.config.js +3830 -0
  147. package/data/tailwind.config.ngin.js +3830 -0
  148. package/data/tailwind.css +431 -0
  149. package/data/tools-data.tsx +6910 -0
  150. package/data/typography-data.tsx +2050 -0
  151. package/data/utils-data.tsx +6500 -0
  152. package/data/x-data.tsx +1171 -0
  153. package/dist/index.d.ts +3 -0
  154. package/dist/index.d.ts.map +1 -0
  155. package/dist/index.js +30245 -0
  156. package/dist/index.js.map +362 -0
  157. package/package.json +50 -0
@@ -0,0 +1,431 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ :root {
7
+ --background: 223, 84%, 5%;
8
+ --foreground: 0, 0%, 98%;
9
+ --card: 223, 84%, 5%;
10
+ --card-foreground: 0, 0%, 98%;
11
+ --popover: 223, 84%, 5%;
12
+ --popover-foreground: 223, 84%, 5%;
13
+ --primary: 217, 91%, 60%;
14
+ --primary-foreground:223, 84%, 5%;
15
+ --secondary: 215 25% 27%;
16
+ --secondary-foreground: 223, 84%, 5%;
17
+ --muted: 215 25% 27%;
18
+ --muted-foreground: 215 16% 47%;
19
+ --accent: 215 25% 27%;
20
+ --accent-foreground: 223, 84%, 5%;
21
+ --destructive: 0 63% 31%;
22
+ --destructive-foreground: 223, 84%, 5%;
23
+ --success: 166 54% 47%;
24
+ --success-foreground: 223, 84%, 5%;
25
+ --warning: 40 77% 49%;
26
+ --warning-foreground: 223, 84%, 5%;
27
+ --border: 215 25% 27%;
28
+ --input: 215 25% 27%;
29
+ --ring: 221 83% 53%;
30
+ --radius: 0.5rem;
31
+ --chart-1: 220 70% 50%;
32
+ --chart-2: 160 60% 45%;
33
+ --chart-3: 30 80% 55%;
34
+ --chart-4: 280 65% 60%;
35
+ --chart-5: 340 75% 55%;
36
+ --sidebar: 221 39% 11%;
37
+ --sidebar-foreground: 220 20% 95%;
38
+ --sidebar-muted-foreground: 220 20% 95%;
39
+ --sidebar-primary: 217 91% 60%;
40
+ --sidebar-primary-foreground: 220 20% 98%;
41
+ --sidebar-accent: 220 30% 20%;
42
+ --sidebar-accent-foreground: 220 20% 95%;
43
+ --sidebar-border: 220 20% 25%;
44
+ --sidebar-ring: 217 91% 60%;
45
+ --special: 227 21% 8%;
46
+ --special-muted-background: 240 10% 4%;
47
+ --special-border: 240 4% 16%;
48
+ --special-foreground: 240 5% 84%;
49
+ --special-muted-foreground: 240 4% 46%;
50
+
51
+
52
+
53
+ --background: 0 0% 3.9%;
54
+ --foreground: 0 0% 98%;
55
+
56
+ --card: 0 0% 3.9%;
57
+ --card-foreground: 0 0% 98%;
58
+
59
+ --popover: 0 0% 3.9%;
60
+ --popover-foreground: 0 0% 98%;
61
+
62
+ --primary: 0 0% 98%;
63
+ --primary-foreground: 0 0% 9%;
64
+
65
+ --secondary: 0 0% 14.9%;
66
+ --secondary-foreground: 0 0% 98%;
67
+
68
+ --muted: 0 0% 14.9%;
69
+ --muted-foreground: 0 0% 63.9%;
70
+
71
+ --accent: 0 0% 14.9%;
72
+ --accent-foreground: 0 0% 98%;
73
+
74
+ --destructive: 0 62.8% 30.6%;
75
+ --destructive-foreground: 0 0% 98%;
76
+
77
+ --border: 0 0% 14.9%;
78
+ --input: 0 0% 14.9%;
79
+ --ring: 0 0% 83.1%;
80
+
81
+ --chart-1: 220 70% 50%;
82
+ --chart-2: 160 60% 45%;
83
+ --chart-3: 30 80% 55%;
84
+ --chart-4: 280 65% 60%;
85
+ --chart-5: 340 75% 55%;
86
+ --sidebar: 0 0% 9%;
87
+ --sidebar-foreground: 0 0% 98%;
88
+ --sidebar-primary: 0 0% 98%;
89
+ --sidebar-primary-foreground:0 0% 9%;
90
+ --sidebar-accent: 0 0% 14.9%;
91
+ --sidebar-accent-foreground: 0 0% 98%;
92
+ --sidebar-border: 0 0% 14.9%;
93
+ --sidebar-ring: 0 0% 83.1%;
94
+ }
95
+ }
96
+
97
+ @layer base {
98
+ * {
99
+ @apply border-border;
100
+ }
101
+
102
+ body {
103
+ @apply bg-background text-foreground;
104
+ }
105
+ }
106
+
107
+ @keyframes glimmer {
108
+ 0% {
109
+ opacity: 0.1;
110
+ }
111
+
112
+ 50% {
113
+ opacity: 0.6;
114
+ }
115
+
116
+ 100% {
117
+ opacity: 0.1;
118
+ }
119
+ }
120
+
121
+ /* #dev */
122
+ .no-select {
123
+ -webkit-user-select: none;
124
+ /* Safari */
125
+ -moz-user-select: none;
126
+ /* Firefox */
127
+ -ms-user-select: none;
128
+ /* IE10+/Edge */
129
+ user-select: none;
130
+ /* Standard */
131
+ }
132
+ /* #enddev */
133
+ /* Allow text selection only when not dragging */
134
+ .carousel-container {
135
+ user-select: none;
136
+ }
137
+
138
+ .carousel-container:active {
139
+ user-select: none;
140
+ }
141
+
142
+
143
+ /* Mimic Quill's button states */
144
+ .toolbar-button {
145
+ transition: #020817 0.2s;
146
+ }
147
+
148
+ .toolbar-button:active {
149
+ background-color: hsl(var(--background));
150
+ /*#020817;*/
151
+ color: hsl(var(--primary));
152
+ }
153
+
154
+ /* Quill-like active state for format buttons */
155
+ .format-active {
156
+ background-color: hsl(var(--background));
157
+ color: hsl(var(--foreground));
158
+ /*#ffffff;*/
159
+ }
160
+
161
+ /* app/styles/markdown.css */
162
+ .markdown-preview {
163
+ color: hsl(var(--foreground));
164
+ /* Uses your CSS variable */
165
+ }
166
+
167
+ /* Specific element styling */
168
+ .markdown-preview h1,
169
+ .markdown-preview h2,
170
+ .markdown-preview h3 {
171
+ color: hsl(var(--primary));
172
+ /* Headings use primary color */
173
+ }
174
+
175
+ .markdown-preview a {
176
+ color: hsl(var(--primary));
177
+ /* Links use primary color */
178
+ text-decoration: underline;
179
+ }
180
+
181
+ .markdown-preview code {
182
+ background-color: hsl(var(--muted));
183
+ color: hsl(var(--primary));
184
+ padding: 0.2rem 0.4rem;
185
+ border-radius: 0.25rem;
186
+ }
187
+
188
+ .markdown-preview pre {
189
+ background-color: hsl(var(--muted));
190
+ padding: 1rem;
191
+ border-radius: 0.5rem;
192
+ overflow-x: auto;
193
+ }
194
+
195
+ /* Mermaid diagram sizing */
196
+ .mermaid-react {
197
+ margin: 1rem 0;
198
+ min-height: 200px;
199
+ background: hsl(var(--background));
200
+ border-radius: 0.5rem;
201
+ padding: 1rem;
202
+ }
203
+
204
+ /* Math equation styling */
205
+ .katex {
206
+ font-size: 1.1em;
207
+ padding: 0.5rem 0;
208
+ }
209
+
210
+ /* Dark mode support */
211
+ .dark .mermaid-react {
212
+ background: hsl(var(--background));
213
+ }
214
+
215
+ /* Focus Mode Styling */
216
+ .dimmed-line {
217
+ opacity: 0.5;
218
+ transition: opacity 0.2s ease;
219
+ }
220
+
221
+ .focused-line {
222
+ opacity: 1;
223
+ }
224
+
225
+ /* Typewriter Mode Styling */
226
+ [data-typewriter-mode] {
227
+ scroll-padding: 50vh;
228
+ /* Keeps active line centered */
229
+ }
230
+
231
+
232
+ .ToolbarPlugin__dialogActions {
233
+ display: flex;
234
+ flex-direction: row;
235
+ justify-content: right;
236
+ margin-top: 20px;
237
+ }
238
+
239
+ .ToolbarPlugin__dialogButtonsList {
240
+ display: flex;
241
+ flex-direction: column;
242
+ justify-content: right;
243
+ margin-top: 20px;
244
+ }
245
+
246
+ .ToolbarPlugin__dialogButtonsList button {
247
+ margin-bottom: 20px;
248
+ }
249
+
250
+
251
+ html {
252
+ scroll-behavior: smooth;
253
+ }
254
+
255
+ /* Section styling */
256
+ [data-observe-section] {
257
+ scroll-margin-top: 100px;
258
+ /* Account for fixed header */
259
+ }
260
+
261
+ /* In your global CSS file */
262
+ .recharts-line path,
263
+ .recharts-bar-rectangle {
264
+ stroke: hsl(var(--primary)) !important;
265
+ /* For line charts */
266
+ fill: hsl(var(--primary)) !important;
267
+ /* For bar charts */
268
+ }
269
+
270
+ /* For tooltips/legends */
271
+ .recharts-tooltip,
272
+ .recharts-legend-item {
273
+ color: var(--primary) !important;
274
+ }
275
+
276
+ .focus-mode-active {
277
+ background: #f5f5f5;
278
+ padding: 20px;
279
+ border-radius: 4px;
280
+ box-shadow: 0 0 0 2px #007bff;
281
+ }
282
+
283
+ /* THESE ARE THE EXACT SELECTORS LEXICAL USES NOW */
284
+ .table-cell {
285
+ width: 100%;
286
+ border: 1px solid var(--border);
287
+ }
288
+
289
+ table.EditorTheme__table td,
290
+ table.EditorTheme__table th {
291
+ border: 1px solid var(--border) !important;
292
+ padding: 8px;
293
+ min-width: 75px;
294
+ }
295
+
296
+ table.EditorTheme__table th {
297
+ background: var(--muted);
298
+ font-weight: bold;
299
+ }
300
+
301
+ /* Add this to your global CSS or component-scoped styles */
302
+ .prose :where(h4):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
303
+ color: hsl(var(--primary));
304
+ /* Use your CSS variable */
305
+ border-bottom: 1px solid hsl(var(--border));
306
+ padding-bottom: 0.5rem;
307
+ margin-top: 1rem;
308
+ margin-bottom: 1.25rem;
309
+ font-weight: 700;
310
+ /* More bold than original */
311
+ font-size: 1.25rem;
312
+ /* Maintain existing size */
313
+ }
314
+
315
+ /* Checked state */
316
+ .prose :where(input[type="checkbox"]:checked):not(:where([class~="not-prose"] *)) {
317
+ background-color: hsl(var(--primary));
318
+ border-color: hsl(var(--primary));
319
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
320
+ background-position: center;
321
+ background-repeat: no-repeat;
322
+ background-size: 0.75em;
323
+ }
324
+
325
+ /* Disabled AND checked */
326
+ .prose :where(input[type="checkbox"]:checked:disabled):not(:where([class~="not-prose"] *)) {
327
+ background-color: hsl(var(--primary));
328
+ border-color: hsl(var(--border));
329
+ }
330
+
331
+ /* Table header cells */
332
+ .prose :where(thead th):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
333
+ color: hsl(var(--primary));
334
+ /* Using your primary color variable */
335
+ background-color: hsl(var(--muted)/0.5);
336
+ /* Semi-transparent muted bg */
337
+ font-weight: 600;
338
+ vertical-align: bottom;
339
+ padding: 0.5714286em;
340
+ border-bottom: 2px solid hsl(var(--border));
341
+ }
342
+
343
+ .move-mode-active {
344
+ transition: all 0.2s ease;
345
+ }
346
+
347
+ .move-mode-active .item {
348
+ cursor: grabbing !important;
349
+ }
350
+
351
+ .move-mode-active .item:hover {
352
+ background-color: rgba(59, 130, 246, 0.1);
353
+ }
354
+
355
+
356
+ .theme-overlay {
357
+ z-index: 2147483643 !important;
358
+ position: fixed !important;
359
+ top: 0 !important;
360
+ left: 0 !important;
361
+ width: 100vw !important;
362
+ height: 100vh !important;
363
+ background: rgba(0, 0, 0, 0.6) !important;
364
+ }
365
+
366
+ .theme-container {
367
+ z-index: 2147483644 !important;
368
+ }
369
+
370
+ .theme-buttons {
371
+ z-index: 2147483646 !important;
372
+ }
373
+
374
+ .theme-flying-theme {
375
+ z-index: 2147483647 !important;
376
+ }
377
+
378
+ .theme-main-button {
379
+ z-index: 2147483645 !important;
380
+ }
381
+
382
+
383
+
384
+
385
+
386
+ /* scroll bar */
387
+ ::-webkit-scrollbar {
388
+ width: 10px;
389
+ height: 10px;
390
+ }
391
+
392
+ ::-webkit-scrollbar-track {
393
+ background-color: hsl(var(--muted));
394
+ border-radius: 0.25rem;
395
+
396
+ }
397
+
398
+ ::-webkit-scrollbar-thumb {
399
+ background-color: hsl(var(--primary) / 0.3);
400
+ border-radius: 0.25rem;
401
+ }
402
+
403
+ ::-webkit-scrollbar-thumb:hover {
404
+ background-color: hsl(var(--primary));
405
+ }
406
+
407
+ /* scroll bar - hidden by default */
408
+ .scrollbar-hide::-webkit-scrollbar {
409
+ width: 0px;
410
+ height: 0px;
411
+ }
412
+
413
+ /* scroll bar - shown on hover */
414
+ .scrollbar-show::-webkit-scrollbar {
415
+ width: 10px;
416
+ height: 10px;
417
+ }
418
+
419
+ .scrollbar-show::-webkit-scrollbar-track {
420
+ background-color: hsl(var(--muted));
421
+ border-radius: 0.25rem;
422
+ }
423
+
424
+ .scrollbar-show::-webkit-scrollbar-thumb {
425
+ background-color: hsl(var(--primary) / 0.3);
426
+ border-radius: 0.25rem;
427
+ }
428
+
429
+ .scrollbar-show::-webkit-scrollbar-thumb:hover {
430
+ background-color: hsl(var(--primary));
431
+ }