Skip to content

[FEATURE] Implement /theme shortcut to allow Theme selection #127

Description

@edenreich

Summary

Right now the app is using a single theme, but some user might prefer different themes, let's add at least one or two different themes.

Bonus, let's also ensure that we use icons consistently in the app, some are with green color some are just text, we should use the colored ones.

Acceptance Criteria

  • The user can select a theme using /theme
  • When they select a theme from a dropdown the entire styling is changing
  • It's documented

Activity

  1. added
    enhancement
    on Aug 26, 2025
  2. edenreich commented on Aug 27, 2025

    @edenreich
    ContributorAuthor

    @claude Can you work on this?

  3. claude commented on Aug 27, 2025

    @claude
    Contributor

    Claude finished @edenreich's task —— View job • claude/issue-127-20250827-1625 • Create PR ➔


    Claude finished @edenreich's task 🎉


    I've successfully implemented the /theme shortcut feature with all the requested functionality!

    ✅ Implementation Complete

    Core Features Delivered:

    • 🎨 Theme Selection: /theme command opens a dropdown with 3 themes
    • 🌙 Multiple Themes:
      • tokyo-night (default dark theme)
      • github-light (GitHub-style light theme)
      • dracula (popular Dracula theme)
    • ⚡ Dynamic Switching: Entire app styling changes instantly when selecting a theme
    • 🔍 Search Support: Type / in theme selector to search themes
    • 📖 Documentation: Auto-documented via /help command

    Bonus Requirements:

    • 🎯 Icon Consistency: Fixed inconsistent icon usage throughout the app
      • Added StyledCheckMark() and StyledCrossMark() helpers
      • Updated all files to use colored icons consistently
      • Replaced manual color formatting with styled icon functions

    🔧 Technical Implementation

    Architecture:

    • Created ThemeProvider for theme management
    • Added ViewStateThemeSelection for UI state handling
    • Built theme selection component with keyboard navigation
    • Updated all UI components to support dynamic theme switching
    • Integrated with existing shortcut system seamlessly

    Files Modified: 15 files across themes, UI components, domain logic, shortcuts, and handlers

    🚀 Usage

    Users can now:

    1. Type /theme to open theme selector
    2. Use ↑↓ arrows to navigate, Enter to select
    3. Press / to search themes by name
    4. See current theme marked with ✓
    5. Experience instant app-wide styling changes

    Code committed to branch: claude/issue-127-20250827-1625

  4. inference-gateway-releaser commented on Aug 28, 2025

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.47.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

  5. added a commit that references this issue on Aug 28, 2025
    d21605f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions