Files
opencode-manager/package.json
Chris Scott 5bd688de4b feat(themes): apply OpenCode color themes app-wide with a settings picker (#364)
- Vendor the 36 OpenCode theme palettes into the shared package, synced
  from the pinned OpenCode release tag via pnpm themes:sync.
- Add a colorTheme user preference across the settings schema, defaults,
  and the assistant internal API.
- Extend palettes with success, warning, info, and diff colors, and add a
  resolver that maps palettes to CSS tokens and applies them to the DOM.
- Apply the theme app-wide through a ThemeProvider context, adopting the
  tokens in message, repo, session, and settings components, agent
  colors, git status styles, and diff viewers.
- Add a theme picker to General settings and make model quick-select
  follow the active theme (fixes #355).
2026-09-28 00:19:32 -04:00

48 lines
2.2 KiB
JSON

{
"name": "opencode-manager",
"version": "0.19.1",
"private": false,
"type": "module",
"packageManager": "pnpm@10.28.1",
"scripts": {
"predev": "bash scripts/setup-dev.sh",
"dev": "concurrently \"pnpm:dev:backend\" \"pnpm:dev:frontend\"",
"dev:backend": "NODE_ENV=development bun --watch backend/src/index.ts",
"dev:frontend": "pnpm --filter frontend dev",
"themes:sync": "bun scripts/sync-opencode-themes.ts",
"start": "concurrently \"pnpm:start:backend\" \"pnpm:start:frontend\"",
"start:backend": "bun run backend/dist/index.js",
"start:frontend": "pnpm --filter frontend preview",
"build": "pnpm run build:cli && pnpm run build:backend && pnpm run build:frontend",
"build:cli": "pnpm --filter @opencode-manager/ocm-cli build",
"build:backend": "pnpm --filter backend build",
"build:frontend": "pnpm --filter frontend build",
"typecheck": "pnpm run typecheck:cli && pnpm run typecheck:frontend && pnpm run typecheck:backend",
"typecheck:cli": "pnpm --filter @opencode-manager/ocm-cli typecheck",
"typecheck:frontend": "pnpm --filter frontend typecheck",
"typecheck:backend": "pnpm --filter backend typecheck",
"test": "pnpm run test:cli && pnpm run test:backend && pnpm run test:frontend",
"test:cli": "pnpm --filter @opencode-manager/ocm-cli test",
"test:frontend": "pnpm --filter frontend exec vitest run",
"test:backend": "pnpm --filter backend run test",
"lint": "pnpm run lint:cli && pnpm run lint:frontend && pnpm run lint:backend",
"lint:cli": "pnpm --filter @opencode-manager/ocm-cli lint",
"lint:frontend": "pnpm --filter frontend lint",
"lint:backend": "pnpm --filter backend lint",
"lint:fix": "pnpm run lint:cli -- --fix && pnpm run lint:frontend -- --fix && pnpm run lint:backend -- --fix",
"docker:build": "docker-compose build",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:reset": "docker-compose down -v",
"docker:logs": "docker-compose logs -f",
"docker:restart": "docker-compose restart"
},
"devDependencies": {
"concurrently": "^9.1.0"
},
"dependencies": {
"@radix-ui/react-tooltip": "^1.2.8",
"class-variance-authority": "^0.7.1"
}
}