From 75383acda7fb50de72583ce675d840443fea5472 Mon Sep 17 00:00:00 2001 From: Vittorio Distefano <101409677+blackopsrepl@users.noreply.github.com> Date: Fri, 3 Apr 2026 18:59:45 +0200 Subject: [PATCH 1/2] console: rename emerald color constant and update make banner --- Makefile | 5 +++-- crates/solverforge-console/src/banner.rs | 23 +++++++++++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 60a0782e..3548f8b0 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ # ============== Colors & Symbols ============== GREEN := \033[92m +EMERALD := \033[38;2;16;185;129m CYAN := \033[96m YELLOW := \033[93m MAGENTA := \033[95m @@ -30,13 +31,13 @@ RUST_VERSION := 1.80+ # ============== Banner ============== banner: - @printf "$(CYAN)$(BOLD) ____ _ _____\n" + @printf "$(EMERALD)$(BOLD) ____ _ _____\n" @printf " / ___| ___ | |_ _____ _ __| ___|__ _ __ __ _ ___\n" @printf " \\___ \\\\ / _ \\\\| \\\\ \\\\ / / _ \\\\ '__| |_ / _ \\\\| '__/ _\` |/ _ \\\\\n" @printf " ___) | (_) | |\\\\ V / __/ | | _| (_) | | | (_| | __/\n" @printf " |____/ \\\\___/|_| \\_/ \\___|_| |_| \\___/|_| \\__, |\\___|\n" @printf " |___/$(RESET)\n" - @printf " $(GRAY)v$(VERSION)$(RESET) $(CYAN)SolverForge Build System$(RESET)\n\n" + @printf " $(GRAY)v$(VERSION)$(RESET) $(EMERALD)SolverForge Build System$(RESET)\n\n" # ============== Build Targets ============== diff --git a/crates/solverforge-console/src/banner.rs b/crates/solverforge-console/src/banner.rs index e23c0b07..b34c4f1e 100644 --- a/crates/solverforge-console/src/banner.rs +++ b/crates/solverforge-console/src/banner.rs @@ -5,6 +5,7 @@ use std::io::{self, Write}; // Package version for banner display. const VERSION: &str = env!("CARGO_PKG_VERSION"); +const EMERALD: (u8, u8, u8) = (16, 185, 129); pub(crate) fn print_banner() { let banner = r#" @@ -22,7 +23,25 @@ pub(crate) fn print_banner() { ); let mut stdout = io::stdout().lock(); - let _ = writeln!(stdout, "{}", banner.bright_cyan()); - let _ = writeln!(stdout, "{}", version_line.bright_white().bold()); + let _ = writeln!( + stdout, + "{}", + banner.truecolor( + EMERALD.0, + EMERALD.1, + EMERALD.2 + ) + ); + let _ = writeln!( + stdout, + "{}", + version_line + .truecolor( + EMERALD.0, + EMERALD.1, + EMERALD.2 + ) + .bold() + ); let _ = stdout.flush(); } From 8df230e71f58278a04ada58c58bd5c745212289c Mon Sep 17 00:00:00 2001 From: Vittorio Distefano Date: Tue, 7 Apr 2026 18:54:16 +0200 Subject: [PATCH 2/2] console: format emerald banner output --- crates/solverforge-console/src/banner.rs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/crates/solverforge-console/src/banner.rs b/crates/solverforge-console/src/banner.rs index b34c4f1e..f25f50d6 100644 --- a/crates/solverforge-console/src/banner.rs +++ b/crates/solverforge-console/src/banner.rs @@ -26,21 +26,13 @@ pub(crate) fn print_banner() { let _ = writeln!( stdout, "{}", - banner.truecolor( - EMERALD.0, - EMERALD.1, - EMERALD.2 - ) + banner.truecolor(EMERALD.0, EMERALD.1, EMERALD.2) ); let _ = writeln!( stdout, "{}", version_line - .truecolor( - EMERALD.0, - EMERALD.1, - EMERALD.2 - ) + .truecolor(EMERALD.0, EMERALD.1, EMERALD.2) .bold() ); let _ = stdout.flush();