Bluewoo HRMS
Design System

Design System

HRMSElegance Design System - The source of truth for UI development

HRMSElegance Design System

This design system defines the source of truth for all UI development in the HRMS project. It is based on the HRMSElegance prototype and must be followed by all developers and AI coding agents.


Visual Reference

This is what you are building. All UI implementations must match this aesthetic:

Desktop Views

Profile Page Profile page with gradient balance cards, tabs navigation, and reporting structure

Settings Page Settings page with sidebar navigation and form layouts

Key Components

Sidebar Navigation Sidebar with blue active states, user profile at bottom

Additional Screenshots

The following screenshots should be added to /public/images/design-system/:

PageFilenameKey Features
Dashboarddashboard.pngGradient stats cards, widget grid, "Good morning" greeting
Employeesemployees.pngTable with avatars, department badges, status indicators
Time Offtime-off.pngBalance cards with progress bars, request list
Documentsdocuments.pngCategory groups, document cards
AI Assistantai-assistant-collapsed.pngFloating button + modal overlay
AI Assistantai-assistant-expanded.pngFull-screen chat interface
Profile Mobileprofile-mobile.pngMobile-responsive layout

See /public/images/design-system/README.md for instructions on capturing missing screenshots.


Quick Reference

ElementValue
Primary Color#008CF0 (blue-500)
Background#F2F2F7 (gray-100)
Card Radiusrounded-2xl (16px)
Card Shadowshadow-lg shadow-gray-200/50
Card Paddingp-6 minimum

Design Philosophy

This design follows the HRMSElegance prototype aesthetic:

  • Background: Apple-style #F2F2F7 with white cards
  • Sidebar: Theme-aware (white in light mode, dark gray in dark mode)
  • Stats Cards: COLORFUL gradients with white text and hover lift effects
  • Content Cards: White with soft shadows, no borders
  • Buttons: Primary blue (#008CF0), pill-shaped with scale effects
  • AI Button: Violet→Purple→Fuchsia gradient with glow effect
  • Whitespace: Generous spacing throughout
  • Transitions: Spring-based animations with Framer Motion

DO NOT create a wireframe with plain white cards and gray borders. Use COLOR strategically.

Documentation Structure

SectionPurpose
Design TokensColors, spacing, shadows, radius
ComponentsComponent patterns and code examples
LayoutsSidebar, TopBar, page structure
ConfigurationTailwind, CSS, shadcn config
AI RulesMandatory rules for AI agents
ValidationImplementation checklists

Tech Stack

  • React 19.x with TypeScript
  • Tailwind CSS 3.4 with CSS variables
  • shadcn/ui components (Radix UI primitives)
  • Framer Motion for animations
  • Lucide React for icons
  • Recharts for data visualization

Critical Rules Summary

  1. NEVER create plain white cards with gray borders
  2. ALWAYS use gradient backgrounds for stats cards
  3. ALWAYS use shadow-lg on content cards (not borders)
  4. ALWAYS use rounded-2xl (16px) on cards
  5. ALWAYS use CSS variables (bg-card, not bg-white)
  6. ALWAYS support dark mode with dark: variants
  7. NEVER use spacing less than p-6 on cards

See AI Rules for the complete governance document.