Skip to content

[Radio] Fix color of text in correct option choice to match specs (theme-based green)#3436

Merged
mark-fitzgerald merged 2 commits intomainfrom
LEMS-4027-incorrect-color-token-for-correct-choice-text
Mar 31, 2026
Merged

[Radio] Fix color of text in correct option choice to match specs (theme-based green)#3436
mark-fitzgerald merged 2 commits intomainfrom
LEMS-4027-incorrect-color-token-for-correct-choice-text

Conversation

@mark-fitzgerald
Copy link
Copy Markdown
Contributor

@mark-fitzgerald mark-fitzgerald commented Mar 31, 2026

Summary:

Adjust color token for correct choice text.

Issue: LEMS-4027

Test plan:

  1. Launch Storybook
  2. Navigate to a page that shows correct answers:
    • Widgets => Radio => Visual Regression Tests => Initial State => Single Select Show Solutions
    • Widgets => Radio => Visual Regression Tests => Initial State => Multi Select Show Solutions
    • Widgets => Radio => Visual Regression Tests => Interactions => Graded Group Wrapper
  3. Note that the text of the correct choice is now green (used to be dark gray)

…set): [Radio] Fix color of text in correct option choice to match specs (theme-based green)
@mark-fitzgerald mark-fitzgerald self-assigned this Mar 31, 2026
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

🗄️ Schema Change: No Changes ✅

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

Size Change: +3 B (0%)

Total Size: 494 kB

Filename Size Change
packages/perseus/dist/es/index.js 193 kB +3 B (0%)
ℹ️ View Unchanged
Filename Size
packages/kas/dist/es/index.js 20.5 kB
packages/keypad-context/dist/es/index.js 1 kB
packages/kmath/dist/es/index.js 6.21 kB
packages/math-input/dist/es/index.js 98.5 kB
packages/math-input/dist/es/strings.js 1.61 kB
packages/perseus-core/dist/es/index.item-splitting.js 11.9 kB
packages/perseus-core/dist/es/index.js 25.1 kB
packages/perseus-editor/dist/es/index.js 101 kB
packages/perseus-linter/dist/es/index.js 9.3 kB
packages/perseus-score/dist/es/index.js 9.66 kB
packages/perseus-utils/dist/es/index.js 403 B
packages/perseus/dist/es/strings.js 8.09 kB
packages/pure-markdown/dist/es/index.js 1.39 kB
packages/simple-markdown/dist/es/index.js 6.71 kB

compressed-size-action

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

🛠️ Item Splitting: No Changes ✅

@github-actions
Copy link
Copy Markdown
Contributor

npm Snapshot: Published

Good news!! We've packaged up the latest commit from this PR (f45692c) and published it to npm. You
can install it using the tag PR3436.

Example:

pnpm add @khanacademy/perseus@PR3436

If you are working in Khan Academy's frontend, you can run the below command.

./dev/tools/bump_perseus_version.ts -t PR3436

If you are working in Khan Academy's webapp, you can run the below command.

./dev/tools/bump_perseus_version.js -t PR3436

@mark-fitzgerald mark-fitzgerald requested a review from a team March 31, 2026 17:03
@mark-fitzgerald mark-fitzgerald merged commit 634e65e into main Mar 31, 2026
19 checks passed
@mark-fitzgerald mark-fitzgerald deleted the LEMS-4027-incorrect-color-token-for-correct-choice-text branch March 31, 2026 21:13
anakaren-rojas pushed a commit that referenced this pull request Apr 1, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.


# Releases
## @khanacademy/[email protected]

### Patch Changes

-   [#3411](#3411) [`94ad54eb43`](94ad54e) Thanks [@nishasy](https://github.com/nishasy)! - [Image] | (UX) | Align caption to image in case where image has no size


-   [#3439](#3439) [`468910ec63`](468910e) Thanks [@nishasy](https://github.com/nishasy)! - [Image] | (UX) | Stop large portrait images from overflowing in zoom view


-   [#3436](#3436) [`634e65efab`](634e65e) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - [Radio] Fix color of text in correct option choice to match specs (theme-based green)

## @khanacademy/[email protected]

### Patch Changes

-   [#3411](#3411) [`94ad54eb43`](94ad54e) Thanks [@nishasy](https://github.com/nishasy)! - [Image] | (UX) | Align caption to image in case where image has no size

-   Updated dependencies \[[`94ad54eb43`](94ad54e), [`468910ec63`](468910e), [`634e65efab`](634e65e)]:
    -   @khanacademy/[email protected]

Author: khan-actions-bot

Reviewers: claude[bot], anakaren-rojas

Required Reviewers:

Approved By: anakaren-rojas

Checks: ⏭️  2 checks have been skipped, ✅ 6 checks were successful

Pull Request URL: #3437
catandthemachines pushed a commit that referenced this pull request Apr 1, 2026
…eme-based green) (#3436)

## Summary:
Adjust color token for correct choice text.

Issue: LEMS-4027

## Test plan:
1. Launch Storybook
1. Navigate to a page that shows correct answers:
   - Widgets => Radio => Visual Regression Tests => Initial State => Single Select Show Solutions
   - Widgets => Radio => Visual Regression Tests => Initial State => Multi Select Show Solutions
   - Widgets => Radio => Visual Regression Tests => Interactions => Graded Group Wrapper
1. Note that the text of the correct choice is now green (used to be dark gray)

Author: mark-fitzgerald

Reviewers: claude[bot], anakaren-rojas

Required Reviewers:

Approved By: anakaren-rojas

Checks: ⏭️  1 check has been skipped, ✅ 10 checks were successful

Pull Request URL: #3436
catandthemachines pushed a commit that referenced this pull request Apr 1, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.


# Releases
## @khanacademy/[email protected]

### Patch Changes

-   [#3411](#3411) [`94ad54eb43`](94ad54e) Thanks [@nishasy](https://github.com/nishasy)! - [Image] | (UX) | Align caption to image in case where image has no size


-   [#3439](#3439) [`468910ec63`](468910e) Thanks [@nishasy](https://github.com/nishasy)! - [Image] | (UX) | Stop large portrait images from overflowing in zoom view


-   [#3436](#3436) [`634e65efab`](634e65e) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - [Radio] Fix color of text in correct option choice to match specs (theme-based green)

## @khanacademy/[email protected]

### Patch Changes

-   [#3411](#3411) [`94ad54eb43`](94ad54e) Thanks [@nishasy](https://github.com/nishasy)! - [Image] | (UX) | Align caption to image in case where image has no size

-   Updated dependencies \[[`94ad54eb43`](94ad54e), [`468910ec63`](468910e), [`634e65efab`](634e65e)]:
    -   @khanacademy/[email protected]

Author: khan-actions-bot

Reviewers: claude[bot], anakaren-rojas

Required Reviewers:

Approved By: anakaren-rojas

Checks: ⏭️  2 checks have been skipped, ✅ 6 checks were successful

Pull Request URL: #3437
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants