Tailwind CSS
1 copies
Not liked
Component Preview
dashboard.tsxAP
Demo App
Preview of your theme
Total Revenue
$15,231.89
+20.1% from last month
Subscriptions
+2,350
+180.1% from last month
Upgrade your subscription
You are currently on the free plan.
Create an account
Enter your email below to create your account.
CSS Variables
globals.css
:root {
--font-sans: "Inter", sans-serif;
--background: #ffffff;
--foreground: #18181b;
--card: #ffffff;
--card-foreground: #18181b;
--popover: #ffffff;
--popover-foreground: #18181b;
--border: #e4e4e7;
--input: #e4e4e7;
--muted: #f4f4f5;
--muted-foreground: #71717a;
--accent: #f4f4f5;
--accent-foreground: #18181b;
--primary: #6366f1;
--primary-foreground: #ffffff;
--secondary: #e4e4e7;
--secondary-foreground: #18181b;
--destructive: #ef4444;
--destructive-foreground: #ffffff;
--ring: #6366f1;
--sidebar-background: #ffffff;
--sidebar-foreground: #18181b;
--sidebar-border: #e4e4e7;
--sidebar-primary: #6366f1;
--sidebar-primary-foreground: #ffffff;
--chart-1: #6366f1;
--chart-2: #8b5cf6;
--chart-3: #14b8a6;
--chart-4: #f97316;
--chart-5: #10b981;
--radius: 0.5rem;
}
.dark {
--background: #0f172a;
--foreground: #f1f5f9;
--card: #1e293b;
--card-foreground: #f1f5f9;
--popover: #1e293b;
--popover-foreground: #f1f5f9;
--border: #334155;
--input: #334155;
--muted: #1e293b;
--muted-foreground: #94a3b8;
--accent: #1e293b;
--accent-foreground: #f1f5f9;
--primary: #818cf8;
--primary-foreground: #0f172a;
--secondary: #334155;
--secondary-foreground: #f1f5f9;
--destructive: #f87171;
--destructive-foreground: #0f172a;
--ring: #818cf8;
--sidebar-background: #0f172a;
--sidebar-foreground: #f1f5f9;
--sidebar-border: #334155;
--sidebar-primary: #818cf8;
--sidebar-primary-foreground: #0f172a;
--chart-1: #818cf8;
--chart-2: #a78bfa;
--chart-3: #2dd4bf;
--chart-4: #fb923c;
--chart-5: #4ade80;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar: var(--sidebar);
--color-chart-5: var(--chart-5);
--color-chart-4: var(--chart-4);
--color-chart-3: var(--chart-3);
--color-chart-2: var(--chart-2);
--color-chart-1: var(--chart-1);
--color-ring: var(--ring);
--color-input: var(--input);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-accent-foreground: var(--accent-foreground);
--color-accent: var(--accent);
--color-muted-foreground: var(--muted-foreground);
--color-muted: var(--muted);
--color-secondary-foreground: var(--secondary-foreground);
--color-secondary: var(--secondary);
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
}
body {
font-family: var(--font-sans);
}