Design System
A comprehensive guide to the colors, typography, components, and patterns used throughout the Infiner template.
Colors
Theme-aware color tokens that automatically adapt to light and dark modes.
Core Colors
Background
--background
Foreground
--foreground
Primary
--primary
Secondary
--secondary
Muted
--muted
Accent
--accent
Card
--card
Border
--border
Destructive
--destructive
Surface Colors
Surface Dark
--surface-dark
Surface Elevated
--surface-elevated
Surface Testimonial
--surface-testimonial
Chart Colors
Chart 1
--chart-1
Chart 2
--chart-2
Chart 3
--chart-3
Chart 4
--chart-4
Chart 5
--chart-5
Typography
Work Sans is the primary font family, paired with Geist Mono for code.
Heading 1
text-5xl font-boldHeading 2
text-4xl font-boldHeading 3
text-3xl font-semiboldHeading 4
text-2xl font-semiboldHeading 5
text-xl font-mediumLarge Text
text-lgBody Text
text-baseSmall Text
text-smMuted Text
text-muted-foregroundForm Elements
Input components for building forms and capturing user data.
Overview content goes here.
Cards
Card components for grouping related content.
Cards are versatile containers that can hold any type of content.
Great for showcasing features or services.
Use gradients to highlight important content.
Badges
Small labels for status indicators and categories.
Variants
With Icons
Use Cases
Code Blocks
Syntax-highlighted code blocks with brand-specific colors.
import { createClient } from '@infiner/sdk'
const client = createClient({
apiKey: 'YOUR_API_KEY',
model: 'gpt-4-turbo'
})
const response = await client.chat({
messages: [
{ role: 'user', content: 'Hello!' }
],
temperature: 0.7,
maxTokens: 1024
})Animations
CSS animations available throughout the template.
animate-slide-in-rightSlide in from rightanimate-slide-in-leftSlide in from leftanimate-slide-up-delayedSlide up with delayanimate-fade-in-delayedFade in with delayanimate-marqueeInfinite horizontal scrollanimate-scroll-upVertical scroll upanimate-scroll-downVertical scroll downanimate-meteor-effectMeteor falling effectNav Link Hover
Hover over meButton Hover States
Icons
Lucide React icons are used throughout the template.
Import from lucide-react -View all icons
Available Components
All shadcn/ui components available in this template.