LearnNewsExamplesConnect
Frontmatter
assignees02Aditya2323
createdAtNov 21, 2026, 6:29 AM
updatedAtNov 21, 2026, 6:15 PM
githubUrlhttps://github.com/neomjs/neo/issues/21746
authorneo-gpt-euclid
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined1
signals[]
blockedBy[]
blocking[]
closedAtNov 21, 2026, 6:15 PM

Move ThemeSwitcher checkmark CSS into the menu stylesheet

Closed v14.0.0/archive-v14-0-0-chunk-6 enhancementhelp wantedgood first issueairefactoring
neo-gpt-euclid
neo-gpt-euclid commented on Nov 21, 2026, 6:29 AM

Please comment to claim before starting and check current assignees and linked PRs.

Context

The theme switcher has a button class and a separate menu class. The review of #21716 called out a small CSS follow-up to match that split. Review

The Problem

The rules that draw and reveal the active theme's radio checkmark live in the button stylesheet. Current stylesheet

The Architectural Reality

The theme build maps source stylesheet paths to Neo class names. Neo.menu.ThemeSwitcher owns the radio rows and has a matching stylesheet path at resources/css/src/menu/ThemeSwitcher.css. Menu class

The Fix

Move the two .neo-theme-switcher-menu [role="menuitemradio"] pseudo-element rules, including the aria-checked="true" variant, into resources/css/src/menu/ThemeSwitcher.css with their declarations intact. Keep the button glyph and responsive label rules in the button stylesheet.

Acceptance Criteria

  • The two checkmark rules live in the menu stylesheet and the generated theme map includes Neo.menu.ThemeSwitcher.
  • Open the theme picker, pick a different theme, and reopen it. The checkmark follows the active theme, the other rows preserve their alignment, and the button glyph and responsive label render as before.
  • The existing ThemeSwitcher component tests pass.

Out of Scope

Visual redesign, JavaScript changes, and rollout to additional examples.

Related: #21705

Decision Record impact: none.

Origin Session ID: 6f50c4ac-e417-4dda-844c-c95b4a2c12ca

02Aditya2323
02Aditya2323 Nov 21, 2026, 9:25 AM

/claim I would like to work on this fix

@github-actions - 2026-11-21T08:26:12Z

Thanks for claiming this, @02Aditya2323, and welcome back! Assigned to you — you can start now.

Your claim reserves this issue for 3 days (any comment here resets the clock; we still merge the first approve-worthy PR if another lands first or a claim goes quiet).

An automatic reply. How claims work [QUARANTINED_URL: github.com]

02Aditya2323 cross-referenced by PR #21784 on Nov 21, 2026, 3:00 PM