A dark theme based on the authentic Numix GTK theme color palette with accessibility improvements for Zed editor.
- Authentic Numix Colors - Directly sourced from the original Numix GTK theme
- Accessibility-First Design - WCAG AA compliant contrast ratios
- Color Blindness Friendly - Distinct luminance values for red/green differentiation
- Dark Theme - Optimized for long coding sessions
- Comprehensive Language Support - Syntax highlighting via tree-sitter
| Feature | Enhancement |
|---|---|
| Contrast Ratios | All text meets WCAG AA (4.5:1) or AAA (7:1) standards |
| Color Blindness | Red/green elements use distinct luminance values (25%+ difference) |
| Focus Indicators | High-visibility focus states throughout UI |
| Selection Visibility | Semi-transparent overlays maintain readability |
| Error States | Light red text on dark backgrounds for clarity |
| Link Colors | Blue with underline for universal recognition |
| Hover States | Subtle background shifts without losing contrast |
| Color Role | Hex | Contrast on #2a2a2a | WCAG Level |
|---|---|---|---|
| Background | #2a2a2a | - | - |
| Foreground | #e8e8e8 | 12.6:1 | AAA |
| Comment | #9a9a9a | 5.2:1 | AA |
| Selection | #f0544c | 4.6:1 | AA |
| Success | #81c784 | 5.8:1 | AA |
| Warning | #ffb74d | 5.1:1 | AA |
| Error | #e57373 | 4.8:1 | AA |
| Info | #64b5f6 | 5.3:1 | AA |
| Purple | #ba68c8 | 4.7:1 | AA |
| Teal | #4db6ac | 4.6:1 | AA |
Zed uses tree-sitter for syntax highlighting, which provides automatic grammar-based tokenization for many languages. The theme's syntax colors are automatically applied based on the language's grammar rules.
| Category | Languages |
|---|---|
| Web | JavaScript, TypeScript, HTML, CSS, JSON, JSONc |
| Scripting | Python, Shell/Bash, Fish, PowerShell, Lua |
| Systems | C, C++, Rust, Go, Java, C#, Zig |
| Data | SQL, YAML, TOML, JSON, CSV |
| Markup | Markdown, HTML, XML, CSS, SCSS |
| Functional | Haskell, Erlang, Elixir, Clojure, OCaml, F# |
| Other | PHP, Ruby, Swift, Dart, Kotlin, Scala, R, Julia, Perl |
The theme covers all major syntax categories:
- Keywords: Control flow, storage types, modifiers
- Strings: Regular strings, escape sequences, templates
- Numbers: Integers, floats, hex, binary
- Functions: Function calls, methods, constructors
- Types: Classes, interfaces, enums, primitives
- Variables: Local variables, parameters, members
- Comments: Line comments, block comments, doc comments
- Operators: Arithmetic, logical, bitwise, comparison
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Select
zed: extensions - Search for "Numix"
- Click "Install"
Copy the theme file to your Zed themes directory:
# Create themes directory if it doesn't exist
mkdir -p ~/.config/zed/themes
# Copy the theme file
cp themes/numix.json ~/.config/zed/themes/numix.json
# Restart Zed and activate via theme selector- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Select
theme selector: toggle - Search for "Numix"
- Select "Numix"
- Zed editor installed
- Basic text editor
# Edit the theme file
vim themes/numix.json
# Preview changes in Zed
# 1. Open Command Palette
# 2. Select "Reload Window" or restart Zed
# Validate theme
./validate_theme.sh- Open Command Palette
- Select
Install Dev Extension - Navigate to this repository
- Select the theme file
- Fork or clone this repository
- Update version in
extension.toml - Create a release on GitHub
- Submit to Zed extensions repository
numix-zed-theme/
├── themes/
│ └── numix.json # Zed theme definition
├── extension.toml # Zed extension manifest
├── LICENSE # GPL-3.0 license
├── README.md # This file
├── CHANGELOG.md # Version history
├── CONTRIBUTING.md # Contribution guidelines
├── MIGRATION.md # Migration documentation
├── validate_theme.sh # Theme validation script
└── .gitignore # Git ignore rules
Use the validation script to ensure theme correctness:
./validate_theme.shThis checks:
- JSON syntax validity
- Zed theme structure
- Required fields and schema compliance
- Accessibility color format
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make your changes
- Validate:
./validate_theme.sh - Submit a pull request
- Follow existing color conventions
- Maintain WCAG AA compliance
- Test with color blindness simulators
- Add appropriate syntax categories for new languages
Based on the original Numix GTK Theme by:
- Simon Steinbeiß
- Joern Konopka
- Georgi Karavasilev
- David Barr
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
See LICENSE for full text.
Made with care by Numix UI and LoboGuardian