Skip to content

Commit 47d1b37

Browse files
antonpk1claude
andauthored
fix: remove 'system' from theme type (#79)
Remove 'system' option from theme, leaving only 'light' | 'dark'. This aligns the SDK with: - The spec (which already only has light/dark) - OpenAI Apps SDK compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent c587e07 commit 47d1b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ export interface McpUiHostContext {
425425
* Current color theme preference.
426426
* @example "dark"
427427
*/
428-
theme?: "light" | "dark" | "system";
428+
theme?: "light" | "dark";
429429
/**
430430
* How the UI is currently displayed.
431431
* @example "inline"

0 commit comments

Comments
 (0)