Class: Clacky::UI2::Themes::MinimalTheme

Inherits:
BaseTheme
  • Object
show all
Defined in:
lib/clacky/ui2/themes/minimal_theme.rb

Overview

MinimalTheme - Clean, simple symbols

Constant Summary collapse

SYMBOLS =
{
  user: ">",
  assistant: "<",
  tool_call: "*",
  tool_result: "-",
  tool_denied: "!",
  tool_planned: "?",
  tool_error: "x",
  thinking: ".",
  working: ".",
  success: "+",
  error: "x",
  warning: "!",
  info: "-",
  task: "#",
  progress: ">"
}.freeze
COLORS =
{
  # Format: [symbol_color, dark_bg_text, light_bg_text]
  user: [:bright_black, :bright_black, :black],           # User prompt and input
  assistant: [:green, :bright_black, :bright_black],      # AI response
  tool_call: [:cyan, :cyan, :cyan],                       # Tool execution
  tool_result: [:cyan, :bright_black, :bright_black],     # Tool output
  tool_denied: [:yellow, :yellow, :yellow],               # Denied actions
  tool_planned: [:cyan, :cyan, :cyan],                    # Planned actions
  tool_error: [:red, :red, :red],                         # Errors
  thinking: [:bright_black, :bright_black, :bright_black], # Thinking status
  working: [:bright_yellow, :yellow, :yellow],            # Working status
  success: [:green, :green, :green],                      # Success messages
  error: [:red, :red, :red],                              # Error messages
  warning: [:yellow, :yellow, :yellow],                   # Warnings
  info: [:bright_black, :bright_black, :bright_black],    # Info messages
  task: [:yellow, :bright_black, :bright_black],          # Task items
  progress: [:cyan, :cyan, :cyan],                        # Progress indicators
  # Status bar colors
  statusbar_path: [:bright_black, :bright_black, :bright_black],        # Path
  statusbar_secondary: [:bright_black, :bright_black, :bright_black]    # Model/tasks/cost
}.freeze

Instance Method Summary collapse

Methods inherited from BaseTheme

#colors, #dark_background?, #format_symbol, #format_text, #initialize, #set_background_mode, #symbol, #symbol_color, #symbols, #text_color, #validate_theme_definition!

Constructor Details

This class inherits a constructor from Clacky::UI2::Themes::BaseTheme

Instance Method Details

#nameObject



50
51
52
# File 'lib/clacky/ui2/themes/minimal_theme.rb', line 50

def name
  "minimal"
end