brackt/app/app.css
Chris Parsons e0cd829b9f Redesign home page with new layout and component system
- Two-column layout (My Leagues 2/3, Upcoming Events 1/3) with mobile stack
- LeagueRow: square avatar, gradient draft highlight, rank/points display, progress bar
- MyLeaguesCard, CreateLeagueCard with shared SectionCardHeader
- UpcomingEventsCard: vertical timeline with grouped multi-league events
- Shared gradient system: BracktGradients SVG defs, GradientIcon wrapper, brand.ts constants
- Button default variant updated to green→cyan gradient
- Navbar: plain nav links with gradient hover, support/admin icon buttons
- Accessibility fixes: semantic h2 headings, aria-label on LeagueAvatar and nav elements
- Storybook stories for all new components

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 19:50:39 -07:00

115 lines
3.4 KiB
CSS

@import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
@theme {
--font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
@theme inline {
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-chart-1: var(--chart-1);
--color-chart-2: var(--chart-2);
--color-chart-3: var(--chart-3);
--color-chart-4: var(--chart-4);
--color-chart-5: var(--chart-5);
--color-sidebar: var(--sidebar);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
--color-electric: var(--electric);
--color-amber-accent: var(--amber-accent);
--color-coral-accent: var(--coral-accent);
}
html {
color-scheme: dark;
font-size: 18px;
}
:root {
--radius: 0.625rem;
--background: #14171e;
--foreground: #ffffff;
--card: #1c1f26;
--card-foreground: #ffffff;
--popover: #1c1f26;
--popover-foreground: #ffffff;
--primary: #adf661;
--primary-foreground: #14171e;
--secondary: #1c1f26;
--secondary-foreground: #ffffff;
--muted: #1c1f26;
--muted-foreground: rgb(255 255 255 / 55%);
--accent: #2ce1c1;
--accent-foreground: #14171e;
--destructive: oklch(0.65 0.22 25);
--border: rgb(255 255 255 / 10%);
--input: rgb(255 255 255 / 12%);
--ring: #adf661;
--chart-1: #adf661;
--chart-2: #2ce1c1;
--chart-3: oklch(0.646 0.222 41.116);
--chart-4: oklch(0.828 0.189 84.429);
--chart-5: oklch(0.769 0.188 70.08);
--sidebar: #1c1f26;
--sidebar-foreground: #ffffff;
--sidebar-primary: #adf661;
--sidebar-primary-foreground: #14171e;
--sidebar-accent: #2ce1c1;
--sidebar-accent-foreground: #14171e;
--sidebar-border: rgb(255 255 255 / 10%);
--sidebar-ring: #adf661;
--electric: #2ce1c1;
--amber-accent: oklch(0.79 0.17 70);
--coral-accent: oklch(0.68 0.19 35);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
.bg-card {
background: #1c1f26;
border-color: #2a2e38 !important;
}
}
/* NProgress theme override */
#nprogress .bar {
background: var(--electric) !important;
height: 3px !important;
}
#nprogress .peg {
box-shadow: 0 0 10px var(--electric), 0 0 5px var(--electric) !important;
}