# Material Design 3 Color Scheme Documentation ## Project Management Application for Scrum Teams **Version:** 1.0 **Date:** April 22, 2026 **Application:** Desktop-first fullstack web application for solo developers and small Scrum Teams --- ## Table of Contents 1. [Color Philosophy](#color-philosophy) 2. [Complete Color Palette](#complete-color-palette) 3. [Surface Elevation System](#surface-elevation-system) 4. [Color Roles](#color-roles) 5. [Semantic States](#semantic-states) 6. [Project Management Colors](#project-management-colors) 7. [Usage Examples](#usage-examples) 8. [Implementation Guide](#implementation-guide) 9. [Accessibility](#accessibility) 10. [Best Practices](#best-practices) --- ## Color Philosophy This color scheme follows Material Design 3 principles with three main color roles optimized for productivity software: - **Primary (Blue)** - Represents productivity, trust, and professionalism. Used for main actions and navigation. - **Secondary (Purple)** - Represents planning and organization. Used for supporting UI elements. - **Tertiary (Teal)** - Represents progress and data visualization. Used for highlights and metrics. The system uses **tonal elevation** instead of shadows to create depth, providing a modern, clean interface suitable for extended desktop work sessions. --- ## Complete Color Palette ### Light Theme Colors #### Primary Colors (Blue - Productivity) | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--primary` | `#0061a4` | Primary buttons, key actions | | `--primary-foreground` | `#ffffff` | Text on primary background | | `--primary-container` | `#d1e4ff` | Low emphasis primary elements | | `--primary-container-foreground` | `#001d36` | Text on primary container | #### Secondary Colors (Purple - Planning) | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--secondary` | `#5b5e71` | Secondary buttons, less critical actions | | `--secondary-foreground` | `#ffffff` | Text on secondary background | | `--secondary-container` | `#dfe1f9` | Low emphasis secondary elements | | `--secondary-container-foreground` | `#181b2c` | Text on secondary container | #### Tertiary Colors (Teal - Progress) | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--tertiary` | `#006874` | Highlights, progress indicators | | `--tertiary-foreground` | `#ffffff` | Text on tertiary background | | `--tertiary-container` | `#97f0ff` | Low emphasis tertiary elements | | `--tertiary-container-foreground` | `#001f24` | Text on tertiary container | #### Surface Colors (Elevation System) | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--background` | `#fdfcff` | Main app background | | `--foreground` | `#1b1b1f` | Main text color | | `--surface-container-lowest` | `#ffffff` | Highest elevation (dialogs) | | `--surface-container-low` | `#f7f5fc` | Cards, elevated containers | | `--surface-container` | `#f1eff6` | Default container background | | `--surface-container-high` | `#ebeaf0` | Nested containers | | `--surface-container-highest` | `#e6e3ea` | Lowest elevation | #### Semantic State Colors | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--success` | `#006e1c` | Success states, completed items | | `--success-foreground` | `#ffffff` | Text on success background | | `--success-container` | `#92f894` | Low emphasis success | | `--warning` | `#735b00` | Warning states, attention needed | | `--warning-foreground` | `#ffffff` | Text on warning background | | `--warning-container` | `#ffdf9d` | Low emphasis warning | | `--error` | `#ba1a1a` | Error states, failures | | `--error-foreground` | `#ffffff` | Text on error background | | `--error-container` | `#ffdad6` | Low emphasis error | | `--info` | `#006493` | Information, neutral alerts | | `--info-foreground` | `#ffffff` | Text on info background | | `--info-container` | `#c9e6ff` | Low emphasis info | #### Project Management Specific Colors **Work Item Status** | Color Token | Hex Code | Status | |-------------|----------|--------| | `--status-todo` | `#6750a4` | Not started (Purple) | | `--status-in-progress` | `#0061a4` | Active work (Blue) | | `--status-done` | `#006e1c` | Completed (Green) | | `--status-blocked` | `#ba1a1a` | Blocked/Issues (Red) | **Priority Levels** | Color Token | Hex Code | Priority | |-------------|----------|----------| | `--priority-critical` | `#ba1a1a` | Critical (Red) | | `--priority-high` | `#c75300` | High (Orange) | | `--priority-medium` | `#735b00` | Medium (Yellow) | | `--priority-low` | `#006874` | Low (Teal) | --- ### Dark Theme Colors #### Primary Colors (Blue - Productivity) | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--primary` | `#9fcbfa` | Primary buttons, key actions | | `--primary-foreground` | `#003257` | Text on primary background | | `--primary-container` | `#00497b` | Low emphasis primary elements | | `--primary-container-foreground` | `#d1e4ff` | Text on primary container | #### Secondary Colors (Purple - Planning) | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--secondary` | `#c3c4dd` | Secondary buttons | | `--secondary-foreground` | `#2c2f42` | Text on secondary background | | `--secondary-container` | `#434659` | Low emphasis secondary elements | | `--secondary-container-foreground` | `#dfe1f9` | Text on secondary container | #### Tertiary Colors (Teal - Progress) | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--tertiary` | `#4fd8eb` | Highlights, progress indicators | | `--tertiary-foreground` | `#00363d` | Text on tertiary background | | `--tertiary-container` | `#004f58` | Low emphasis tertiary elements | | `--tertiary-container-foreground` | `#97f0ff` | Text on tertiary container | #### Surface Colors (Elevation System) | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--background` | `#1b1b1f` | Main app background | | `--foreground` | `#e4e1e9` | Main text color | | `--surface-container-lowest` | `#0f0e13` | Highest elevation (dialogs) | | `--surface-container-low` | `#232227` | Cards, elevated containers | | `--surface-container` | `#27262b` | Default container background | | `--surface-container-high` | `#322f36` | Nested containers | | `--surface-container-highest` | `#3d3a41` | Lowest elevation | #### Semantic State Colors | Color Token | Hex Code | Usage | |-------------|----------|-------| | `--success` | `#77db77` | Success states | | `--success-container` | `#005313` | Low emphasis success | | `--warning` | `#efc047` | Warning states | | `--warning-container` | `#574400` | Low emphasis warning | | `--error` | `#ffb4ab` | Error states | | `--error-container` | `#93000a` | Low emphasis error | | `--info` | `#87ceff` | Information | | `--info-container` | `#004c6d` | Low emphasis info | #### Project Management Specific Colors (Dark) **Work Item Status** | Color Token | Hex Code | Status | |-------------|----------|--------| | `--status-todo` | `#cfbdfe` | Not started (Purple) | | `--status-in-progress` | `#9fcbfa` | Active work (Blue) | | `--status-done` | `#77db77` | Completed (Green) | | `--status-blocked` | `#ffb4ab` | Blocked/Issues (Red) | **Priority Levels** | Color Token | Hex Code | Priority | |-------------|----------|----------| | `--priority-critical` | `#ffb4ab` | Critical (Red) | | `--priority-high` | `#ffb68d` | High (Orange) | | `--priority-medium` | `#efc047` | Medium (Yellow) | | `--priority-low` | `#4fd8eb` | Low (Teal) | --- ## Surface Elevation System Material Design 3 uses **tonal elevation** to create depth. Higher surfaces are lighter (in light mode) or darker (in dark mode). ### Hierarchy (from highest to lowest elevation) 1. **surface-container-lowest** - Dialogs, modals, popovers 2. **surface-container-low** - Cards, panels, elevated containers 3. **surface-container** - Default container background 4. **surface-container-high** - Nested containers, grouped elements 5. **surface-container-highest** - Background-level containers ### Tailwind Usage ```tsx bg-surface-container-lowest bg-surface-container-low bg-surface-container bg-surface-container-high bg-surface-container-highest ``` --- ## Color Roles ### Primary (Productivity & Trust) Use for: - Main action buttons - Navigation highlights - Active states - Key interactive elements **Examples:** ```tsx // Filled button // Outline button (less emphasis) // Container variant (even less emphasis)
Add OAuth2 support for Google and GitHub authentication providers with proper session management and refresh token handling.
Users are redirected to wrong page after login