Skip to content

samuxbuilds/codex-themes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Codex Themes Gallery

Interactive theme gallery with 1000+ customizable themes for Codex editor

Built with React Powered by Vite Deployed on Cloudflare MIT License

Browse, preview, customize, and export themes for your Codex editor in seconds

Codex Themes Gallery

✨ Features

  • 1000+ Curated Themes β€” Editor presets (Dracula, Nord, Tokyo Night, GitHub), brand palettes (Vercel, Stripe, Linear), color families, accessibility variants, and more
  • Live Preview β€” See theme changes in real-time with a miniature Codex UI component
  • Theme Editor β€” Customize accent color, background, foreground, fonts, contrast, and more
  • Smart Search & Filtering β€” Filter by category, variant (light/dark), or search by theme name and tags
  • Responsive Design β€” Works seamlessly on desktop and mobile with virtualized scrolling
  • One-Click Export β€” Copy theme config string and paste directly into Codex Settings
  • Accessibility First β€” High contrast theme variants, WCAG compliant UI
  • Zero Dependencies for Themes β€” Pure theme data generation, no external API calls

πŸš€ Getting Started

Visit the Gallery

Open the Codex Themes Gallery to browse and explore themes instantly.

Quick Start (5 minutes)

  1. Browse β€” Navigate through 1000+ themes by category or search
  2. Preview β€” Live preview shows exactly how the theme looks in Codex
  3. Customize (optional) β€” Click "Customize Theme" to adjust colors, contrast, and fonts
  4. Copy β€” Click "Copy Theme Config" or copy the config string
  5. Apply β€” Open Codex β†’ Settings β†’ Appearance β†’ Import β†’ Paste config string

See Getting Started Guide for detailed instructions.

πŸ“š Theme Categories

Our collection spans 15+ carefully curated categories:

Category Description Count
Editor Classic editor themes (Dracula, Monokai, VS Code, etc.) 50+
Brand Company & platform themes (Vercel, GitHub, Stripe, LinearApp, etc.) 25+
Color Family Organized by hue (Red, Blue, Purple, Green, etc.) 400+
Neutral Monochrome & grayscale with accent colors 30+
Nature Seasonal & earth-inspired themes 20+
Mood Aesthetic themes (Zen, Noir, Brutalist, Vaporwave, etc.) 20+
Accessibility A11Y-optimized, colorblind-friendly, high contrast 10+
Spectrum Full hue sweep (0-360Β°) with 4 styles each 144+
Duo-tone Complementary color pair themes 80+
Framework Tech stacks (React, Vue, Rust, Python, Go, etc.) 35+
City City-inspired themes (Tokyo, Paris, NYC, Seoul, etc.) 20+
Gradient Multi-color gradient themes 50+
Contrast High/low/ultra contrast variants 40+
Soft Pastel & gentle soft-light themes 60+

Browse all categories in the Themes Overview.

πŸ’‘ Use Cases

  • Dark / Light Switching β€” Export two versions (dark & light) and toggle based on time of day
  • Client Branding β€” Create custom theme with client colors and export for distribution
  • Accessibility β€” Use high-contrast or colorblind-friendly themes for better eye comfort
  • Team Consistency β€” Share theme config strings with your team for unified editor appearance
  • Mood Theming β€” Switch themes based on project or time of day (productive, creative, zen modes)
  • Framework Matching β€” Use framework-specific themes that match your tech stack aesthetics

🎨 Popular Themes

Quick copy-paste for the most requested themes:

# Dracula (Dark)
codex-theme-v1:{"codeThemeId":"notion","theme":{"accent":"#bd93f9","contrast":60,"fonts":{"code":null,"ui":null},"ink":"#f8f8f2","opaqueWindows":false,"semanticColors":{"diffAdded":"#50fa7b","diffRemoved":"#ff5555","skill":"#8be9fd"},"surface":"#282a36"},"variant":"dark"}

# Nord (Dark)
codex-theme-v1:{"codeThemeId":"notion","theme":{"accent":"#88c0d0","contrast":55,"fonts":{"code":null,"ui":null},"ink":"#d8dee9","opaqueWindows":false,"semanticColors":{"diffAdded":"#a3be8c","diffRemoved":"#bf616a","skill":"#81a1c1"},"surface":"#2e3440"},"variant":"dark"}

# Tokyo Night (Dark)
codex-theme-v1:{"codeThemeId":"notion","theme":{"accent":"#7aa2f7","contrast":58,"fonts":{"code":null,"ui":null},"ink":"#a9b1d6","opaqueWindows":false,"semanticColors":{"diffAdded":"#9ece6a","diffRemoved":"#f7768e","skill":"#7dcfff"},"surface":"#1a1b26"},"variant":"dark"}

# GitHub Light
codex-theme-v1:{"codeThemeId":"notion","theme":{"accent":"#0969da","contrast":38,"fonts":{"code":null,"ui":null},"ink":"#24292f","opaqueWindows":true,"semanticColors":{"diffAdded":"#1a7f37","diffRemoved":"#cf222e","skill":"#0969da"},"surface":"#ffffff"},"variant":"light"}

# Vercel (Dark)
codex-theme-v1:{"codeThemeId":"notion","theme":{"accent":"#ffffff","contrast":70,"fonts":{"code":null,"ui":null},"ink":"#ededed","opaqueWindows":false,"semanticColors":{"diffAdded":"#50e3c2","diffRemoved":"#ee0000","skill":"#0070f3"},"surface":"#000000"},"variant":"dark"}

