Open-source, local-first AI agent for real work.
TypeScript agent-toolsai-agentbyokcoding-agentcross-platformdesktop-appdeveloper-toolselectronharnessknowledge-basellmwikilocal-firstmcpplugin-systemprivacy-firstskillstypescriptvettaworkflow-automation
import { getResolvedThemeColors, getThemeExportColors } from "../theme/index.js";
import type { HtmlExportTheme, HtmlExportThemeSource } from "./contracts.js";
export class CodingAgentHtmlExportThemeSource implements HtmlExportThemeSource {
resolve(themeName?: string): HtmlExportTheme {
const colors = getResolvedThemeColors(themeName);
const exportColors = getThemeExportColors(themeName);
return {
colors,
pageBg: exportColors.pageBg,
cardBg: exportColors.cardBg,
infoBg: exportColors.infoBg,
};
}
}