Skip to main content
wit includes a comprehensive theme system for customizing the visual appearance of the web UI and terminal output.

Available Themes

wit ships with 7 built-in themes:

Setting a Theme

Web UI

Terminal

Theme Preview

GitHub Dark (Default)

The default theme with GitHub’s familiar dark color palette.
  • Primary: #58a6ff (blue)
  • Success: #3fb950 (green)
  • Warning: #d29922 (yellow)
  • Danger: #f85149 (red)

GitHub Light

Clean light theme for bright environments.
  • Primary: #0969da (blue)
  • Success: #1a7f37 (green)
  • Warning: #9a6700 (yellow)
  • Danger: #cf222e (red)

Dracula

Vibrant dark theme with excellent readability.
  • Primary: #8be9fd (cyan)
  • Success: #50fa7b (green)
  • Warning: #f1fa8c (yellow)
  • Danger: #ff5555 (red)

Nord

Arctic color palette with a calm aesthetic.
  • Primary: #88c0d0 (frost blue)
  • Success: #a3be8c (aurora green)
  • Warning: #ebcb8b (aurora yellow)
  • Danger: #bf616a (aurora red)

High Contrast

Maximum contrast for accessibility.
  • Primary: #00ffff (cyan)
  • Success: #00ff00 (lime)
  • Warning: #ffff00 (yellow)
  • Danger: #ff0000 (red)

Theme Colors

Color Categories

Each theme defines colors for: Backgrounds:
  • bgPrimary - Main background
  • bgSecondary - Secondary areas
  • bgTertiary - Tertiary areas
  • bgElevated - Elevated elements
  • bgOverlay - Overlays and modals
Text:
  • textPrimary - Primary text
  • textSecondary - Secondary text
  • textMuted - Muted/disabled text
  • textInverse - Text on colored backgrounds
Accents:
  • accentPrimary - Primary accent (links, buttons)
  • accentSecondary - Secondary accent
  • accentSuccess - Success states
  • accentWarning - Warning states
  • accentDanger - Error/danger states
  • accentInfo - Informational
Git-Specific:
  • gitAdded - Added files/lines
  • gitModified - Modified files/lines
  • gitDeleted - Deleted files/lines
  • gitUntracked - Untracked files
  • gitConflict - Conflict markers
  • gitRenamed - Renamed files
Syntax Highlighting:
  • syntaxKeyword - Keywords
  • syntaxString - Strings
  • syntaxNumber - Numbers
  • syntaxComment - Comments
  • syntaxFunction - Functions
  • syntaxVariable - Variables
  • syntaxOperator - Operators
  • syntaxType - Types
Graph Colors:
  • 8 distinct colors for branch visualization

Using in Code

Get a Theme

Generate CSS

Generated CSS uses custom properties:

Generate Terminal Colors

Theme Manager

For dynamic theme switching:

Custom Themes

Create a custom theme by extending an existing one:

Typography

Themes include typography settings:

Spacing and Effects

Accessibility

High Contrast Theme

The high-contrast theme is designed for maximum accessibility:
  • Pure black background (#000000)
  • Pure white text (#ffffff)
  • Bright, saturated colors
  • No rounded corners (easier to see boundaries)

Color Blindness

Theme colors are chosen to be distinguishable for common forms of color blindness. The graph visualization uses 8 distinct colors with varying hue and saturation.

System Preference

Detect and follow system dark/light preference: