Skip to content

fix(claude-code): scope theme to sandbox, add extensions/plugins/hooks - #63

Merged
gatezh merged 1 commit into
masterfrom
fix-default-theme-claude-code
Mar 31, 2026
Merged

gatezh merged 1 commit into
masterfrom
fix-default-theme-claude-code

Conversation

@gatezh

@gatezh gatezh commented Mar 30, 2026

Copy link
Copy Markdown
Owner

What

Scopes the Claude Dark theme and coral status bar to the sandbox variant only, and expands the template with additional extensions, plugins, and pre-commit hooks.

Why

Both devcontainer variants were visually identical (Claude Dark theme + coral status bar), removing the signal that distinguishes the restricted sandbox from the unrestricted default. The default variant was also overriding user theme preferences synced via Settings Sync. Additionally, the sandbox set the Claude Dark theme but didn't install the extension providing it.

Changes

  • Theme scoping: Remove workbench.colorTheme and workbench.colorCustomizations from default devcontainer.json; keep in sandbox only
  • Sandbox theme extension: Add SamiHindi.claude-theme-sami-hindi to sandbox extensions (fixes bug — theme was set but extension wasn't installed)
  • Shared extensions: Add 7 extensions to both variants: spell checker, npm intellisense, TS error translator, color-info, colorize, Drizzle ORM snippets, Playwright
  • init-plugins.sh: Expand from 2 to 11 plugins (bash array for easy customization), add rtk init and agent-browser install-skill blocks (guarded by command -v)
  • settings.json: Add PreToolUse hooks gating git commit behind lint/typecheck and gh pr create behind full CI; remove Bash(gh:*) from permissions allowlist
  • README.md: Remove Claude Dark references from default variant description; update recommended extensions table

Closes #61, closes #62

#61, #62)

- Remove workbench.colorTheme and coral status bar from default variant
- Add Claude Dark theme extension to sandbox (was missing, theme couldn't render)
- Add 7 shared extensions: spell checker, npm intellisense, TS error
  translator, color-info, colorize, Drizzle snippets, Playwright
- Expand init-plugins.sh to 11 plugins with rtk init and agent-browser
- Add PreToolUse hooks gating commit/PR behind lint/test/build
- Remove Bash(gh:*) from permissions allowlist
@gatezh
gatezh merged commit 67cc88b into master Mar 31, 2026
8 checks passed
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.

claude-code template: extensions, init-plugins, hooks, theme scoping Default variant should not set a custom color theme

1 participant