"use client"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@nextsparkjs/core/components/ui/card"; import { Button } from "@nextsparkjs/core/components/ui/button"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@nextsparkjs/core/components/ui/tabs"; import { Badge } from "@nextsparkjs/core/components/ui/badge"; import { ArrowLeft, Palette, Package, Layers, BookOpen, Download, FormInput } from "lucide-react"; import Link from "next/link"; import { ComponentGallery } from "@nextsparkjs/core/components/superadmin/misc/ComponentGallery"; import { ThemePreview } from "@nextsparkjs/core/components/superadmin/misc/ThemePreview"; import { FieldTypesGallery } from "@nextsparkjs/core/components/superadmin/misc/FieldTypesGallery"; import { useState } from "react"; /** * Style Gallery Page - Developer Area * * Comprehensive design system showcase for developers. * Displays components, themes, and design tokens for reference and testing. */ export default function DevStylePage() { const [activeTab, setActiveTab] = useState("components"); return (
Design system showcase and component library
Available UI components
Theme color variables
Light & dark modes
Component coverage
Maintain visual and functional consistency across all components
Ensure all components meet WCAG 2.1 AA standards
Design components that work at different scales and contexts
Optimize for fast loading and smooth interactions
Use semantic color names (primary, secondary, destructive) rather than specific colors
Follow the established type scale for consistent hierarchy
Use the 8px grid system for consistent spacing and alignment
Combine base components to create complex interfaces