← Back to Pull requests

feat(tui, web): add icons to theme and appearance selector options #2129

Closed
unknown closed this pull request without merging on Aug 01, 2026 02:46 UTC
View on GitHub
unknown unknown commented on Jul 24, 2026 02:47 UTC
Author

Related Issue

No linked issue — the request is to add visual distinction to the theme/color-scheme selectors.

Problem

The TUI theme picker and the web settings color-scheme control used plain text labels. With only text, the three choices looked uniform and were slightly harder to scan at a glance.

What changed

  • Added emoji icons to the built-in theme options in apps/kimi-code/src/tui/components/dialogs/theme-selector.ts:

  • - 🌗 Auto (match terminal)
    - 🌑 Dark
    - 🌕 Light
  • Added the same emoji icons to the web appearance color-scheme options in apps/kimi-web/src/components/settings/SettingsDialog.vue:

  • - 🌕 Light
    - 🌑 Dark
    - 🌗 System
  • Updated the choice-picker test to assert the new 🌕 Light ← current label.

  • Added a changeset for the CLI release notes.
  • Screenshots

    TUI theme selector

    | Before | After |
    |---|---|
    | !tui-before | !tui-after |

    Web settings appearance

    | Before | After |
    |---|---|
    | !web-before | !web-after |

    Checklist

  • I have read the CONTRIBUTING document.

  • I have linked a related issue, or explained the problem above.

  • I have added/updated tests that prove my feature works.

  • Ran gen-changesets skill, or this PR needs no changeset.

  • Ran gen-docs skill, or this PR needs no doc update.
  • Diff: 239 lines (+179 / -60) across 2 files Reviewer: bowenliang123 Review duration: 11518m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 239 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.328
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2129"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 37.2% (MEDIUM) · Higher = larger blast radius
    37.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.1% · Safe to merge
    16.1%