Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update global styles

Dillion Verma56f0273d627e
diff --git a/styles/globals.css b/styles/globals.css
index 40832922..68997f8c 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -85,16 +85,29 @@
* {
@apply border-border;
}
-
html {
- scroll-behavior: smooth;
+ @apply scroll-smooth;
}
body {
- @apply bg-background text-foreground;
- font-feature-settings:
- "rlig" 1,
- "calt" 1;
+ @apply bg-background text-foreground overscroll-none;
+ font-synthesis-weight: none;
+ text-rendering: optimizeLegibility;
+ }
+
+ ::-webkit-scrollbar {
+ width: 5px;
+ }
+ ::-webkit-scrollbar-track {
+ background: transparent;
+ }
+ ::-webkit-scrollbar-thumb {
+ background: hsl(var(--border));
+ border-radius: 5px;
+ }
+ * {
+ scrollbar-width: thin;
+ scrollbar-color: hsl(var(--border)) transparent;
}
}