@import "tailwindcss"; @import "tw-animate-css"; @custom-variant dark (&:is(.dark *)); @theme { --radius-sm: 0.25rem; --radius-md: 0.375rem; --radius-lg: 0.5rem; --radius-xl: 0.75rem; } @layer base { :root { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.5; font-weight: 400; color-scheme: dark; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { height: 100%; width: 100%; } body { height: 100%; width: 100%; overflow: hidden; background-color: #09090b; color: #fafafa; } #root { height: 100%; width: 100%; display: flex; flex-direction: column; } /* Scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #52525b; } /* Focus */ :focus { outline: none; } :focus-visible { outline: 1px solid #52525b; outline-offset: 2px; } /* Selection */ ::selection { background: #3f3f46; color: #fafafa; } /* Number input */ input[type="number"] { -moz-appearance: textfield; } input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } /* Base input styling */ input, button, select, textarea { font-family: inherit; font-size: inherit; } } @layer utilities { .animate-spin { animation: spin 1s linear infinite; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } }