zelk12's picture
Upload 62 files
497ff7d verified
Raw History Blame Contribute Delete
1.42 kB
@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));
@layer base {
html,
body {
@apply bg-stone-100 text-stone-900 dark:bg-stone-950 dark:text-stone-100 antialiased;
}
body {
font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
code,
pre,
kbd {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]) {
cursor: pointer;
}
}
/* Reserve dedicated space for scrollbars so they never overlap list items, buttons, or borders */
@supports (scrollbar-gutter: stable) {
[class*="overflow-y-auto"],
[class*="overflow-auto"] {
scrollbar-gutter: stable;
}
}
/* Consistent thin scrollbars */
* {
scrollbar-width: thin;
scrollbar-color: rgba(168, 162, 158, 0.45) transparent;
}
.dark * {
scrollbar-color: rgba(120, 113, 108, 0.5) transparent;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(168, 162, 158, 0.42);
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(120, 113, 108, 0.7);
}
.dark ::-webkit-scrollbar-thumb {
background: rgba(120, 113, 108, 0.48);
}
.dark ::-webkit-scrollbar-thumb:hover {
background: rgba(168, 162, 158, 0.72);
}