Skip to content

Conversation

@antonpk1
Copy link
Collaborator

Summary

  • Remove "system" from the theme enum, leaving only "light" and "dark"

The host should resolve the system preference to an actual theme value before passing it to the app. Apps only need to know the resolved theme, not that it came from a system preference.

Changes

  • specification/draft/apps.mdx: Update theme type definition
  • src/types.ts: Update Zod schema for theme enum

Test plan

  • Verify specification renders correctly
  • Verify TypeScript compiles without errors

🤖 Generated with Claude Code

The host should resolve "system" to either "light" or "dark" before
passing the theme to the app. Apps only need to know the actual
resolved theme value.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

2 participants