Olivier Chafik
7bbf2bb250
feat(basic-host): Add theme toggle and MCP style variables ( #336 )
...
* feat(basic-host): add theme toggle and MCP style variables
Add theme support to basic-host example:
- theme.ts: Global theme manager with light/dark toggle
- host-styles.ts: Full set of MCP CSS variables using light-dark()
- ThemeToggle component with sun/moon icons
- Theme-aware CSS using CSS custom properties
- Pass theme + styles to apps via hostContext
- Notify apps when theme changes via sendHostContextChange
Apps now receive:
- hostContext.theme: 'light' | 'dark'
- hostContext.styles.variables: All 60+ MCP CSS variables
- onhostcontextchanged notifications when theme changes
* test: update e2e goldens for theme changes
2026-01-23 20:41:26 +00:00
..
basic-host
feat(basic-host): Add theme toggle and MCP style variables ( #336 )
2026-01-23 20:41:26 +00:00
basic-server-preact
Merge remote-tracking branch 'origin/main' into ochafik/readme-mcp-config
2026-01-20 10:17:45 +00:00
basic-server-react
Merge remote-tracking branch 'origin/main' into ochafik/readme-mcp-config
2026-01-20 10:17:45 +00:00
basic-server-solid
Merge remote-tracking branch 'origin/main' into ochafik/readme-mcp-config
2026-01-20 10:17:45 +00:00
basic-server-svelte
Merge remote-tracking branch 'origin/main' into ochafik/readme-mcp-config
2026-01-20 10:17:45 +00:00
basic-server-vanillajs
Merge remote-tracking branch 'origin/main' into ochafik/readme-mcp-config
2026-01-20 10:17:45 +00:00
basic-server-vue
Merge remote-tracking branch 'origin/main' into ochafik/readme-mcp-config
2026-01-20 10:17:45 +00:00
budget-allocator-server
fix: update serve:http to run main.ts instead of server.ts ( #315 )
2026-01-20 17:57:08 +00:00
cohort-heatmap-server
fix: update serve:http to run main.ts instead of server.ts ( #315 )
2026-01-20 17:57:08 +00:00
customer-segmentation-server
fix: update serve:http to run main.ts instead of server.ts ( #315 )
2026-01-20 17:57:08 +00:00
debug-server
feat(debug-server): add interactive debug server example ( #321 )
2026-01-23 12:39:40 +00:00
integration-server
fix: update serve:http to run main.ts instead of server.ts ( #315 )
2026-01-20 17:57:08 +00:00
map-server
fix: misc fixes for pdf-server, map-server, and say-server ( #329 )
2026-01-23 12:35:07 +00:00
pdf-server
Adding a simple (bad) pdf icon for directory ( #330 )
2026-01-23 16:04:46 +00:00
qr-server
fix: Python server dependency resolution and Docker host validation ( #333 )
2026-01-23 19:33:59 +00:00
say-server
fix: Python server dependency resolution and Docker host validation ( #333 )
2026-01-23 19:33:59 +00:00
scenario-modeler-server
fix: update serve:http to run main.ts instead of server.ts ( #315 )
2026-01-20 17:57:08 +00:00
shadertoy-server
docs: standardize UI terminology to use "view" consistently ( #325 )
2026-01-23 04:36:52 +02:00
sheet-music-server
docs: add MCP client configuration to example READMEs
2026-01-16 14:00:57 +00:00
system-monitor-server
fix: update serve:http to run main.ts instead of server.ts ( #315 )
2026-01-20 17:57:08 +00:00
threejs-server
docs: standardize UI terminology to use "view" consistently ( #325 )
2026-01-23 04:36:52 +02:00
transcript-server
docs: add MCP client configuration to example READMEs
2026-01-16 14:00:57 +00:00
video-resource-server
docs: standardize UI terminology to use "view" consistently ( #325 )
2026-01-23 04:36:52 +02:00
wiki-explorer-server
fix: update serve:http to run main.ts instead of server.ts ( #315 )
2026-01-20 17:57:08 +00:00
run-all.ts
add EXAMPLE=folder-name support for tests & basic-host ( #292 )
2026-01-19 20:16:37 +00:00