web / frontend /src /index.css
Chandima Prabhath
Track bun.lockb with Git LFS
cc2caf9
raw
history blame
2.73 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
/* Base shadcn colors */
--background: 0 0% 9%;
--foreground: 0 0% 98%;
--card: 0 0% 9%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 9%;
--popover-foreground: 0 0% 98%;
--primary: 0 100% 48%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 43%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 15%;
--muted-foreground: 0 0% 65%;
--accent: 0 0% 15%;
--accent-foreground: 0 0% 98%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 19%;
--input: 0 0% 19%;
--ring: 0 0% 83%;
--radius: 0.5rem;
/* Netflix-inspired theme */
--theme-primary: #E50914;
--theme-primary-hover: #B81D24;
--theme-primary-light: #F5222D;
--theme-secondary: #6D6D6D;
--theme-background: #141414;
--theme-background-dark: #0A0A0A;
--theme-background-light: #181818;
--theme-surface: #222222;
--theme-text: #FFFFFF;
--theme-text-secondary: #B3B3B3;
--theme-border: #303030;
--theme-divider: #2D2D2D;
--theme-error: #FF574D;
--theme-warning: #FFB01F;
--theme-success: #48BB78;
--theme-info: #38B2AC;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
font-feature-settings: "rlig" 1, "calt" 1;
}
}
@layer components {
.content-container {
@apply px-4 md:px-8 max-w-7xl mx-auto;
}
.section-padding {
@apply py-6 md:py-12;
}
.btn-primary {
@apply bg-theme-primary hover:bg-theme-primary-hover text-white py-2 px-4 rounded transition-colors duration-200;
}
.btn-secondary {
@apply bg-theme-secondary hover:bg-theme-secondary/80 text-white py-2 px-4 rounded transition-colors duration-200;
}
.btn-outline {
@apply border border-theme-border bg-transparent hover:bg-theme-surface text-white py-2 px-4 rounded transition-colors duration-200;
}
.card-hover {
@apply transition-all duration-200 hover:scale-105 hover:z-10;
}
.card-surface {
@apply bg-theme-surface rounded-md overflow-hidden shadow-md;
}
.glass {
@apply bg-theme-background-light/30 backdrop-blur-md border border-white/10;
}
.video-card {
@apply overflow-hidden rounded-md relative;
}
.video-card-overlay {
@apply absolute inset-0 bg-gradient-to-t from-black via-transparent to-transparent opacity-0 transition-opacity hover:opacity-100;
}
.text-truncate {
@apply overflow-hidden text-ellipsis whitespace-nowrap;
}
.text-truncate-2 {
@apply overflow-hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}