Skip to content

Restore owned Theme Tokens in website settings - #110

Merged
rohenaz merged 1 commit into
omegafrom
codex/theme-token-settings
Aug 31, 2026
Merged

rohenaz merged 1 commit into
omegafrom
codex/theme-token-settings

Conversation

@rohenaz

@rohenaz rohenaz commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What changed

  • add the released @theme-token/sdk 0.0.19 provider at the app root
  • discover Theme Tokens from the active wallet's canonical OrdFS metadata
  • add an owned-theme picker to Settings with apply, active, reset, loading, empty, and retry states
  • persist the selected theme, follow light/dark mode changes, and load on-chain assets through the SDK
  • share the existing ordinal metadata query between the wallet grid and Settings

Browser proof

Using the authenticated built-in wallet and its real Nightrider token:

  • Settings discovered Nightrider from the wallet
  • Apply changed the live CSS variables
  • switching dark mode to light applied the light palette
  • the selected theme survived reload
  • reset removed the Theme Token variables
  • Nightrider restored successfully in dark mode
  • Shadscan UI checks passed at 320x820 and 1440x1000 with no overflow

Verification

  • bunx tsc --noEmit
  • bun test (142 pass)
  • bun run lint
  • bun run build
  • Shadscan 0.17.0: 80/100, 80 gate passed
  • React Doctor: 267 full-tree findings, down from 269; no new diagnostics in this slice

Linear: OPL-4044

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
1sat-website Ready Ready Preview Aug 31, 2026 5:29am

Request Review

@rohenaz
rohenaz merged commit 70bd235 into omega Aug 31, 2026
3 checks passed
@rohenaz
rohenaz deleted the codex/theme-token-settings branch August 31, 2026 05:30
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