Skip to content

Conversation

saoudrizwan
Copy link
Contributor

@saoudrizwan saoudrizwan commented Aug 9, 2025

After changes to the plan/act toggle I saw some themes not use an acceptable color for act mode:
Cursor 2025-08-09 02 02 12

I also found that the hover opacity effect was removed as well, which is important for the user to know that the toggle can be clicked or not (see plan mode bg color change):

Cursor 2025-08-09 02 01 34 Cursor 2025-08-09 02 01 40

Important

Fixes color issues in plan/act toggle by updating ACT_MODE_COLOR and adding hover effects in ChatTextArea.tsx.

  • Color Adjustments:
    • Change ACT_MODE_COLOR from var(--vscode-menu-selectionBackground) to var(--vscode-focusBorder) in ChatTextArea.tsx.
    • Add hover effect to SwitchOption to change background color to var(--vscode-toolbar-hoverBackground) when not active.
  • Code Cleanup:
    • Remove className for background color in SwitchOption for both plan and act modes.

This description was created by Ellipsis for 3d8eaa8. You can customize this summary. It will automatically update as commits are pushed.

@Copilot Copilot AI review requested due to automatic review settings August 9, 2025 09:05
Copy link

changeset-bot bot commented Aug 9, 2025

⚠️ No Changeset found

Latest commit: 3d8eaa8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes visual issues with the plan/act toggle component by updating color variables and restoring hover effects. The changes address theme compatibility problems where act mode wasn't displaying with acceptable colors and missing hover feedback for user interaction.

  • Updated color constants to use more appropriate VS Code theme variables
  • Added hover effect styling for inactive toggle options
  • Removed hardcoded background color classes that were causing theme issues

@saoudrizwan saoudrizwan merged commit 4a22f7d into main Aug 9, 2025
12 checks passed
Copy link
Contributor

github-actions bot commented Aug 9, 2025

Coverage Report

Extension Coverage

Base branch: 47%

PR branch: 48%

✅ Coverage increased or remained the same

Webview Coverage

Base branch: 17%

PR branch: 17%

✅ Coverage increased or remained the same

Overall Assessment

Test coverage has been maintained or improved

Last updated: 2025-08-09T09:16:10.520250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant