// ============================================================================= // Styles specific to HomePage — colocated next to HomePage.tsx since nothing // else uses these classes. // ============================================================================= // No `@use` of the theme partial needed here: every design token below is a // CSS custom property (--color-*, --space-*...) declared once on :root in // styles/global.scss and available globally at runtime — not a Sass-level // variable/mixin that would require an explicit compile-time import. // Full-viewport centering wrapper, mirroring .auth-page's layout so the app // doesn't visually jump between the login/signup screens and the home page. .home-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--space-md); background: var(--color-background); } // The greeting itself sits on its own surface, same treatment as the auth // card, so the two screens read as one coherent app rather than two. .home-card { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); padding: var(--space-xl); background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-md); text-align: center; p { color: var(--color-text-muted); font-size: var(--font-size-md); } button { padding: 0.6rem var(--space-lg); font-family: var(--font-body); font-size: var(--font-size-base); font-weight: 600; cursor: pointer; border-radius: var(--radius-base); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); &:hover { background: var(--color-surface-alt); } } }