More theme snippets available in Theme Snippets & Code.

🎯 How It Works

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚       Codex Themes Gallery              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Theme Generator (1000+ themes)         β”‚
β”‚  β”œβ”€ Editor Presets (50+ themes)         β”‚
β”‚  β”œβ”€ Brand Palettes (25+ themes)         β”‚
β”‚  β”œβ”€ Color Families (400+ themes)        β”‚
β”‚  β”œβ”€ Neutral/Seasonal/Mood (50+)         β”‚
β”‚  β”œβ”€ Spectrum Sweep (144+ hues)          β”‚
β”‚  β”œβ”€ Duo-tone Combos (80+)               β”‚
β”‚  └─ Framework/City/Gradient (145+)      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚
       β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
       β”‚  Interactive   β”‚
       β”‚  Gallery       β”‚
       β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
       β”‚ β€’ Search       β”‚
       β”‚ β€’ Filter       β”‚
       β”‚ β€’ Preview      β”‚
       β”‚ β€’ Customize    β”‚
       β”‚ β€’ Export       β”‚
       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Theme Data Structure

Each theme includes:

interface CodexTheme {
  id: string;           // Unique identifier
  name: string;         // Display name
  category: string;     // Category (Editor, Brand, etc.)
  variant: "light" | "dark"; // Theme variant
  tags: string[];       // Searchable tags
  theme: {
    accent: string;     // Primary accent color (#rrggbb)
    surface: string;    // Background color
    ink: string;        // Foreground/text color
    contrast: number;   // 0-100 contrast level
    opaqueWindows: boolean; // Window opacity
    fonts: {
      ui: string | null;      // UI font family
      code: string | null;    // Code font family
    };
    semanticColors: {
      diffAdded: string;      // Diff addition color
      diffRemoved: string;    // Diff removal color
      skill: string;          // Skill highlight color
    };
  };
}

πŸ“– Documentation

πŸ’» Development

Run Locally

# Install dependencies
npm install

# Start development server
npm run dev
# Open http://localhost:5174

# Build for production
npm run build

# Preview production build
npm run preview

Tech Stack

  • React 19 β€” Component framework
  • Vite 8 β€” Build tool
  • Tailwind CSS 4 β€” Utility-first CSS
  • Framer Motion β€” Animations
  • React Virtual β€” Virtual scrolling (1000+ themes)
  • Lucide Icons β€” Icon library
  • TypeScript β€” Type safety
  • Cloudflare Pages β€” Deployment

Project Structure

src/
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ ThemeGrid.tsx        # Main gallery layout
β”‚   β”œβ”€β”€ CodexPreview.tsx     # Theme preview components
β”‚   β”œβ”€β”€ ThemeEditor.tsx      # Customizer panel
β”‚   └── ThemeGrid.tsx        # Search, filters, virtual grid
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ theme-generator.ts   # Generate 1000+ themes
β”‚   └── types.ts             # TypeScript interfaces
β”œβ”€β”€ App.tsx                  # Root component
β”œβ”€β”€ main.tsx                 # Entry point
└── index.css                # Global styles + Tailwind

πŸš€ Deployment

Deploy to Cloudflare Pages

# Install Wrangler CLI
npm install -g wrangler

# Deploy
npm run deploy
# or
wrangler deploy

Deploy to Vercel

# Install Vercel CLI
npm install -g vercel

# Deploy
vercel

Deploy to Netlify

npm run build
# Upload dist/ folder to Netlify

πŸŽ“ Creating Your Own Themes

How to Add Custom Themes

Edit src/lib/theme-generator.ts and add to the appropriate array:

// Add to editorThemes array
makeTheme(
  "my-theme",           // id
  "My Theme",           // name
  "my-theme",           // codeThemeId
  "dark",               // variant
  "Custom",             // category
  ["custom", "dark"],   // tags
  "#a78bfa",            // accent
  "#18181b",            // surface
  "#f8f8f2",            // ink
  60,                   // contrast
  "#3fb950",            // diffAdded
  "#f85149",            // diffRemoved
  "#58a6ff"             // skill
),

Then rebuild:

npm run build

🀝 Contributing

Contributions welcome! To add themes or improve the gallery:

  1. Fork the repository
  2. Create a branch: git checkout -b feature/add-themes
  3. Add themes to src/lib/theme-generator.ts
  4. Test locally with npm run dev
  5. Submit a pull request

πŸ“ License

MIT Β© 2026 β€” Free to use and modify

πŸ™‹ FAQ

Q: Can I customize themes directly in the gallery?
A: Yes! Click "Customize Theme" on any theme card to modify colors, fonts, and contrast in real-time.

Q: How do I apply a theme to Codex?
A: Copy the config string, open Codex β†’ Settings β†’ Appearance β†’ click "Import" β†’ paste the string.

Q: Can I use these themes in other editors?
A: These themes are specifically designed for Codex. You can adapt the colors for other editors by manually recreating the theme.

Q: Are there accessibility-optimized themes?
A: Yes! Check the "Accessibility" category for WCAG-compliant, high-contrast, and colorblind-friendly themes.

Q: Can I export multiple themes at once?
A: Currently, you can export one at a time. We're working on batch export functionality.

See Full FAQ for more questions.

πŸ”— Links


Made with πŸ’œ for code lovers. Happy theming! 🎨

About

Interactive gallery of 1000+ customizable themes for Codex with live preview and export

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors