Skip to content

chore: remove unused a11y panel style keys - #1

Merged
kharyaji00-tech merged 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-a11y-panel-style-keys-e92a2c
Oct 27, 2026
Merged

kharyaji00-tech merged 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-a11y-panel-style-keys-e92a2c

Conversation

@detail-app

@detail-app detail-app Bot commented Oct 23, 2026

Copy link
Copy Markdown

Remove 16 dead style keys (80 lines) from createA11yPanelStyles in
packages/devtools-a11y/src/core/styles/styles.ts: colors, primaryButton,
primaryButtonDisabled, button, toggleOverlay, toggleOverlayOn,
smallLinkButton, issueMain, disableRule, doneButton, settingsRow,
settingsRowTitle, settingsRowDesc, select, and search.

These keys had no production consumers — the panel components (Shell,
IssueCard, IssueList, Settings) now use Button/Input/Select primitives
from @tanstack/devtools-ui, leaving these style blocks orphaned after
the workbench redesign.

🎯 Changes

Remove 16 unreferenced style keys from the a11y panel styles object that
were orphaned when consumers switched to @tanstack/devtools-ui
primitives.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm test:pr, or these tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.

🚀 Release Impact

  • This change is docs/CI/dev-only (no release).

History


Dead Code PRs can be configured here.

@kharyaji00-tech
kharyaji00-tech merged commit 0f10a3b into main Oct 27, 2026
@kharyaji00-tech
kharyaji00-tech deleted the detail/dead-code/chore-remove-unused-a11y-panel-style-keys-e92a2c branch October 27, 2026 09:19
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