feat: apply lobster palette to prompts

This commit is contained in:
Peter Steinberger
2026-01-09 09:04:58 +01:00
parent f9be9ad426
commit 8d67bd2889
20 changed files with 227 additions and 44 deletions

View File

@@ -0,0 +1,10 @@
import { isRich, theme } from "./theme.js";
export const stylePromptMessage = (message: string): string =>
isRich() ? theme.accent(message) : message;
export const stylePromptTitle = (title?: string): string | undefined =>
title && isRich() ? theme.heading(title) : title;
export const stylePromptHint = (hint?: string): string | undefined =>
hint && isRich() ? theme.muted(hint) : hint;