Download index.html from Avenislo/ave: direct link, hf CLI and curl.
- Browser
- Download file 91.8 kB
-
https://huggingface.co/spaces/Avenislo/ave/resolve/main/index.html
- Command line
-
hf download hf://spaces/Avenislo/ave/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Avenislo/ave/resolve/main/index.html
91.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hello, World!</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
--background: oklch(0.9232 0.0026 48.7171);
--foreground: oklch(0.2795 0.0368 260.0310);
--card: oklch(0.9699 0.0013 106.4238);
--card-foreground: oklch(0.2795 0.0368 260.0310);
--popover: oklch(0.9699 0.0013 106.4238);
--popover-foreground: oklch(0.2795 0.0368 260.0310);
--primary: oklch(0.5854 0.2041 277.1173);
--primary-foreground: oklch(1.0000 0 0);
--secondary: oklch(0.8687 0.0043 56.3660);
--secondary-foreground: oklch(0.4461 0.0263 256.8018);
--muted: oklch(0.9232 0.0026 48.7171);
--muted-foreground: oklch(0.5510 0.0234 264.3637);
--accent: oklch(0.9376 0.0260 321.9388);
--accent-foreground: oklch(0.3729 0.0306 259.7328);
--destructive: oklch(0.6368 0.2078 25.3313);
--destructive-foreground: oklch(1.0000 0 0);
--border: oklch(0.8687 0.0043 56.3660);
--input: oklch(0.8687 0.0043 56.3660);
--ring: oklch(0.5854 0.2041 277.1173);
--chart-1: oklch(0.5854 0.2041 277.1173);
--chart-2: oklch(0.5106 0.2301 276.9656);
--chart-3: oklch(0.4568 0.2146 277.0229);
--chart-4: oklch(0.3984 0.1773 277.3662);
--chart-5: oklch(0.3588 0.1354 278.6973);
--sidebar: oklch(0.8687 0.0043 56.3660);
--sidebar-foreground: oklch(0.2795 0.0368 260.0310);
--sidebar-primary: oklch(0.5854 0.2041 277.1173);
--sidebar-primary-foreground: oklch(1.0000 0 0);
--sidebar-accent: oklch(0.9376 0.0260 321.9388);
--sidebar-accent-foreground: oklch(0.3729 0.0306 259.7328);
--sidebar-border: oklch(0.8687 0.0043 56.3660);
--sidebar-ring: oklch(0.5854 0.2041 277.1173);
--font-sans: Plus Jakarta Sans, sans-serif;
--font-serif: Lora, serif;
--font-mono: Roboto Mono, monospace;
--radius: 1.25rem;
--shadow-2xs: 2px 2px 10px 4px hsl(240 4% 60% / 0.09);
--shadow-xs: 2px 2px 10px 4px hsl(240 4% 60% / 0.09);
--shadow-sm: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 1px 2px 3px hsl(240 4% 60% / 0.18);
--shadow: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 1px 2px 3px hsl(240 4% 60% / 0.18);
--shadow-md: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 2px 4px 3px hsl(240 4% 60% / 0.18);
--shadow-lg: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 4px 6px 3px hsl(240 4% 60% / 0.18);
--shadow-xl: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 8px 10px 3px hsl(240 4% 60% / 0.18);
--shadow-2xl: 2px 2px 10px 4px hsl(240 4% 60% / 0.45);
}
.dark {
--background: oklch(0.2244 0.0074 67.4370);
--foreground: oklch(0.9288 0.0126 255.5078);
--card: oklch(0.2801 0.0080 59.3379);
--card-foreground: oklch(0.9288 0.0126 255.5078);
--popover: oklch(0.2801 0.0080 59.3379);
--popover-foreground: oklch(0.9288 0.0126 255.5078);
--primary: oklch(0.6801 0.1583 276.9349);
--primary-foreground: oklch(0.2244 0.0074 67.4370);
--secondary: oklch(0.3359 0.0077 59.4197);
--secondary-foreground: oklch(0.8717 0.0093 258.3382);
--muted: oklch(0.2801 0.0080 59.3379);
--muted-foreground: oklch(0.7137 0.0192 261.3246);
--accent: oklch(0.3896 0.0074 59.4734);
--accent-foreground: oklch(0.8717 0.0093 258.3382);
--destructive: oklch(0.6368 0.2078 25.3313);
--destructive-foreground: oklch(0.2244 0.0074 67.4370);
--border: oklch(0.3359 0.0077 59.4197);
--input: oklch(0.3359 0.0077 59.4197);
--ring: oklch(0.6801 0.1583 276.9349);
--chart-1: oklch(0.6801 0.1583 276.9349);
--chart-2: oklch(0.5854 0.2041 277.1173);
--chart-3: oklch(0.5106 0.2301 276.9656);
--chart-4: oklch(0.4568 0.2146 277.0229);
--chart-5: oklch(0.3984 0.1773 277.3662);
--sidebar: oklch(0.3359 0.0077 59.4197);
--sidebar-foreground: oklch(0.9288 0.0126 255.5078);
--sidebar-primary: oklch(0.6801 0.1583 276.9349);
--sidebar-primary-foreground: oklch(0.2244 0.0074 67.4370);
--sidebar-accent: oklch(0.3896 0.0074 59.4734);
--sidebar-accent-foreground: oklch(0.8717 0.0093 258.3382);
--sidebar-border: oklch(0.3359 0.0077 59.4197);
--sidebar-ring: oklch(0.6801 0.1583 276.9349);
--font-sans: Plus Jakarta Sans, sans-serif;
--font-serif: Lora, serif;
--font-mono: Roboto Mono, monospace;
--radius: 1.25rem;
--shadow-2xs: 2px 2px 10px 4px hsl(0 0% 0% / 0.09);
--shadow-xs: 2px 2px 10px 4px hsl(0 0% 0% / 0.09);
--shadow-sm: 2px 2px 10px 4px hsl(0 0% 0% / 0.18), 2px 1px 2px 3px hsl(0 0% 0% / 0.18);
--shadow: 2px 2px 10px 4px hsl(0 0% 0% / 0.18), 2px 1px 2px 3px hsl(0 0% 0% / 0.18);
--shadow-md: 2px 2px 10px 4px hsl(0 0% 0% / 0.18), 2px 2px 4px 3px hsl(0 0% 0% / 0.18);
--shadow-lg: 2px 2px 10px 4px hsl(0 0% 0% / 0.18), 2px 4px 6px 3px hsl(0 0% 0% / 0.18);
--shadow-xl: 2px 2px 10px 4px hsl(0 0% 0% / 0.18), 2px 8px 10px 3px hsl(0 0% 0% / 0.18);
--shadow-2xl: 2px 2px 10px 4px hsl(0 0% 0% / 0.45);
}
@theme inline {
--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-destructive-foreground: var(--destructive-foreground);
--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);
--font-sans: var(--font-sans);
--font-mono: var(--font-mono);
--font-serif: var(--font-serif);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--shadow-2xs: var(--shadow-2xs);
--shadow-xs: var(--shadow-xs);
--shadow-sm: var(--shadow-sm);
--shadow: var(--shadow);
--shadow-md: var(--shadow-md);
--shadow-lg: var(--shadow-lg);
--shadow-xl: var(--shadow-xl);
--shadow-2xl: var(--shadow-2xl);
}
</style>
</head>
<body class="bg-background text-foreground font-sans">
<div class="container mx-auto px-4 py-8 max-w-6xl">
<header class="mb-12">
<h1 id="heading" class="text-4xl font-bold text-foreground mb-4">Ave Components Library</h1>
<p class="text-lg text-muted-foreground mb-6">A comprehensive showcase of all Ave web components with interactive examples and usage patterns.</p>
<p class="text-sm text-muted-foreground">This page comes from a static asset stored at `public/index.html` as configured in `wrangler.jsonc`.</p>
</header>
<!-- Form Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Form Components</h2>
<!-- Button Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Button Component</h3>
<p class="text-sm text-muted-foreground mb-6">Interactive buttons with various styles and states</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Variants</h4>
<div class="flex flex-wrap gap-3 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-button variant="primary">Primary</ave-button>
<ave-button variant="secondary">Secondary</ave-button>
<ave-button variant="destructive">Destructive</ave-button>
<ave-button variant="outline">Outline</ave-button>
<ave-button variant="ghost">Ghost</ave-button>
<ave-button variant="link">Link</ave-button>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Sizes</h4>
<div class="flex flex-wrap items-center gap-3 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-button size="sm">Small</ave-button>
<ave-button size="default">Default</ave-button>
<ave-button size="lg">Large</ave-button>
<ave-button size="icon">🔥</ave-button>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">States</h4>
<div class="flex flex-wrap gap-3 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-button>Normal</ave-button>
<ave-button loading>Loading</ave-button>
<ave-button disabled>Disabled</ave-button>
</div>
</div>
</div>
</div>
<!-- Input Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Input Component</h3>
<p class="text-sm text-muted-foreground mb-6">Form input fields with various types and states</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Input Types</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Text</label>
<ave-input type="text" placeholder="Enter text..." name="text"></ave-input>
</div>
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Email</label>
<ave-input type="email" placeholder="Enter email..." name="email"></ave-input>
</div>
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Password</label>
<ave-input type="password" placeholder="Enter password..." name="password"></ave-input>
</div>
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Number</label>
<ave-input type="number" placeholder="Enter number..." name="number"></ave-input>
</div>
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Phone</label>
<ave-input type="tel" placeholder="Enter phone..." name="phone"></ave-input>
</div>
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">URL</label>
<ave-input type="url" placeholder="Enter URL..." name="url"></ave-input>
</div>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">States</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Normal</label>
<ave-input placeholder="Normal input" name="normal"></ave-input>
</div>
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Required</label>
<ave-input placeholder="Required input" required name="required"></ave-input>
</div>
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Disabled</label>
<ave-input placeholder="Disabled input" disabled name="disabled"></ave-input>
</div>
<div class="space-y-2">
<label class="text-xs font-medium text-muted-foreground">Pre-filled</label>
<ave-input value="Pre-filled value" name="prefilled"></ave-input>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Display Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Display Components</h2>
<!-- Badge Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Badge Component</h3>
<p class="text-sm text-muted-foreground mb-6">Small status indicators and labels</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Variants</h4>
<div class="flex flex-wrap gap-3 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-badge variant="default" text="Default"></ave-badge>
<ave-badge variant="secondary" text="Secondary"></ave-badge>
<ave-badge variant="destructive" text="Destructive"></ave-badge>
<ave-badge variant="outline" text="Outline"></ave-badge>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">With Icons & Emojis</h4>
<div class="flex flex-wrap gap-3 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-badge variant="default">✨ New Feature</ave-badge>
<ave-badge variant="secondary">🔥 Popular</ave-badge>
<ave-badge variant="destructive">⚠️ Critical</ave-badge>
<ave-badge variant="outline">📊 Analytics</ave-badge>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Status Examples</h4>
<div class="flex flex-wrap gap-3 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-badge variant="default" text="Active"></ave-badge>
<ave-badge variant="secondary" text="Pending"></ave-badge>
<ave-badge variant="destructive" text="Inactive"></ave-badge>
<ave-badge variant="outline" text="Draft"></ave-badge>
</div>
</div>
</div>
</div>
<!-- Card Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Card Component</h3>
<p class="text-sm text-muted-foreground mb-6">Flexible content containers with headers, content, and footers</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Basic Cards</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-card title="Project Overview" description="Track your project progress and manage tasks efficiently with our comprehensive dashboard."></ave-card>
<ave-card header-title="Team Collaboration" header-description="Enhanced workflow features" content="Streamline your team's workflow with real-time collaboration tools and integrated communication features." footer="Last updated 2 hours ago"></ave-card>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Interactive Card</h4>
<div class="max-w-md p-4 bg-muted/30 rounded-md border border-border/50">
<ave-card title="User Settings">
<div class="space-y-4">
<p class="text-sm text-muted-foreground">Manage your account preferences and notification settings.</p>
<div class="space-y-3">
<div class="flex items-center justify-between">
<span class="text-sm font-medium">Email notifications</span>
<ave-switch checked></ave-switch>
</div>
<div class="flex items-center justify-between">
<span class="text-sm font-medium">Dark mode</span>
<ave-switch></ave-switch>
</div>
</div>
<div class="flex gap-2 pt-2">
<ave-button size="sm" variant="primary">Save Changes</ave-button>
<ave-button size="sm" variant="outline">Cancel</ave-button>
</div>
</div>
</ave-card>
</div>
</div>
</div>
</div>
</section>
<!-- Overlay Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Overlay Components</h2>
<!-- Tooltip Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Tooltip Component</h3>
<p class="text-sm text-muted-foreground mb-6">Contextual information displayed on hover</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Positioning</h4>
<div class="flex flex-wrap gap-4 p-6 bg-muted/30 rounded-md border border-border/50 justify-center">
<ave-tooltip text="Tooltip positioned at the top" side="top" trigger-text="Top"></ave-tooltip>
<ave-tooltip text="Tooltip positioned to the right" side="right" trigger-text="Right"></ave-tooltip>
<ave-tooltip text="Tooltip positioned at the bottom" side="bottom" trigger-text="Bottom"></ave-tooltip>
<ave-tooltip text="Tooltip positioned to the left" side="left" trigger-text="Left"></ave-tooltip>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Interactive Examples</h4>
<div class="flex flex-wrap gap-4 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-tooltip text="This tooltip provides detailed information about the button's functionality and usage" side="top">
<ave-button variant="outline">📋 Hover for details</ave-button>
</ave-tooltip>
<ave-tooltip text="🎉 This feature is new and exciting!" side="bottom">
<ave-badge variant="secondary">✨ New Feature</ave-badge>
</ave-tooltip>
<ave-tooltip text="Click to copy the API key to your clipboard" side="right">
<ave-button variant="ghost" size="sm">🔑 API Key</ave-button>
</ave-tooltip>
</div>
</div>
</div>
</div>
<!-- Avatar Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Avatar Component</h3>
<p class="text-sm text-muted-foreground mb-6">User profile pictures and fallback initials</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Sizes</h4>
<div class="flex flex-wrap items-center gap-6 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="flex flex-col items-center gap-2">
<ave-avatar size="sm" alt="Small Avatar"></ave-avatar>
<span class="text-xs text-muted-foreground">Small</span>
</div>
<div class="flex flex-col items-center gap-2">
<ave-avatar size="md" alt="Medium Avatar"></ave-avatar>
<span class="text-xs text-muted-foreground">Medium</span>
</div>
<div class="flex flex-col items-center gap-2">
<ave-avatar size="lg" alt="Large Avatar"></ave-avatar>
<span class="text-xs text-muted-foreground">Large</span>
</div>
<div class="flex flex-col items-center gap-2">
<ave-avatar size="xl" alt="Extra Large Avatar"></ave-avatar>
<span class="text-xs text-muted-foreground">Extra Large</span>
</div>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">With Profile Images</h4>
<div class="flex flex-wrap items-center gap-6 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="flex flex-col items-center gap-2">
<ave-avatar src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=100&h=100&fit=crop&crop=face" alt="John Doe" size="md"></ave-avatar>
<span class="text-xs text-muted-foreground">John Doe</span>
</div>
<div class="flex flex-col items-center gap-2">
<ave-avatar src="https://images.unsplash.com/photo-1494790108755-2616b612b786?w=100&h=100&fit=crop&crop=face" alt="Jane Smith" size="md"></ave-avatar>
<span class="text-xs text-muted-foreground">Jane Smith</span>
</div>
<div class="flex flex-col items-center gap-2">
<ave-avatar alt="Alex Johnson" size="md"></ave-avatar>
<span class="text-xs text-muted-foreground">Fallback</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Feedback Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Feedback Components</h2>
<!-- Skeleton Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Skeleton Component</h3>
<p class="text-sm text-muted-foreground mb-6">Loading placeholders for content</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Preset Variants</h4>
<div class="space-y-6 p-4 bg-muted/30 rounded-md border border-border/50">
<div>
<p class="text-xs text-muted-foreground mb-2">Text Lines</p>
<ave-skeleton variant="text" lines="3"></ave-skeleton>
</div>
<div>
<p class="text-xs text-muted-foreground mb-2">Avatar</p>
<ave-skeleton variant="avatar"></ave-skeleton>
</div>
<div>
<p class="text-xs text-muted-foreground mb-2">Button</p>
<ave-skeleton variant="button"></ave-skeleton>
</div>
<div>
<p class="text-xs text-muted-foreground mb-2">Card</p>
<ave-skeleton variant="card"></ave-skeleton>
</div>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Custom Shapes & Sizes</h4>
<div class="space-y-4 p-4 bg-muted/30 rounded-md border border-border/50">
<div>
<p class="text-xs text-muted-foreground mb-2">Custom Rectangle</p>
<ave-skeleton width="200px" height="20px"></ave-skeleton>
</div>
<div>
<p class="text-xs text-muted-foreground mb-2">Rounded Rectangle</p>
<ave-skeleton width="150px" height="40px" rounded="lg"></ave-skeleton>
</div>
<div>
<p class="text-xs text-muted-foreground mb-2">Circle</p>
<ave-skeleton width="100px" height="100px" rounded="full"></ave-skeleton>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Additional Form Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Additional Form Components</h2>
<!-- Textarea Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Textarea Component</h3>
<p class="text-sm text-muted-foreground mb-6">Multi-line text input for longer content</p>
</div>
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Message</label>
<ave-textarea placeholder="Enter your message..." rows="4"></ave-textarea>
<p class="text-xs text-muted-foreground">Write a detailed message or description</p>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Disabled State</label>
<ave-textarea placeholder="This textarea is disabled" disabled rows="4"></ave-textarea>
<p class="text-xs text-muted-foreground">This field is currently disabled</p>
</div>
</div>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<label class="text-sm font-medium text-foreground mb-2 block">Feedback Form</label>
<ave-textarea placeholder="Share your thoughts and suggestions..." rows="6"></ave-textarea>
<div class="flex justify-between items-center mt-2">
<p class="text-xs text-muted-foreground">Your feedback helps us improve</p>
<ave-button size="sm" variant="primary">Submit</ave-button>
</div>
</div>
</div>
</div>
<!-- Checkbox Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Checkbox Component</h3>
<p class="text-sm text-muted-foreground mb-6">Binary choice controls for forms and settings</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Basic States</h4>
<div class="space-y-4 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="flex items-center gap-3 p-2 rounded hover:bg-accent/50 transition-colors">
<ave-checkbox id="check1" name="option1"></ave-checkbox>
<ave-label for="check1" class="text-sm font-medium cursor-pointer">Enable notifications</ave-label>
</div>
<div class="flex items-center gap-3 p-2 rounded hover:bg-accent/50 transition-colors">
<ave-checkbox id="check2" name="option2" checked></ave-checkbox>
<ave-label for="check2" class="text-sm font-medium cursor-pointer">Auto-save changes</ave-label>
</div>
<div class="flex items-center gap-3 p-2 rounded opacity-60">
<ave-checkbox id="check3" name="option3" disabled></ave-checkbox>
<ave-label for="check3" class="text-sm font-medium">Premium feature (disabled)</ave-label>
</div>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Settings Group</h4>
<div class="space-y-3 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="flex items-center justify-between p-2 rounded hover:bg-accent/50 transition-colors">
<div>
<ave-label for="privacy1" class="text-sm font-medium cursor-pointer">Make profile public</ave-label>
<p class="text-xs text-muted-foreground">Allow others to see your profile information</p>
</div>
<ave-checkbox id="privacy1" name="privacy1"></ave-checkbox>
</div>
<div class="flex items-center justify-between p-2 rounded hover:bg-accent/50 transition-colors">
<div>
<ave-label for="privacy2" class="text-sm font-medium cursor-pointer">Email marketing</ave-label>
<p class="text-xs text-muted-foreground">Receive promotional emails and updates</p>
</div>
<ave-checkbox id="privacy2" name="privacy2" checked></ave-checkbox>
</div>
</div>
</div>
</div>
</div>
<!-- Switch Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Switch Component</h3>
<p class="text-sm text-muted-foreground mb-6">Toggle controls for binary settings</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Basic Controls</h4>
<div class="space-y-4 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="flex items-center justify-between p-3 rounded-md border border-border/30 bg-background/50">
<div>
<ave-label for="switch1" class="text-sm font-medium cursor-pointer">Push notifications</ave-label>
<p class="text-xs text-muted-foreground">Receive notifications on your device</p>
</div>
<ave-switch id="switch1"></ave-switch>
</div>
<div class="flex items-center justify-between p-3 rounded-md border border-border/30 bg-background/50">
<div>
<ave-label for="switch2" class="text-sm font-medium cursor-pointer">Auto-save documents</ave-label>
<p class="text-xs text-muted-foreground">Automatically save changes as you work</p>
</div>
<ave-switch id="switch2" checked></ave-switch>
</div>
<div class="flex items-center justify-between p-3 rounded-md border border-border/30 bg-background/50 opacity-60">
<div>
<ave-label for="switch3" class="text-sm font-medium">Advanced features</ave-label>
<p class="text-xs text-muted-foreground">Requires premium subscription</p>
</div>
<ave-switch id="switch3" disabled></ave-switch>
</div>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Compact Layout</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="flex items-center gap-3">
<ave-switch id="compact1"></ave-switch>
<ave-label for="compact1" class="text-sm cursor-pointer">Dark mode</ave-label>
</div>
<div class="flex items-center gap-3">
<ave-switch id="compact2" checked></ave-switch>
<ave-label for="compact2" class="text-sm cursor-pointer">Sound effects</ave-label>
</div>
</div>
</div>
</div>
</div>
<!-- Radio Group Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Radio Group Component</h3>
<p class="text-sm text-muted-foreground mb-6">Single-choice selection from multiple options</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Vertical Layout</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<ave-radio-group name="size" legend="Choose your preferred size" value="default"></ave-radio-group>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Horizontal Layout</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<ave-radio-group name="theme" orientation="horizontal" legend="Select theme preference" value="light" options='[{"value":"light","label":"☀️ Light"},{"value":"dark","label":"🌙 Dark"},{"value":"auto","label":"🔄 Auto"}]'></ave-radio-group>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Plan Selection</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<ave-radio-group name="plan" legend="Choose your subscription plan" value="pro" options='[{"value":"free","label":"Free - Basic features"},{"value":"pro","label":"Pro - Advanced features"},{"value":"enterprise","label":"Enterprise - Full access"}]'></ave-radio-group>
</div>
</div>
</div>
</div>
<!-- Select Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Select Component</h3>
<p class="text-sm text-muted-foreground mb-6">Dropdown selection from predefined options</p>
</div>
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Favorite Fruit</label>
<ave-select placeholder="Choose a fruit" name="fruit"></ave-select>
<p class="text-xs text-muted-foreground">Select your preferred fruit option</p>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Country</label>
<ave-select simple placeholder="Choose your country" name="country"></ave-select>
<p class="text-xs text-muted-foreground">Native select implementation</p>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Form Example</h4>
<div class="max-w-md p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-4">
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Department</label>
<ave-select placeholder="Select department" name="department"></ave-select>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Priority Level</label>
<ave-select placeholder="Choose priority" name="priority"></ave-select>
</div>
<ave-button size="sm" variant="primary" class="w-full">Submit Request</ave-button>
</div>
</div>
</div>
</div>
</div>
<!-- Combobox Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Combobox Component</h3>
<p class="text-sm text-muted-foreground mb-6">Searchable dropdown with autocomplete functionality</p>
</div>
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Framework</label>
<ave-combobox placeholder="Select framework" search-placeholder="Search frameworks..." name="framework"></ave-combobox>
<p class="text-xs text-muted-foreground">Choose your preferred development framework</p>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Programming Language</label>
<ave-combobox placeholder="Select language" options='[{"value":"js","label":"JavaScript"},{"value":"ts","label":"TypeScript"},{"value":"py","label":"Python"},{"value":"go","label":"Go"},{"value":"rust","label":"Rust"},{"value":"java","label":"Java"}]' name="language"></ave-combobox>
<p class="text-xs text-muted-foreground">Pick your primary programming language</p>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Project Setup</h4>
<div class="max-w-md p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-4">
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Tech Stack</label>
<ave-combobox placeholder="Choose tech stack" search-placeholder="Search technologies..." name="techstack"></ave-combobox>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Database</label>
<ave-combobox placeholder="Select database" options='[{"value":"postgresql","label":"PostgreSQL"},{"value":"mysql","label":"MySQL"},{"value":"mongodb","label":"MongoDB"},{"value":"sqlite","label":"SQLite"}]' name="database"></ave-combobox>
</div>
<ave-button size="sm" variant="primary" class="w-full">Create Project</ave-button>
</div>
</div>
</div>
</div>
</div>
<!-- Slider Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Slider Component</h3>
<p class="text-sm text-muted-foreground mb-6">Range input controls for numeric values</p>
</div>
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-3">
<ave-slider label="🔊 Volume" min="0" max="100" value="50" step="1" name="volume"></ave-slider>
<p class="text-xs text-muted-foreground">Adjust audio volume level</p>
</div>
<div class="space-y-3">
<ave-slider label="💰 Budget ($)" min="0" max="1000" value="250" step="10" name="budget"></ave-slider>
<p class="text-xs text-muted-foreground">Set your project budget</p>
</div>
</div>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-4">
<div class="space-y-3">
<ave-slider label="⚡ Performance" min="1" max="10" value="7" step="1" name="performance"></ave-slider>
<p class="text-xs text-muted-foreground">Balance between performance and battery life</p>
</div>
<div class="space-y-3 opacity-60">
<ave-slider label="🔒 Security Level" min="0" max="100" value="75" disabled name="security"></ave-slider>
<p class="text-xs text-muted-foreground">Security settings (requires admin access)</p>
</div>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Settings Panel</h4>
<div class="max-w-md p-4 bg-muted/30 rounded-md border border-border/50">
<div class="space-y-4">
<ave-slider label="🌡️ Temperature" min="16" max="30" value="22" step="0.5" name="temperature"></ave-slider>
<ave-slider label="💡 Brightness" min="0" max="100" value="80" step="5" name="brightness"></ave-slider>
<div class="flex gap-2 pt-2">
<ave-button size="sm" variant="primary">Apply</ave-button>
<ave-button size="sm" variant="outline">Reset</ave-button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Layout Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Layout Components</h2>
<!-- Alert Components -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Alert Components</h3>
<p class="text-sm text-muted-foreground mb-6">Important messages and notifications for users</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Alert Variants</h4>
<div class="space-y-4 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-alert variant="default" title="📋 Information" description="This is a general information alert with helpful details for the user."></ave-alert>
<ave-alert variant="destructive" title="🚨 Error Occurred" description="Something went wrong with your request. Please check your input and try again."></ave-alert>
<ave-alert variant="warning" title="⚠️ Important Notice" description="Please review your settings before continuing with this action."></ave-alert>
<ave-alert variant="success" title="✅ Success!" description="Your changes have been saved successfully and are now active."></ave-alert>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Interactive Alert</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<ave-alert variant="default" title="🔄 Update Available">
<div class="mt-3">
<p class="text-sm text-muted-foreground mb-4">A new version of the application is available with improved features and bug fixes.</p>
<div class="flex gap-2">
<ave-button size="sm" variant="primary">Update Now</ave-button>
<ave-button size="sm" variant="outline">Remind Later</ave-button>
<ave-button size="sm" variant="ghost">Skip</ave-button>
</div>
</div>
</ave-alert>
</div>
</div>
</div>
</div>
<!-- Accordion Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Accordion Component</h3>
<p class="text-sm text-muted-foreground mb-6">Collapsible content sections for organizing information</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Frequently Asked Questions</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<ave-accordion>
<div slot="item" data-value="item-1">
<div slot="trigger">🚀 What is Ave Components?</div>
<div slot="content">
<p class="text-sm text-muted-foreground leading-relaxed">Ave Components is a modern web component library built with native web standards. It provides a comprehensive set of reusable UI components for building beautiful, accessible web applications with minimal setup and maximum flexibility.</p>
</div>
</div>
<div slot="item" data-value="item-2">
<div slot="trigger">⚡ How do I get started?</div>
<div slot="content">
<div class="space-y-3">
<p class="text-sm text-muted-foreground">Getting started is simple:</p>
<ol class="text-sm text-muted-foreground list-decimal list-inside space-y-1 ml-2">
<li>Import the ave.js file into your project</li>
<li>Start using components in your HTML</li>
<li>Customize with Tailwind CSS classes</li>
</ol>
</div>
</div>
</div>
<div slot="item" data-value="item-3">
<div slot="trigger">♿ Is it accessible?</div>
<div slot="content">
<p class="text-sm text-muted-foreground leading-relaxed">Absolutely! All components are built with accessibility as a priority, including proper ARIA attributes, keyboard navigation support, screen reader compatibility, and semantic HTML structure.</p>
</div>
</div>
<div slot="item" data-value="item-4">
<div slot="trigger">🎨 Can I customize the styling?</div>
<div slot="content">
<p class="text-sm text-muted-foreground leading-relaxed">Yes! Components are designed to work seamlessly with Tailwind CSS and support custom CSS variables for theming. You can easily override styles to match your brand.</p>
</div>
</div>
</ave-accordion>
</div>
</div>
</div>
</div>
<!-- Tabs Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Tabs Component</h3>
<p class="text-sm text-muted-foreground mb-6">Organize content into switchable panels</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">User Profile Settings</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<ave-tabs default-value="tab1">
<div slot="list">
<ave-button slot="trigger" data-value="tab1" variant="ghost">👤 Account</ave-button>
<ave-button slot="trigger" data-value="tab2" variant="ghost">🔒 Security</ave-button>
<ave-button slot="trigger" data-value="tab3" variant="ghost">⚙️ Preferences</ave-button>
</div>
<div slot="content" data-value="tab1">
<div class="space-y-6 p-4 bg-background/50 rounded-md border border-border/30">
<div>
<h5 class="text-lg font-semibold text-foreground mb-4">Account Information</h5>
<p class="text-sm text-muted-foreground mb-4">Update your personal details and contact information.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">First Name</label>
<ave-input placeholder="Enter first name" name="firstName" value="John"></ave-input>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Last Name</label>
<ave-input placeholder="Enter last name" name="lastName" value="Doe"></ave-input>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Email Address</label>
<ave-input type="email" placeholder="Enter email" name="email" value="john@example.com"></ave-input>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Username</label>
<ave-input placeholder="Enter username" name="username" value="johndoe"></ave-input>
</div>
</div>
<div class="flex justify-end gap-2 pt-4">
<ave-button size="sm" variant="outline">Cancel</ave-button>
<ave-button size="sm" variant="primary">Save Changes</ave-button>
</div>
</div>
</div>
<div slot="content" data-value="tab2">
<div class="space-y-6 p-4 bg-background/50 rounded-md border border-border/30">
<div>
<h5 class="text-lg font-semibold text-foreground mb-4">Security Settings</h5>
<p class="text-sm text-muted-foreground mb-4">Manage your password and security preferences.</p>
</div>
<div class="space-y-4">
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Current Password</label>
<ave-input type="password" placeholder="Enter current password" name="currentPassword"></ave-input>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">New Password</label>
<ave-input type="password" placeholder="Enter new password" name="newPassword"></ave-input>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Confirm Password</label>
<ave-input type="password" placeholder="Confirm new password" name="confirmPassword"></ave-input>
</div>
</div>
<div class="flex justify-end gap-2 pt-4">
<ave-button size="sm" variant="outline">Cancel</ave-button>
<ave-button size="sm" variant="primary">Update Password</ave-button>
</div>
</div>
</div>
<div slot="content" data-value="tab3">
<div class="space-y-6 p-4 bg-background/50 rounded-md border border-border/30">
<div>
<h5 class="text-lg font-semibold text-foreground mb-4">Notification Preferences</h5>
<p class="text-sm text-muted-foreground mb-4">Choose how you want to receive notifications.</p>
</div>
<div class="space-y-4">
<div class="flex items-center justify-between p-3 rounded-md border border-border/30 bg-background/50">
<div>
<label class="text-sm font-medium text-foreground">Email notifications</label>
<p class="text-xs text-muted-foreground">Receive updates via email</p>
</div>
<ave-switch id="tab-notifications" checked></ave-switch>
</div>
<div class="flex items-center justify-between p-3 rounded-md border border-border/30 bg-background/50">
<div>
<label class="text-sm font-medium text-foreground">Marketing emails</label>
<p class="text-xs text-muted-foreground">Promotional content and updates</p>
</div>
<ave-switch id="tab-marketing"></ave-switch>
</div>
<div class="flex items-center justify-between p-3 rounded-md border border-border/30 bg-background/50">
<div>
<label class="text-sm font-medium text-foreground">Product updates</label>
<p class="text-xs text-muted-foreground">New features and improvements</p>
</div>
<ave-switch id="tab-updates" checked></ave-switch>
</div>
</div>
<div class="flex justify-end gap-2 pt-4">
<ave-button size="sm" variant="outline">Reset</ave-button>
<ave-button size="sm" variant="primary">Save Preferences</ave-button>
</div>
</div>
</div>
</ave-tabs>
</div>
</div>
</div>
</div>
<!-- Table Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Table Component</h3>
<p class="text-sm text-muted-foreground mb-6">Structured data display with sorting and actions</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Team Members</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50 overflow-hidden">
<ave-table>
<table class="w-full">
<thead>
<tr class="border-b border-border/50">
<th class="text-left py-3 px-4 font-medium text-foreground">User</th>
<th class="text-left py-3 px-4 font-medium text-foreground">Contact</th>
<th class="text-left py-3 px-4 font-medium text-foreground">Role</th>
<th class="text-left py-3 px-4 font-medium text-foreground">Status</th>
<th class="text-left py-3 px-4 font-medium text-foreground">Actions</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-border/30 hover:bg-accent/50 transition-colors">
<td class="py-4 px-4">
<div class="flex items-center gap-3">
<ave-avatar size="sm" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=40&h=40&fit=crop&crop=face" alt="John Doe"></ave-avatar>
<div>
<p class="font-medium text-foreground">John Doe</p>
<p class="text-xs text-muted-foreground">Senior Developer</p>
</div>
</div>
</td>
<td class="py-4 px-4">
<div>
<p class="text-sm text-foreground">john@example.com</p>
<p class="text-xs text-muted-foreground">+1 (555) 123-4567</p>
</div>
</td>
<td class="py-4 px-4">
<ave-badge variant="default" text="Admin"></ave-badge>
</td>
<td class="py-4 px-4">
<ave-badge variant="default" text="🟢 Active"></ave-badge>
</td>
<td class="py-4 px-4">
<div class="flex gap-1">
<ave-button size="sm" variant="ghost">✏️</ave-button>
<ave-button size="sm" variant="ghost">👁️</ave-button>
<ave-button size="sm" variant="ghost">🗑️</ave-button>
</div>
</td>
</tr>
<tr class="border-b border-border/30 hover:bg-accent/50 transition-colors">
<td class="py-4 px-4">
<div class="flex items-center gap-3">
<ave-avatar size="sm" src="https://images.unsplash.com/photo-1494790108755-2616b612b786?w=40&h=40&fit=crop&crop=face" alt="Jane Smith"></ave-avatar>
<div>
<p class="font-medium text-foreground">Jane Smith</p>
<p class="text-xs text-muted-foreground">UI/UX Designer</p>
</div>
</div>
</td>
<td class="py-4 px-4">
<div>
<p class="text-sm text-foreground">jane@example.com</p>
<p class="text-xs text-muted-foreground">+1 (555) 987-6543</p>
</div>
</td>
<td class="py-4 px-4">
<ave-badge variant="secondary" text="Editor"></ave-badge>
</td>
<td class="py-4 px-4">
<ave-badge variant="secondary" text="🟡 Pending"></ave-badge>
</td>
<td class="py-4 px-4">
<div class="flex gap-1">
<ave-button size="sm" variant="ghost">✏️</ave-button>
<ave-button size="sm" variant="ghost">👁️</ave-button>
<ave-button size="sm" variant="ghost">🗑️</ave-button>
</div>
</td>
</tr>
<tr class="border-b border-border/30 hover:bg-accent/50 transition-colors">
<td class="py-4 px-4">
<div class="flex items-center gap-3">
<ave-avatar size="sm" alt="Alex Johnson"></ave-avatar>
<div>
<p class="font-medium text-foreground">Alex Johnson</p>
<p class="text-xs text-muted-foreground">Content Writer</p>
</div>
</div>
</td>
<td class="py-4 px-4">
<div>
<p class="text-sm text-foreground">alex@example.com</p>
<p class="text-xs text-muted-foreground">+1 (555) 456-7890</p>
</div>
</td>
<td class="py-4 px-4">
<ave-badge variant="outline" text="Viewer"></ave-badge>
</td>
<td class="py-4 px-4">
<ave-badge variant="destructive" text="🔴 Inactive"></ave-badge>
</td>
<td class="py-4 px-4">
<div class="flex gap-1">
<ave-button size="sm" variant="ghost">✏️</ave-button>
<ave-button size="sm" variant="ghost">👁️</ave-button>
<ave-button size="sm" variant="ghost">🗑️</ave-button>
</div>
</td>
</tr>
</tbody>
</table>
</ave-table>
</div>
</div>
</div>
</div>
</section>
<!-- Navigation Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Navigation Components</h2>
<!-- Breadcrumb Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Breadcrumb Component</h3>
<p class="text-sm text-muted-foreground mb-6">Navigation trail showing current page location</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">E-commerce Navigation</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<ave-breadcrumb>
<a href="/" slot="item" class="text-primary hover:text-primary/80">🏠 Home</a>
<a href="/products" slot="item" class="text-primary hover:text-primary/80">📦 Products</a>
<a href="/products/electronics" slot="item" class="text-primary hover:text-primary/80">⚡ Electronics</a>
<span slot="item" aria-current="page" class="text-foreground font-medium">💻 Laptops</span>
</ave-breadcrumb>
</div>
</div>
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Admin Dashboard</h4>
<div class="p-4 bg-muted/30 rounded-md border border-border/50">
<ave-breadcrumb separator=">">
<a href="/" slot="item" class="text-primary hover:text-primary/80">Dashboard</a>
<a href="/settings" slot="item" class="text-primary hover:text-primary/80">Settings</a>
<span slot="item" aria-current="page" class="text-foreground font-medium">User Profile</span>
</ave-breadcrumb>
</div>
</div>
</div>
</div>
<!-- Pagination Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Pagination Component</h3>
<p class="text-sm text-muted-foreground mb-6">Navigate through multiple pages of content</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Different Configurations</h4>
<div class="space-y-6 p-4 bg-muted/30 rounded-md border border-border/50">
<div>
<p class="text-xs text-muted-foreground mb-2">With edge buttons (showing page 3 of 10)</p>
<ave-pagination current-page="3" total-pages="10" show-edges="true"></ave-pagination>
</div>
<div>
<p class="text-xs text-muted-foreground mb-2">Simple pagination (showing page 1 of 5)</p>
<ave-pagination current-page="1" total-pages="5" show-edges="false"></ave-pagination>
</div>
<div>
<p class="text-xs text-muted-foreground mb-2">Compact view (showing page 8 of 12)</p>
<ave-pagination current-page="8" total-pages="12" visible-pages="3"></ave-pagination>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Additional Overlay Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Additional Overlay Components</h2>
<!-- Dropdown Menu Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Dropdown Menu Component</h3>
<p class="text-sm text-muted-foreground mb-6">Contextual menus with actions and navigation</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">User Actions</h4>
<div class="flex flex-wrap gap-4 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-dropdown-menu>
<ave-button slot="trigger" variant="outline">👤 User Menu</ave-button>
<div slot="content">
<div class="py-2">
<a href="#" class="flex items-center gap-2 px-4 py-2 text-sm hover:bg-accent transition-colors">
<span>👤</span> View Profile
</a>
<a href="#" class="flex items-center gap-2 px-4 py-2 text-sm hover:bg-accent transition-colors">
<span>⚙️</span> Account Settings
</a>
<a href="#" class="flex items-center gap-2 px-4 py-2 text-sm hover:bg-accent transition-colors">
<span>💳</span> Billing & Plans
</a>
<hr class="my-2 border-border">
<a href="#" class="flex items-center gap-2 px-4 py-2 text-sm text-destructive hover:bg-accent transition-colors">
<span>🚪</span> Sign Out
</a>
</div>
</div>
</ave-dropdown-menu>
<ave-dropdown-menu>
<ave-button slot="trigger" variant="ghost">⋮ More</ave-button>
<div slot="content">
<div class="py-2">
<button class="flex items-center gap-2 w-full text-left px-4 py-2 text-sm hover:bg-accent transition-colors">
<span>✏️</span> Edit Item
</button>
<button class="flex items-center gap-2 w-full text-left px-4 py-2 text-sm hover:bg-accent transition-colors">
<span>📋</span> Duplicate
</button>
<button class="flex items-center gap-2 w-full text-left px-4 py-2 text-sm hover:bg-accent transition-colors">
<span>📁</span> Move to Archive
</button>
<hr class="my-2 border-border">
<button class="flex items-center gap-2 w-full text-left px-4 py-2 text-sm text-destructive hover:bg-accent transition-colors">
<span>🗑️</span> Delete
</button>
</div>
</div>
</ave-dropdown-menu>
</div>
</div>
</div>
</div>
<!-- Dialog Components -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Dialog Components</h3>
<p class="text-sm text-muted-foreground mb-6">Modal dialogs for user interactions and confirmations</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Interactive Modals</h4>
<div class="flex flex-wrap gap-4 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-button onclick="document.querySelector('#basic-dialog').open = true" variant="outline">
✏️ Edit Profile
</ave-button>
<ave-dialog id="basic-dialog">
<div slot="header">
<h3 class="text-xl font-semibold text-foreground">✏️ Edit Profile</h3>
<p class="text-sm text-muted-foreground mt-1">Update your personal information and preferences.</p>
</div>
<div slot="content">
<div class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">First Name</label>
<ave-input placeholder="Enter first name" name="firstName" value="John"></ave-input>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Last Name</label>
<ave-input placeholder="Enter last name" name="lastName" value="Doe"></ave-input>
</div>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Email Address</label>
<ave-input type="email" placeholder="Enter email" name="email" value="john@example.com"></ave-input>
</div>
<div class="space-y-2">
<label class="text-sm font-medium text-foreground">Bio</label>
<ave-textarea placeholder="Tell us about yourself..." rows="3" name="bio">Software developer passionate about creating great user experiences and building innovative solutions.</ave-textarea>
</div>
</div>
</div>
<div slot="footer">
<div class="flex justify-end gap-3">
<ave-button variant="outline" onclick="document.querySelector('#basic-dialog').open = false">Cancel</ave-button>
<ave-button variant="primary" onclick="document.querySelector('#basic-dialog').open = false">💾 Save Changes</ave-button>
</div>
</div>
</ave-dialog>
<ave-button onclick="document.querySelector('#alert-dialog').open = true" variant="destructive">
🗑️ Delete Item
</ave-button>
<ave-alert-dialog id="alert-dialog">
<div slot="header">
<h3 class="text-xl font-semibold text-destructive">⚠️ Confirm Deletion</h3>
<p class="text-sm text-muted-foreground mt-2">This action cannot be undone. This will permanently delete the selected item and remove all associated data from our servers.</p>
</div>
<div slot="footer">
<div class="flex justify-end gap-3">
<ave-button variant="outline" onclick="document.querySelector('#alert-dialog').open = false">Cancel</ave-button>
<ave-button variant="destructive" onclick="document.querySelector('#alert-dialog').open = false">🗑️ Delete Permanently</ave-button>
</div>
</div>
</ave-alert-dialog>
</div>
</div>
</div>
</div>
<!-- Popover Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Popover Component</h3>
<p class="text-sm text-muted-foreground mb-6">Floating content panels with rich interactions</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Interactive Examples</h4>
<div class="flex flex-wrap gap-4 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-popover>
<ave-button slot="trigger" variant="outline">📐 Resize Tool</ave-button>
<div slot="content">
<div class="p-4 space-y-4 min-w-[250px]">
<div>
<h4 class="font-semibold text-foreground mb-2">📐 Element Dimensions</h4>
<p class="text-xs text-muted-foreground mb-3">Adjust the size of the selected element</p>
</div>
<div class="grid grid-cols-2 gap-3">
<div class="space-y-1">
<label class="text-xs font-medium text-foreground">Width</label>
<ave-input placeholder="300px" size="sm"></ave-input>
</div>
<div class="space-y-1">
<label class="text-xs font-medium text-foreground">Height</label>
<ave-input placeholder="200px" size="sm"></ave-input>
</div>
</div>
<div class="flex justify-end gap-2 pt-2">
<ave-button size="sm" variant="outline">Reset</ave-button>
<ave-button size="sm" variant="primary">Apply</ave-button>
</div>
</div>
</div>
</ave-popover>
<ave-popover side="top">
<ave-button slot="trigger" variant="ghost">⚙️ Quick Settings</ave-button>
<div slot="content">
<div class="p-4 space-y-4 min-w-[200px]">
<div>
<h4 class="font-semibold text-foreground mb-2">⚙️ Preferences</h4>
<p class="text-xs text-muted-foreground mb-3">Customize your experience</p>
</div>
<div class="space-y-3">
<div class="flex items-center justify-between">
<div>
<span class="text-sm font-medium text-foreground">Dark mode</span>
<p class="text-xs text-muted-foreground">Toggle dark theme</p>
</div>
<ave-switch></ave-switch>
</div>
<div class="flex items-center justify-between">
<div>
<span class="text-sm font-medium text-foreground">Notifications</span>
<p class="text-xs text-muted-foreground">Enable alerts</p>
</div>
<ave-switch checked></ave-switch>
</div>
<div class="flex items-center justify-between">
<div>
<span class="text-sm font-medium text-foreground">Auto-save</span>
<p class="text-xs text-muted-foreground">Save changes automatically</p>
</div>
<ave-switch checked></ave-switch>
</div>
</div>
</div>
</div>
</ave-popover>
</div>
</div>
</div>
</div>
</section>
<!-- Advanced Components Section -->
<section class="mb-16">
<h2 class="text-2xl font-semibold text-foreground mb-8">Advanced Components</h2>
<!-- Form Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Form Component</h3>
<p class="text-sm text-muted-foreground mb-6">Complete form layouts with validation and submission</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Contact Support Form</h4>
<div class="max-w-2xl p-6 bg-muted/30 rounded-md border border-border/50">
<ave-form>
<div class="space-y-6">
<div class="text-center mb-6">
<h5 class="text-lg font-semibold text-foreground">📧 Get in Touch</h5>
<p class="text-sm text-muted-foreground mt-1">We'd love to hear from you. Send us a message and we'll respond as soon as possible.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="space-y-2">
<ave-label for="contact-name" class="text-sm font-medium text-foreground">Full Name *</ave-label>
<ave-input id="contact-name" name="name" placeholder="Enter your full name" required></ave-input>
</div>
<div class="space-y-2">
<ave-label for="contact-email" class="text-sm font-medium text-foreground">Email Address *</ave-label>
<ave-input id="contact-email" type="email" name="email" placeholder="your@email.com" required></ave-input>
</div>
</div>
<div class="space-y-2">
<ave-label for="contact-subject" class="text-sm font-medium text-foreground">Subject</ave-label>
<ave-select id="contact-subject" name="subject" placeholder="Choose a subject">
<option value="general">💬 General Inquiry</option>
<option value="support">🛠️ Technical Support</option>
<option value="billing">💳 Billing Question</option>
<option value="feedback">⭐ Feedback</option>
<option value="partnership">🤝 Partnership</option>
</ave-select>
</div>
<div class="space-y-2">
<ave-label for="contact-message" class="text-sm font-medium text-foreground">Message *</ave-label>
<ave-textarea id="contact-message" name="message" placeholder="Tell us how we can help you..." rows="5" required></ave-textarea>
</div>
<div class="flex items-start gap-3 p-3 bg-background/50 rounded-md border border-border/30">
<ave-checkbox id="contact-newsletter" name="newsletter"></ave-checkbox>
<div>
<ave-label for="contact-newsletter" class="text-sm font-medium text-foreground cursor-pointer">Subscribe to our newsletter</ave-label>
<p class="text-xs text-muted-foreground mt-1">Get updates about new features and product announcements</p>
</div>
</div>
<div class="flex justify-end gap-3 pt-4">
<ave-button type="button" variant="outline">Cancel</ave-button>
<ave-button type="submit" variant="primary">📤 Send Message</ave-button>
</div>
</div>
</ave-form>
</div>
</div>
</div>
</div>
<!-- Toast Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Toast Component</h3>
<p class="text-sm text-muted-foreground mb-6">Temporary notification messages with different states</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Notification Types</h4>
<div class="grid grid-cols-2 md:grid-cols-4 gap-3 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-button onclick="showToast('success', '✅ Success!', 'Your changes have been saved successfully.')" variant="outline" size="sm">
✅ Success
</ave-button>
<ave-button onclick="showToast('error', '❌ Error!', 'Something went wrong. Please try again.')" variant="outline" size="sm">
❌ Error
</ave-button>
<ave-button onclick="showToast('warning', '⚠️ Warning!', 'Please review your settings before continuing.')" variant="outline" size="sm">
⚠️ Warning
</ave-button>
<ave-button onclick="showToast('info', 'ℹ️ Info', 'New features are now available in your dashboard.')" variant="outline" size="sm">
ℹ️ Info
</ave-button>
</div>
<p class="text-xs text-muted-foreground mt-2">Click any button above to see the toast notification in action</p>
</div>
<!-- Toast container -->
<ave-toast id="toast-container"></ave-toast>
<script>
function showToast(variant, title, description) {
const toast = document.getElementById('toast-container');
if (toast && toast.show) {
toast.show({
variant: variant,
title: title,
description: description,
duration: 5000
});
}
}
</script>
</div>
</div>
<!-- Sidebar Component -->
<div class="space-y-8 mb-16 p-6 border border-border rounded-lg bg-card">
<div>
<h3 class="text-xl font-semibold text-foreground mb-2">Sidebar Component</h3>
<p class="text-sm text-muted-foreground mb-6">Slide-out navigation panels and content areas</p>
</div>
<div class="space-y-6">
<div>
<h4 class="text-sm font-medium text-muted-foreground mb-4">Interactive Sidebars</h4>
<div class="flex gap-4 p-4 bg-muted/30 rounded-md border border-border/50">
<ave-button onclick="document.querySelector('#demo-sidebar').open = true" variant="outline">
📱 Main Navigation
</ave-button>
<ave-button onclick="document.querySelector('#demo-sidebar-right').open = true" variant="outline">
⚡ Quick Actions
</ave-button>
</div>
<p class="text-xs text-muted-foreground mt-2">Click the buttons above to open different sidebar configurations</p>
</div>
<!-- Left Sidebar -->
<ave-sidebar id="demo-sidebar" side="left">
<div slot="header">
<div class="flex items-center gap-2">
<span class="text-2xl">🚀</span>
<div>
<h3 class="text-lg font-semibold text-foreground">Ave Dashboard</h3>
<p class="text-xs text-muted-foreground">Main Navigation</p>
</div>
</div>
</div>
<div slot="content">
<nav class="space-y-1">
<a href="#" class="flex items-center gap-3 px-3 py-3 rounded-md hover:bg-accent transition-colors group">
<span class="text-lg">🏠</span>
<div>
<span class="font-medium text-foreground">Dashboard</span>
<p class="text-xs text-muted-foreground">Overview & metrics</p>
</div>
</a>
<a href="#" class="flex items-center gap-3 px-3 py-3 rounded-md hover:bg-accent transition-colors group">
<span class="text-lg">👥</span>
<div>
<span class="font-medium text-foreground">Team</span>
<p class="text-xs text-muted-foreground">Manage users</p>
</div>
</a>
<a href="#" class="flex items-center gap-3 px-3 py-3 rounded-md hover:bg-accent transition-colors group">
<span class="text-lg">📊</span>
<div>
<span class="font-medium text-foreground">Analytics</span>
<p class="text-xs text-muted-foreground">Reports & insights</p>
</div>
</a>
<a href="#" class="flex items-center gap-3 px-3 py-3 rounded-md hover:bg-accent transition-colors group">
<span class="text-lg">⚙️</span>
<div>
<span class="font-medium text-foreground">Settings</span>
<p class="text-xs text-muted-foreground">Configuration</p>
</div>
</a>
</nav>
</div>
<div slot="footer">
<div class="p-4 border-t border-border bg-muted/30">
<div class="flex items-center gap-3">
<ave-avatar size="sm" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=40&h=40&fit=crop&crop=face" alt="John Doe"></ave-avatar>
<div class="flex-1 min-w-0">
<p class="text-sm font-medium text-foreground truncate">John Doe</p>
<p class="text-xs text-muted-foreground truncate">john@example.com</p>
</div>
<ave-button size="sm" variant="ghost">🚪</ave-button>
</div>
</div>
</div>
</ave-sidebar>
<!-- Right Sidebar -->
<ave-sidebar id="demo-sidebar-right" side="right">
<div slot="header">
<div class="flex items-center gap-2">
<span class="text-2xl">⚡</span>
<div>
<h3 class="text-lg font-semibold text-foreground">Quick Actions</h3>
<p class="text-xs text-muted-foreground">Recent activity & settings</p>
</div>
</div>
</div>
<div slot="content">
<div class="space-y-6">
<div>
<h4 class="font-semibold text-foreground mb-3 flex items-center gap-2">
<span>📈</span> Recent Activity
</h4>
<div class="space-y-3">
<div class="p-3 rounded-md border border-border/50 bg-background/50">
<div class="flex items-start gap-2">
<span class="text-green-500">✅</span>
<div>
<p class="text-sm font-medium text-foreground">User John Doe logged in</p>
<p class="text-xs text-muted-foreground">2 minutes ago</p>
</div>
</div>
</div>
<div class="p-3 rounded-md border border-border/50 bg-background/50">
<div class="flex items-start gap-2">
<span class="text-blue-500">📦</span>
<div>
<p class="text-sm font-medium text-foreground">New order #1234 received</p>
<p class="text-xs text-muted-foreground">5 minutes ago</p>
</div>
</div>
</div>
<div class="p-3 rounded-md border border-border/50 bg-background/50">
<div class="flex items-start gap-2">
<span class="text-purple-500">🔄</span>
<div>
<p class="text-sm font-medium text-foreground">System backup completed</p>
<p class="text-xs text-muted-foreground">1 hour ago</p>
</div>
</div>
</div>
</div>
</div>
<div>
<h4 class="font-semibold text-foreground mb-3 flex items-center gap-2">
<span>⚙️</span> Quick Settings
</h4>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 rounded-md border border-border/50 bg-background/50">
<div>
<span class="text-sm font-medium text-foreground">Push notifications</span>
<p class="text-xs text-muted-foreground">Receive alerts</p>
</div>
<ave-switch checked></ave-switch>
</div>
<div class="flex items-center justify-between p-3 rounded-md border border-border/50 bg-background/50">
<div>
<span class="text-sm font-medium text-foreground">Auto-save</span>
<p class="text-xs text-muted-foreground">Save changes automatically</p>
</div>
<ave-switch></ave-switch>
</div>
<div class="flex items-center justify-between p-3 rounded-md border border-border/50 bg-background/50">
<div>
<span class="text-sm font-medium text-foreground">Dark mode</span>
<p class="text-xs text-muted-foreground">Toggle theme</p>
</div>
<ave-switch></ave-switch>
</div>
</div>
</div>
</div>
</div>
</ave-sidebar>
</div>
</div>
</section>
</div>
<script type="module" src="./ave.js"></script>
</body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hello, World!</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
--background: oklch(0.9232 0.0026 48.7171);
--foreground: oklch(0.2795 0.0368 260.0310);
--card: oklch(0.9699 0.0013 106.4238);
--card-foreground: oklch(0.2795 0.0368 260.0310);
--popover: oklch(0.9699 0.0013 106.4238);
--popover-foreground: oklch(0.2795 0.0368 260.0310);
--primary: oklch(0.5854 0.2041 277.1173);
--primary-foreground: oklch(1.0000 0 0);
--secondary: oklch(0.8687 0.0043 56.3660);
--secondary-foreground: oklch(0.4461 0.0263 256.8018);
--muted: oklch(0.9232 0.0026 48.7171);
--muted-foreground: oklch(0.5510 0.0234 264.3637);
--accent: oklch(0.9376 0.0260 321.9388);
--accent-foreground: oklch(0.3729 0.0306 259.7328);
--destructive: oklch(0.6368 0.2078 25.3313);
--destructive-foreground: oklch(1.0000 0 0);
--border: oklch(0.8687 0.0043 56.3660);
--input: oklch(0.8687 0.0043 56.3660);
--ring: oklch(0.5854 0.2041 277.1173);
--chart-1: oklch(0.5854 0.2041 277.1173);
--chart-2: oklch(0.5106 0.2301 276.9656);
--chart-3: oklch(0.4568 0.2146 277.0229);
--chart-4: oklch(0.3984 0.1773 277.3662);
--chart-5: oklch(0.3588 0.1354 278.6973);
--sidebar: oklch(0.8687 0.0043 56.3660);
--sidebar-foreground: oklch(0.2795 0.0368 260.0310);
--sidebar-primary: oklch(0.5854 0.2041 277.1173);
--sidebar-primary-foreground: oklch(1.0000 0 0);
--sidebar-accent: oklch(0.9376 0.0260 321.9388);
--sidebar-accent-foreground: oklch(0.3729 0.0306 259.7328);
--sidebar-border: oklch(0.8687 0.0043 56.3660);
--sidebar-ring: oklch(0.5854 0.2041 277.1173);
--font-sans: Plus Jakarta Sans, sans-serif;
--font-serif: Lora, serif;
--font-mono: Roboto Mono, monospace;
--radius: 1.25rem;
--shadow-2xs: 2px 2px 10px 4px hsl(240 4% 60% / 0.09);
--shadow-xs: 2px 2px 10px 4px hsl(240 4% 60% / 0.09);
--shadow-sm: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 1px 2px 3px hsl(240 4% 60% / 0.18);
--shadow: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 1px 2px 3px hsl(240 4% 60% / 0.18);
--shadow-md: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 2px 4px 3px hsl(240 4% 60% / 0.18);
--shadow-lg: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 4px 6px 3px hsl(240 4% 60% / 0.18);
--shadow-xl: 2px 2px 10px 4px hsl(240 4% 60% / 0.18), 2px 8px 10px 3px hsl(240 4% 60% / 0.18);
--shadow-2xl: 2px 2px 10px 4px hsl(240 4% 60% / 0.45);
}
.dark {
--background: oklch(0.2244 0.0074 67.4370);
--foreground: oklch(0.9288 0.0126 255.5078);
--card: oklch(0.2801 0.0080 59.3379);
--card-foreground: oklch(0.9288 0.0126 255.5078);
--popover: oklch(0.2801 0.0080 59.3379);
--popover-foreground: oklch(0.9288 0.0126 255.5078);
--primary: oklch(0.6801 0.1583 276.9349);
--primary-foreground: oklch(0.2244 0.0074 67.4370);
--secondary: oklch(0.3359 0.0077 59.4197);
--secondary-foreground: oklch(0.8717 0.0093 258.3382);
--muted: oklch(0.2801 0.0080 59.3379);
--muted-foreground: oklch(0.7137 0.0192 261.3246);
--accent: oklch(0.3896 0.0074 59.4734);
--accent-foreground: oklch(0.8717 0.0093 258.3382);
--destructive: oklch(0.6368 0.2078 25.3313);
--destructive-foreground: oklch(0.2244 0.0074 67.4370);
--border: oklch(0.3359 0.0077 59.4197);
--input: oklch(0.3359 0.0077 59.4197);
--ring: oklch(0.6801 0.1583 276.9349);
--chart-1: oklch(0.6801 0.1583 276.9349);
--chart-2: oklch(0.5854 0.2041 277.1173);
--chart-3: oklch(0.5106 0.2301 276.9656);
--chart-4: oklch(0.4568 0.2146 277.0229);
--chart-5: oklch(0.3984 0.1773 277.3662);
--sidebar: oklch(0.3359 0.0077 59.4197);
--sidebar-foreground: oklch(0.9288 0.0126 255.5078);
--sidebar-primary: oklch(0.6801 0.1583 276.9349);
--sidebar-primary-foreground: oklch(0.2244 0.0074 67.4370);
--sidebar-accent: oklch(0.3896 0.0074 59.4734);
--sidebar-accent-foreground: oklch(0.8717 0.0093 258.3382);
--sidebar-border: oklch(0.3359 0.0077 59.4197);
--sidebar-ring: oklch(0.6801 0.1583 276.9349);
--font-sans: Plus Jakarta Sans, sans-serif;
--font-serif: Lora, serif;
--font-mono: Roboto Mono, monospace;
--radius: 1.25rem;
--shadow-2xs: 2px 2px 10px 4px hsl(0 0% 0% / 0.09);