Skip to main content
SubZeroDev

Professional uncertainty since 2026.

Wellโ€ฆ Why not?


๐ŸŽจ Theme Switcher

Experience the dynamic theme switching system with 12+ professionally designed themes. Changes persist across page loads and sync with system preferences.

๐Ÿ”„ Interactive Theme Switcher

Use the theme switcher in the navbar (top right) to change the site's appearance in real-time. Watch how the theme changes affect the entire site:

๐Ÿ‘† Use the theme switcher in the navbar above

๐ŸŽญ Available Themes

Click on any theme preview to see it applied to the site:

Default Theme

The standard Docusaurus theme with professional blue accents

Primary: #2e8555

Professional Blue

Clean blue theme for corporate and professional sites

Primary: #1976d2

Creative Purple

Vibrant purple theme for creative and artistic projects

Primary: #7c4dff

Warm Sunset

Warm orange and yellow gradient theme

Primary: #ff6b35

Nature Forest

Calm green theme inspired by nature

Primary: #2e7d32

Material Indigo

Google Material Design indigo theme

Primary: #3f51b5

Material Pink

Google Material Design pink theme

Primary: #e91e63

Material Teal

Google Material Design teal theme

Primary: #009688

Material Amber

Google Material Design amber theme

Primary: #ffc107

Material Red

Google Material Design red theme

Primary: #f44336

Agent Theme

Dark, sleek theme for tech and development projects

Primary: #00bcd4

High Contrast

High contrast theme for accessibility

Primary: #ff0000

โš™๏ธ Technical Features

๐Ÿ”ง Configuration

  • โœ… Persistent Storage: Theme preference saved in localStorage
  • โœ… System Integration: Respects system dark/light mode preferences
  • โœ… Dynamic Loading: CSS themes loaded on-demand
  • โœ… Schema Validation: Theme configuration validated with Zod

๐ŸŽฏ Usage Patterns

  • โœ… Navbar Integration: Available in site navigation
  • โœ… Responsive Design: Works on all device sizes
  • โœ… Accessibility: High contrast options available
  • โœ… Customizable: Easy to add new themes

๐Ÿ’ป Implementation

Basic Usage

import ThemeSwitcher from '@site/src/components/ThemeSwitcher';

// Simple usage - renders dropdown with all themes
<ThemeSwitcher />

// In navbar (automatic integration)
// The component is automatically available in navbar items

Theme Configuration (themes.yml)

defaultTheme: "default"
themes:
  - id: "blue"
    name: "Professional Blue"
    cssFile: "blue.css"
  - id: "purple"
    name: "Creative Purple" 
    cssFile: "purple.css"
  # ... more themes