- Delete theme-schema.json (335 lines): redundant with the TypeBox schema already defined in theme.ts, only referenced via $schema URLs in the JSON files for editor autocomplete. - Delete dark.json (85 lines) and light.json (84 lines): move built-in theme definitions into themes.ts as TypeScript objects, eliminating runtime filesystem reads and the getThemesDir() dependency. - Export ThemeJson type from theme.ts so themes.ts can reference it. - Net reduction: ~319 lines removed. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||