Skip to content

Web shared: theme toggle persistence #316

Description

@0xMegie

Area: apps/web/src/shared/hooks/useTheme.ts

Goal: Cover theme switching and storage persistence.

Tasks:

  • Test default theme, toggle, and explicit set.
  • Stub localStorage at the browser boundary.
  • Assert persisted value and document attribute.

Acceptance:

  • Storage mock is reset after each test.
  • bun run --cwd apps/web test passes.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions