fb / artifacts /fb-publisher /src /index.css
sare26's picture
Upload 181 files
3952ae4 verified
Raw
History Blame Contribute Delete
4.57 kB
@layer theme, base, clerk, components, utilities;
@import "tailwindcss";
@import "@clerk/themes/shadcn.css";
@import "tw-animate-css";
@plugin "@tailwindcss/typography";
@custom-variant dark (&:is(.dark *));
@theme inline {
--color-background: hsl(var(--background));
--color-foreground: hsl(var(--foreground));
--color-border: hsl(var(--border));
--color-input: hsl(var(--input));
--color-ring: hsl(var(--ring));
--color-card: hsl(var(--card));
--color-card-foreground: hsl(var(--card-foreground));
--color-popover: hsl(var(--popover));
--color-popover-foreground: hsl(var(--popover-foreground));
--color-primary: hsl(var(--primary));
--color-primary-foreground: hsl(var(--primary-foreground));
--color-secondary: hsl(var(--secondary));
--color-secondary-foreground: hsl(var(--secondary-foreground));
--color-muted: hsl(var(--muted));
--color-muted-foreground: hsl(var(--muted-foreground));
--color-accent: hsl(var(--accent));
--color-accent-foreground: hsl(var(--accent-foreground));
--color-destructive: hsl(var(--destructive));
--color-destructive-foreground: hsl(var(--destructive-foreground));
--color-sidebar: hsl(var(--sidebar));
--color-sidebar-foreground: hsl(var(--sidebar-foreground));
--color-sidebar-border: hsl(var(--sidebar-border));
--color-sidebar-primary: hsl(var(--sidebar-primary));
--color-sidebar-primary-foreground: hsl(var(--sidebar-primary-foreground));
--color-sidebar-accent: hsl(var(--sidebar-accent));
--color-sidebar-accent-foreground: hsl(var(--sidebar-accent-foreground));
--color-sidebar-ring: hsl(var(--sidebar-ring));
--font-sans: "Tajawal", "Inter", system-ui, sans-serif;
--radius: 12px;
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
}
:root {
--background: 240 30% 8%;
--foreground: 0 0% 96%;
--border: 260 30% 25%;
--input: 260 30% 18%;
--ring: 269 96% 76%;
--card: 240 30% 12%;
--card-foreground: 0 0% 96%;
--popover: 240 30% 12%;
--popover-foreground: 0 0% 96%;
--primary: 269 96% 76%;
--primary-foreground: 240 30% 8%;
--secondary: 217 100% 51%;
--secondary-foreground: 0 0% 100%;
--muted: 240 20% 16%;
--muted-foreground: 240 10% 70%;
--accent: 269 96% 76%;
--accent-foreground: 240 30% 8%;
--destructive: 0 75% 60%;
--destructive-foreground: 0 0% 100%;
--sidebar: 240 30% 10%;
--sidebar-foreground: 0 0% 96%;
--sidebar-border: 260 30% 22%;
--sidebar-primary: 269 96% 76%;
--sidebar-primary-foreground: 240 30% 8%;
--sidebar-accent: 240 20% 18%;
--sidebar-accent-foreground: 0 0% 96%;
--sidebar-ring: 269 96% 76%;
}
.dark {
/* Same palette — site is dark by default */
}
html,
body,
#root {
min-height: 100vh;
}
html {
direction: rtl;
}
body {
font-family: var(--font-sans);
background:
radial-gradient(1200px 600px at 0% 0%, rgba(187, 134, 252, 0.15), transparent 60%),
radial-gradient(1200px 600px at 100% 100%, rgba(8, 102, 255, 0.15), transparent 60%),
linear-gradient(135deg, hsl(240 35% 8%) 0%, hsl(260 35% 12%) 50%, hsl(220 35% 10%) 100%);
background-attachment: fixed;
color: hsl(var(--foreground));
-webkit-font-smoothing: antialiased;
}
@layer base {
* {
border-color: hsl(var(--border));
}
}
.glass {
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.06),
rgba(255, 255, 255, 0.02)
);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.text-gradient {
background: linear-gradient(135deg, #bb86fc, #0866ff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.btn-primary-grad {
background: linear-gradient(135deg, #bb86fc, #8a4ce8);
color: #0d0d18;
font-weight: 700;
transition: filter 0.15s ease, transform 0.05s ease;
}
.btn-primary-grad:hover {
filter: brightness(1.08);
}
.btn-primary-grad:active {
transform: translateY(1px);
}
.btn-fb-grad {
background: linear-gradient(135deg, #0866ff, #1a4cd1);
color: #fff;
font-weight: 700;
transition: filter 0.15s ease, transform 0.05s ease;
}
.btn-fb-grad:hover {
filter: brightness(1.1);
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.04);
}
::-webkit-scrollbar-thumb {
background: rgba(187, 134, 252, 0.4);
border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(187, 134, 252, 0.65);
}