Files
IdP/apps/docs/app/globals.css
2026-07-01 23:27:48 +03:00

72 lines
1.2 KiB
CSS

@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));
:root {
--background: #ffffff;
--foreground: #09090b;
--muted: #f4f4f5;
--border: #e4e4e7;
}
.dark {
--background: #09090b;
--foreground: #fafafa;
--muted: #18181b;
--border: #27272a;
}
@theme inline {
--font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
--font-mono: var(--font-geist-mono), ui-monospace, monospace;
}
body {
margin: 0;
background: var(--background);
color: var(--foreground);
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
scrollbar-width: thin;
scrollbar-color: rgb(168 173 188 / 55%) transparent;
}
* {
scrollbar-width: thin;
scrollbar-color: rgb(168 173 188 / 55%) transparent;
}
*::-webkit-scrollbar {
width: 6px;
height: 6px;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background: rgb(168 173 188 / 45%);
border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
background: rgb(102 112 133 / 65%);
}
a {
text-decoration: none;
}
::selection {
background: rgb(24 24 27 / 0.15);
}
.dark ::selection {
background: rgb(250 250 250 / 0.15);
}
.prose-docs h2 {
scroll-margin-top: 5rem;
}