(entry: ThemeEntry)
| 214 | const out: ThemeEntry[] = [] |
| 215 | const seen = new Set<string>() |
| 216 | const push = (entry: ThemeEntry) => { |
| 217 | const key = `${entry.variant}:${entry.codeThemeId}` |
| 218 | if (seen.has(key)) return |
| 219 | seen.add(key) |
| 220 | out.push(entry) |
| 221 | } |
| 222 | push({ codeThemeId: 'codex', variant: 'light', theme: CODEX_LIGHT_DEFAULT }) |
| 223 | push({ codeThemeId: 'codex', variant: 'dark', theme: CODEX_DARK_DEFAULT }) |
| 224 | for (const p of CODEX_THEME_PARTIALS) { |
no test coverage detected