diff --git a/app/globals.css b/app/globals.css index b66ace5..8bbb406 100644 --- a/app/globals.css +++ b/app/globals.css @@ -42,38 +42,52 @@ --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); + + /* Brand Theme Parameters */ + --color-brand-primary: var(--brand-primary); + --color-brand-primary-hover: var(--brand-primary-hover); + --color-brand-secondary: var(--brand-secondary); + --color-brand-bg: var(--brand-bg); + --color-brand-surface: var(--brand-surface); + --color-brand-surface-light: var(--brand-surface-light); + --color-brand-accent: var(--brand-accent); + --color-brand-live: var(--brand-live); } :root { --radius: 0rem; - /* HarifSport orange theme colors */ - --background: #121212; + + /* Brand Colors (Black, Yellow, White theme) */ + --brand-primary: #ff9800; + --brand-primary-hover: #e68900; + --brand-secondary: #ff9800; + /* Usually same as primary for now */ + --brand-bg: #121212; + --brand-surface: #1a1a1a; + --brand-surface-light: #2a2a2a; + --brand-accent: #852222; + /* Maroon */ + --brand-live: #ff3b3b; + + /* Shadcn default mappings */ + --background: var(--brand-bg); --foreground: #ffffff; --card: #1e1e1e; --card-foreground: #ffffff; --popover: #1e1e1e; --popover-foreground: #ffffff; - --primary: #ff9800; + --primary: var(--brand-primary); --primary-foreground: #ffffff; --secondary: #222222; --secondary-foreground: #a0a0a0; --muted: #1a1a1a; --muted-foreground: #808080; - --accent: #ff9800; + --accent: var(--brand-primary); --accent-foreground: #121212; --destructive: #ef4444; --border: #2a2a2a; --input: #222222; - --ring: #ff9800; - - /* HarifSport specific */ - --hs-orange: #ff9800; - --hs-maroon: #852222; - --hs-dark-grey: #1a1a1a; - --hs-odds-bg: #2a2a2a; - --hs-odds-text: #ff9800; - --hs-header-bg: #121212; - --hs-live-red: #ff3b3b; + --ring: var(--brand-primary); } .dark { @@ -169,6 +183,31 @@ animation: fade-in 0.18s ease-out both; } +/* Mobile drawer slide-in from left */ +@keyframes slide-in-left { + from { + transform: translateX(-100%); + } + + to { + transform: translateX(0); + } +} + +.animate-slide-in-left { + animation: slide-in-left 0.22s ease-out both; +} + +/* Hide scrollbar for mobile nav */ +.scrollbar-none { + -ms-overflow-style: none; + scrollbar-width: none; +} + +.scrollbar-none::-webkit-scrollbar { + display: none; +} + /* Scrollbar */ ::-webkit-scrollbar { width: 4px; diff --git a/components/layout/auth-modal.tsx b/components/layout/auth-modal.tsx index cdc71f5..083fa0c 100644 --- a/components/layout/auth-modal.tsx +++ b/components/layout/auth-modal.tsx @@ -15,13 +15,13 @@ function Logo() { ))} {/* HARIF box */} -