Skip to content

Strip orphaned dark mode fragments#1965

Merged
kmcginnes merged 1 commit into
mainfrom
strip-dark-mode
Jul 17, 2026
Merged

Strip orphaned dark mode fragments#1965
kmcginnes merged 1 commit into
mainfrom
strip-dark-mode

Conversation

@kmcginnes

Copy link
Copy Markdown
Collaborator

Description

Removes the incomplete dark mode infrastructure that was never functional:

  • @custom-variant dark declaration and its comment block from index.css
  • 4 orphaned dark: class usages across Field, DropdownMenu, Checkbox, and CollapsibleSidebar — these never rendered correctly because no full dark token set exists

Dark mode is an intended future goal. When implemented, it will use CSS light-dark() on the semantic token definitions, so components won't need dark: classes at all.

Validation

  • pnpm checks passes
  • pnpm test passes (2178 tests)
  • Visual: no change in light mode (dark mode was never active)

Related Issues

Check List

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I have verified pnpm checks passes with no errors.
  • I have verified pnpm test passes with no failures.
  • I have covered new added functionality with unit tests if necessary.
  • I have updated documentation if necessary.

Remove the @custom-variant dark declaration and 4 incomplete dark:
class usages that never rendered correctly without a full dark token
set. Dark mode will be implemented in the future using CSS light-dark()
on semantic tokens, which won't require per-component dark: classes.
@kmcginnes
kmcginnes marked this pull request as ready for review July 17, 2026 00:05
@kmcginnes
kmcginnes merged commit e3bed29 into main Jul 17, 2026
6 checks passed
@kmcginnes
kmcginnes deleted the strip-dark-mode branch July 17, 2026 00:06
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.

Strip orphaned dark mode fragments

1 participant