Skip to content

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

feat(core): add optional theme field to AnalysisMeta

Lum110435732c67a183
diff --git a/understand-anything-plugin/packages/core/src/types.ts b/understand-anything-plugin/packages/core/src/types.ts
index f5fef33d..da79bdaa 100644
--- a/understand-anything-plugin/packages/core/src/types.ts
+++ b/understand-anything-plugin/packages/core/src/types.ts
@@ -66,12 +66,19 @@ export interface KnowledgeGraph {
tour: TourStep[];
}
+// Theme configuration (for dashboard customization)
+export interface ThemeConfig {
+ presetId: string;
+ accentId: string;
+}
+
// AnalysisMeta (for persistence)
export interface AnalysisMeta {
lastAnalyzedAt: string;
gitCommitHash: string;
version: string;
analyzedFiles: number;
+ theme?: ThemeConfig;
}
// Plugin interfaces