Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/afk/__tests__/theme.ts

Raw
import { Theme } from "@earendil-works/pi-coding-agent";

export function catTheme(appearance: "dark" | "light" = "dark"): Theme {
	return new Theme(
		{
			accent: "#a080c0",
			muted: "#888888",
			warning: "#c08040",
			thinkingXhigh: "#888888",
			text: appearance === "dark" ? "#eeeeee" : "#222222",
		} as ConstructorParameters<typeof Theme>[0],
		{ selectedBg: "" } as ConstructorParameters<typeof Theme>[1],
		"truecolor",
		{ appearance },
	);
}