Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

348 B
Raw Blame
import type { Ui } from "../render/ui.js";

export function sectionTitle(ui: Ui, title: string, meta?: string): string {
  const { theme } = ui;
  return `  ${theme.strong(title)}${meta ? ` ${theme.muted(meta)}` : ""}`;
}

export function failedSection(ui: Ui, title: string): string[] {
  return [sectionTitle(ui, title, "could not load"), ""];
}