Skip to content

docs(readme): fix theme storageKey to match app default#194

Open
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/fix-readme-theme-storage-key-20260619
Open

docs(readme): fix theme storageKey to match app default#194
andrerfneves wants to merge 1 commit into
mainfrom
maintenance/fix-readme-theme-storage-key-20260619

Conversation

@andrerfneves

Copy link
Copy Markdown
Owner

Summary

Fixes the README Theming section's code example which showed storageKey="ui-theme" while the actual app in main.tsx uses storageKey="lightning-decoder-theme".

Why

The README code example was inconsistent with the actual application code. A developer copying the example into their own project would get a different theme storage key than the app's default, causing theme preferences to not sync correctly.

Changes

  • README.md: Changed storageKey="ui-theme" to storageKey="lightning-decoder-theme" in the Theming section code example, matching the actual value used in main.tsx

Test Plan

  • All 52 existing tests pass
  • Production build succeeds
  • The storageKey value now matches main.tsx

The Theming section code example in the README showed
`storageKey="ui-theme"` but the app's `main.tsx` uses
`storageKey="lightning-decoder-theme"`. A developer copying
the example verbatim would get a different theme key than the
application's actual default, causing theme preferences to not
sync with the running app.

Also keeps the example aligned with PR #191 which fixed the
`@/` import path in the same code block.
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightning-decoder Ready Ready Preview, Comment Jun 19, 2026 10:04am

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