From b295c7dc7c0e4d87a300295873d2580826fd30e7 Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 15 Dec 2025 11:35:26 +0100 Subject: [PATCH] cli: Update default theme: Values which were used with constants and the legacy ANSI module are now in the theme. The ANSI module should be removed in the future. rel 473 --- libervia/cli/constants.py | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/libervia/cli/constants.py b/libervia/cli/constants.py index b2708cfd..56aa1ed6 100644 --- a/libervia/cli/constants.py +++ b/libervia/cli/constants.py @@ -93,11 +93,26 @@ class Const(constants.Const): # rich THEME_DEFAULT = Theme( { + "directory": "bold cyan", + "failure": "bold red", + "file": "white", + "header": "bold yellow", + "instructions": "italic", + "level1": "bold blue", + "level2": "magenta", + "level3": "cyan", + "main_panel": "yellow", + "notif_title": "bold", + "priority_high": "bold magenta", "priority_low": "green", "priority_medium": "yellow", - "priority_high": "bold magenta", "priority_urgent": "bold red", - "notif_title": "bold", + "prompt_path": "bold cyan", + "prompt_suf": "bold", "shortcut": "bold underline", + "subheader": "bold red", + "success": "bold green", + "title": "bold", + "warning": "bold red", } )