RESTfulMC/Frontend/src/app/globals.css

79 lines
1.6 KiB
CSS
Raw Normal View History

2024-04-15 13:16:08 -07:00
@tailwind base;
@tailwind components;
2024-04-15 15:00:47 -07:00
@tailwind utilities;
@layer base {
2024-04-17 16:04:15 -07:00
:root {
--background: 30 5% 9%;
--foreground: 0 0% 98%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--card: 240 10% 3.9%;
--card-foreground: 0 0% 98%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--popover: 240 10% 3.9%;
--popover-foreground: 0 0% 98%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--primary: 0 0% 98%;
--primary-foreground: 240 5.9% 10%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--secondary: 240 3.7% 15.9%;
--secondary-foreground: 0 0% 98%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--muted: 20 4% 14%;
--muted-foreground: 240 5% 64.9%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--accent: 240 3.7% 15.9%;
--accent-foreground: 0 0% 98%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--border: 240 3.7% 15.9%;
--input: 240 3.7% 15.9%;
--ring: 240 4.9% 83.9%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
--radius: 0.5rem;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
/* Navbar */
--navbar-background: 0 0% 7%;
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
/* Minecraft Colors (Dark -> Light) */
--minecraft-green-1: 108 56% 25%;
--minecraft-green-2: 107 55% 34%;
--minecraft-green-3: 104 51% 43%;
--minecraft-green-4: 103 50% 53%;
}
2024-04-15 15:00:47 -07:00
}
@layer base {
2024-04-17 16:04:15 -07:00
* {
@apply border-border;
2024-04-16 04:48:42 -07:00
2024-04-17 16:04:15 -07:00
/* Scrollbar (Firefox) */
scrollbar-color: hsl(var(--minecraft-green-2)) hsl(var(--background));
}
2024-04-15 15:00:47 -07:00
2024-04-17 16:04:15 -07:00
body {
@apply bg-background text-foreground;
}
2024-04-15 15:00:47 -07:00
}
2024-04-16 04:48:42 -07:00
/* Scrollbar (Chrome & Safari) */
@layer base {
2024-04-17 16:04:15 -07:00
::-webkit-scrollbar {
@apply w-1.5;
}
2024-04-16 04:48:42 -07:00
2024-04-17 16:04:15 -07:00
::-webkit-scrollbar-track {
@apply bg-inherit;
}
2024-04-16 04:48:42 -07:00
2024-04-17 16:04:15 -07:00
::-webkit-scrollbar-thumb {
@apply bg-minecraft-green-2 rounded-3xl;
}
2024-04-16 04:48:42 -07:00
2024-04-17 16:04:15 -07:00
::-webkit-scrollbar-thumb:hover {
@apply bg-opacity-80;
}
2024-04-16 04:48:42 -07:00
}