diff --git a/.Jules/palette.md b/.Jules/palette.md index 75953c9..575c8ef 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -20,3 +20,7 @@ ## 2026-04-02 - [Execution Feedback & Visual Hierarchy] **Learning:** For CLI-based onboarding, providing immediate feedback on execution duration via `time.perf_counter()` and using titled `rich.Rule` components significantly improves the professional feel and clarity of the workflow completion state. **Action:** Incorporate high-resolution execution timing in final result panels and add descriptive titles to terminal rules to better guide users through multi-step onboarding processes. + +## 2026-04-10 - [Terminal Accessibility & Color Contrast] +**Learning:** In terminal UIs, the 'bold' attribute often triggers the 'bright' color variant. For colors like blue on a dark background, the non-bold variant can have insufficient contrast, making text difficult to read. +**Action:** When using color-coded instructional or success messages in CLI tools, prefer using 'bold' (e.g., '[bold blue]') to ensure the text remains legible across a wide variety of terminal themes and configurations. diff --git a/01_getting_started.py b/01_getting_started.py index a522ce2..b02329e 100644 --- a/01_getting_started.py +++ b/01_getting_started.py @@ -6,6 +6,7 @@ from rich.panel import Panel from rich.rule import Rule from rich.table import Table +from rich import box console = Console() @@ -73,6 +74,7 @@ def main(): show_header=True, header_style="bold blue", show_footer=True, + box=box.ROUNDED, ) table.add_column("Customer ID", style="cyan", footer="Total") table.add_column( diff --git a/02_logging.py b/02_logging.py index c8920b8..5da5502 100644 --- a/02_logging.py +++ b/02_logging.py @@ -7,6 +7,7 @@ from rich.panel import Panel from rich.rule import Rule from rich.table import Table +from rich import box console = Console() @@ -82,6 +83,7 @@ def main(): show_header=True, header_style="bold blue", show_footer=True, + box=box.ROUNDED, ) table.add_column("Customer ID", style="cyan", footer="Total") table.add_column( diff --git a/pyproject.toml b/pyproject.toml index 73f535c..57aee08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,5 +8,6 @@ dependencies = [ "prefect", "prefect-cloud", "rich", + "fakeredis<2.35.0", ]