mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
- 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).
38 lines
1022 B
JSON
38 lines
1022 B
JSON
{
|
|
"name": "@opencode-manager/shared",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./schemas": "./src/schemas/index.ts",
|
|
"./types": "./src/types/index.ts",
|
|
"./types/errors": "./src/types/errors.ts",
|
|
"./config": "./src/config/index.ts",
|
|
"./config/defaults": "./src/config/defaults.ts",
|
|
"./config/env": "./src/config/env.ts",
|
|
"./config/client": "./src/config/client.ts",
|
|
"./utils": "./src/utils/index.ts",
|
|
"./notifications": "./src/notifications/index.ts",
|
|
"./project-id": "./src/project-id-resolver.ts",
|
|
"./opencode": "./src/opencode/index.ts",
|
|
"./themes": "./src/themes/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"@opencode/client": "2.0.15",
|
|
"jsonc-parser": "^3.3.1",
|
|
"zod": "^4.1.12"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"optionalDependencies": {
|
|
"dotenv": "^17.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5"
|
|
}
|
|
}
|