Optimized fonts for better legibility

This commit is contained in:
Mehdi Dara 2024-02-11 12:21:38 +03:30
parent 9e88f19219
commit 7358d6a1d9
2 changed files with 12 additions and 1 deletions

View File

@ -2,6 +2,17 @@
@tailwind components;
@tailwind utilities;
@layer base {
:root {
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
scroll-behavior: smooth;
}
}
}
@layer base {
:root {
--sb-track-color: rgb(229 229 229 / 0.5);

View File

@ -37,7 +37,7 @@
</head>
<body
data-sveltekit-preload-data="hover"
class="min-h-screen bg-white font-sans text-mini dark:bg-dark dark:text-white antialiased selection:bg-neutral-200 dark:selection:bg-neutral-700"
class="min-h-screen bg-white font-sans text-mini dark:bg-dark dark:text-white selection:bg-neutral-200 dark:selection:bg-neutral-700"
>
<div>%sveltekit.body%</div>
</body>