---
name: ui-ux-design
description: UI/UX design patterns and best practices for the LMS. Activate when designing pages, creating layouts, working on user experience, or building navigation.
---
# UI/UX Design for DevOps LMS
## Activation Triggers
- Designing new pages or layouts
- Creating navigation structures
- Working on user flows
- Building responsive designs
- Implementing accessibility features
- Designing progress visualization
## Design System
### Color Palette (Dark Mode)
```css
/* Backgrounds */
--bg-base: #111827; /* gray-900 - Main background */
--bg-elevated: #1f2937; /* gray-800 - Cards, sidebars */
--bg-hover: #374151; /* gray-700 - Hover states */
/* Text */
--text-primary: #f9fafb; /* gray-50 - Headings */
--text-secondary: #e5e7eb; /* gray-200 - Body text */
--text-muted: #9ca3af; /* gray-400 - Secondary info */
--text-disabled: #6b7280; /* gray-500 - Disabled */
/* Accent Colors */
--primary: #6366f1; /* indigo-500 - Primary actions */
--success: #22c55e; /* green-500 - Completed */
--warning: #f59e0b; /* amber-500 - In progress */
--error: #ef4444; /* red-500 - Failed/errors */
/* Borders */
--border: #374151; /* gray-700 */
```
### Typography Scale
```css
/* Headings */
.text-4xl /* 36px - Page titles */
.text-2xl /* 24px - Section headers */
.text-xl /* 20px - Card titles */
.text-lg /* 18px - Subsection headers */
.text-base /* 16px - Body text */
.text-sm /* 14px - Secondary text */
.text-xs /* 12px - Badges, labels */
/* Font Weights */
.font-bold /* 700 - Headings */
.font-semibold /* 600 - Subheadings */
.font-medium /* 500 - Emphasis */
.font-normal /* 400 - Body */
```
### Spacing System
```css
/* Use consistent spacing */
.space-y-2 /* 8px - Tight grouping */
.space-y-4 /* 16px - Related items */
.space-y-6 /* 24px - Sections */
.space-y-8 /* 32px - Major sections */
/* Padding */
.p-4 /* 16px - Card content */
.p-6 /* 24px - Large cards */
.px-4 /* Horizontal padding */
.py-2 /* Vertical padding for buttons */
```
## Page Layouts
### Dashboard Layout (Home Page)
```
┌─────────────────────────────────────────────────────────────┐
│ Header: Logo + Navigation + Progress Summary │
├─────────────────────────────────────────────────────────────┤
│ │
│ Hero Section │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ Overall Progress: 45/527 lessons (8.5%) │ │
│ │ [████████░░░░░░░░░░░░░░░░░░░░░░░░░░] 8.5% │ │
│ │ [Continue Learning] [View Certificate] │ │
│ └─────────────────────────────────────────────────────┘ │
│ │
│ Phase Grid (2-3 columns) │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Phase 1 │ │ Phase 2 │ │ Phase 3 │ │
│ │ SDLC │ │ Foundations │ │ Cloud │ │
│ │ ████░░ 80% │ │ ██░░░░ 33% │ │ ░░░░░░ 0% │ │
│ │ 4/5 topics │ │ 2/6 topics │ │ 0/9 topics │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘
```
### Lesson Layout
```
┌─────────────────────────────────────────────────────────────┐
│ Breadcrumb: Home > Phase 1 > SDLC Models > Waterfall │
├──────────────┬──────────────────────────────────────────────┤
│ │ │
│ Sidebar │ Lesson Content │
│ (240px) │ │
│ │ ┌────────────────────────────────────────┐ │
│ Phase 1 ▼ │ │ Waterfall Model │ │
│ ├ SDLC │ │ ⏱ 15 min • 🟢 Beginner │ │
│ │ Models ▼ │ └────────────────────────────────────────┘ │
│ │ ├ ✓ Water │ │
│ │ ├ ○ Agile │ ## What is Waterfall? │
│ │ └ ○ Scrum │ The Waterfall model is a linear... │
│ └ Phases │ │
│ │ ## Key Phases │
│ Phase 2 │ 1. Requirements │
│ Phase 3 │ 2. Design │
│ │ ... │
│ │ │
│ │ ┌────────────────────────────────────────┐ │
│ │ │ [Mark Complete] [← Prev] [Next →] │ │
│ │ └────────────────────────────────────────┘ │
│ │ │
│ │ Quiz Section (collapsible) │
│ │ ┌────────────────────────────────────────┐ │
│ │ │ Question 1 of 4 │ │
│ │ │ What is the main characteristic... │ │
│ │ │ ○ Option A │ │
│ │ │ ○ Option B │ │
│ │ │ ● Option C ✓ │ │
│ │ │ ○ Option D │ │
│ │ └────────────────────────────────────────┘ │
│ │ │
└──────────────┴──────────────────────────────────────────────┘
```
### Progress Page Layout
```
┌─────────────────────────────────────────────────────────────┐
│ Your Learning Progress │
├─────────────────────────────────────────────────────────────┤
│ │
│ Stats Cards (4 columns) │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ 45 │ │ 8.5% │ │ 12h 30m │ │ 3 │ │
│ │ Completed│ │ Progress │ │ Time │ │ Quizzes │ │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
│ │
│ Phase Progress (Accordion) │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ ▼ Phase 1: SDLC 80% ████░ │ │
│ │ ├ SDLC Models 100% ████ │ │
│ │ ├ SDLC Phases 60% ███░ │ │
│ │ └ Development Workflows 0% ░░░░ │ │
│ ├─────────────────────────────────────────────────────┤ │
│ │ ▶ Phase 2: Foundations 33% ██░░░ │ │
│ └─────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘
```
## Component Patterns
### Phase Card
```vue
4 topics • 20 lessonsPhase 1: SDLC
Start exploring the roadmap to begin your DevOps learning journey.
{{ error.message }}