supermemory/apps/web/src/app/globals.css
2024-04-02 17:33:26 +00:00

41 lines
798 B
CSS

@import "@radix-ui/colors/gray";
@import "@radix-ui/colors/gray-dark";
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}
body {
@apply bg-rgray-2 text-rgray-11 max-h-screen overflow-y-hidden;
/* color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb)); */
}
[vaul-drawer-wrapper] {
@apply bg-rgray-2;
}
@layer utilities {
.text-balance {
text-wrap: balance;
}
}