Design System Reference

Multi-Role Theme System - Reference for AI to create components

Teal - teal-professional

Teal Professional Theme - For Plant Owners

Color Palette

Primary/Accent Colors
Used for buttons, active states, links
#14b8a6
#0d9488

From: from-teal-500

To: to-teal-600

Gradient: bg-gradient-to-r from-teal-500 to-teal-600

Sidebar Colors
Used for sidebar navigation
Sidebar BG

#134e4a

Border

#115e59

Main BG

#f0fdfa

Sidebar: bg-teal-900

Border: border-teal-800

Main BG: bg-teal-50

Status Colors
Used for badges, trends, alerts
CompletedProcessingFailed

Success: bg-teal-50 text-teal-600

Warning: bg-amber-50 text-amber-600

Danger: bg-red-50 text-red-600

Icon Background Colors
Used for stat cards, metric items

Primary: bg-teal-50 text-teal-600

Secondary: bg-cyan-50 text-cyan-600

Tertiary: bg-amber-50 text-amber-600

Quaternary: bg-pink-50 text-pink-600

Typography

text-4xl bold

Page Title

text-[26px] bold

Dashboard Overview

text-base semi

Card Title

text-sm

Body text and descriptions

text-[28px] bold$84,254

Font: IBM Plex Sans Thai (Supports Thai language)

Primary text: text-teal-900

Muted text: text-teal-600

Spacing & Border Radius

Border Radius
rounded-lg

8px

rounded-[10px]

buttons, inputs

rounded-xl

12px icons

rounded-[14px]

cards

Common Spacing

Card padding: p-5 or p-6

Section gap: gap-6

Stats grid gap: gap-5

Content padding: p-7

Sidebar width: w-[260px]

Main margin: ml-[260px]

Components

Buttons

Primary: bg-gradient-to-r from-teal-500 to-teal-600 rounded-[10px]

Text: text-white

Inputs

Background: bg-teal-50

Border: border-teal-100

Badges / Status Tags
CompletedProcessingFailed
Avatars
SJ
MW

Primary: linear-gradient(135deg, #14b8a6, #0d9488)

Secondary: linear-gradient(135deg, #0891b2, #0e7490)

Stat Card

Total Revenue

$84,254
12.5% vs last month
Metric Card

Page Views

Last 7 days

45.2K

Layout Patterns

Sidebar
260px fixed sidebar
Teal
Dashboard
Analytics

Container: bg-teal-900 w-[260px] fixed

Active: bg-gradient-to-r from-teal-500 to-teal-600

Inactive: text-teal-300 hover:bg-teal-800

Top Bar
White header with search and actions
Dashboard

Container: bg-white border-b border-teal-100

Icon button: bg-teal-50 border-teal-100 rounded-[10px]

Dashboard Grid Layout
2-column grid with 2fr 1fr ratio
Chart Area (2fr)
Table Area (2fr)
Metrics (1fr)
Calendar (1fr)

Grid: grid grid-cols-[2fr_1fr] gap-6

Stats: grid grid-cols-4 gap-5

Icons (Lucide)

LayoutDashboard
LineChart
Wallet
Users
Package
FileText
Bell
Settings
Search
Home
DollarSign
ShoppingCart
AlertTriangle
Eye
MousePointer
Clock
RotateCcw
ArrowUp
ArrowDown
Download

Import: import { IconName } from 'lucide-react'

Size: w-4 h-4 (small), w-5 h-5 (normal)

Multi-Role Theme System - Design System Reference

Built with Next.js 16, Tailwind CSS 4, shadcn/ui, Lucide Icons

Roles: Admin (Slate Enterprise) | EPC (Charcoal Gold) | Producer (Teal Professional)