1---2name: ui-design-system-23description: The Design System, Theme, and UX rules for the Physical AI Hub.4---5
6# UI Design System & Theme
7
8## Core Philosophy
9- **Aesthetic**: Premium, Modern, "Physical AI" (Dark, Sleek, Futuristic).
10- **Feel**: Smooth, Responsive, High-End.
11
12## Typography
13- **Font**: **Poppins** (Geometric Sans-Serif).
14- **Weights**: 400 (Regular), 500 (Medium), 600 (Semi-Bold), 700 (Bold).
15- **Usage**: Clean, legible, widely spaced.
16
17## Color Palette (Dark Mode - Primary)
18- **Background**: `linear-gradient(135deg, #1a1f28 0%, #161b23 50%, #0f1419 100%)`
19- **Primary Accent**: `#2d7d6c` (Teal/Greenish) used in buttons and highlights.
20- **Text**: `#ededed` (Off-white for readability).
21- **Borders**: Subtle, often `rgba(255, 255, 255, 0.1)`.
22
23## Components
24- **Buttons**: Rounded corners, smooth hover transitions, subtle shadows.
25- **Cards**: Glassmorphism effect (blur + transparency), rounded corners (`12px` or `16px`).
26- **Inputs**: Rounded (`24px`), borderless or subtle border, focus rings.
27- **Dropdowns**: Floating, animated slide-in, shadow depth.
28
29## Animations
30- **Transitions**: `all 0.2s ease` or `cubic-bezier` for premium feel.
31- **Keyframes**: `fadeIn`, `slideIn`, `dropdownSlideIn`.
32
33## CSS Structure
34- **Global**: `app/globals.css` (Tailwind + Variables).
35- **Docusaurus**: `textbook/src/css/custom.css` (Overrides).
36- **Modules**: `styles.module.css` for complex components (like Chatbot, Dropdown).