style(terminal): use red-only accent color scheme

This commit is contained in:
Nicholai Vogel 2026-01-20 05:32:11 -07:00
parent cecc2c9491
commit 545400f56c
2 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ pub fn box_top(width: usize, title: Option<&str>) -> String {
match title { match title {
Some(t) => { Some(t) => {
let title_colored = color(&format!(" {} ", t), Colors::CYAN); let title_colored = color(&format!(" {} ", t), Colors::RED);
let title_len = t.len() + 2; // account for spaces let title_len = t.len() + 2; // account for spaces
let line_len = inner_width.saturating_sub(title_len); let line_len = inner_width.saturating_sub(title_len);
dim(&format!( dim(&format!(

View File

@ -52,7 +52,7 @@ fn render_header() -> String {
&format!( &format!(
"{} — {}", "{} — {}",
bold_color(SiteContent::NAME, Colors::WHITE), bold_color(SiteContent::NAME, Colors::WHITE),
color(SiteContent::TITLE, Colors::CYAN) color(SiteContent::TITLE, Colors::RED)
), ),
WIDTH - 4, WIDTH - 4,
), ),
@ -123,7 +123,7 @@ fn format_experience(exp: &Experience) -> String {
dim(&format!("[{}]", exp.code)), dim(&format!("[{}]", exp.code)),
color(exp.status, status_color), color(exp.status, status_color),
bold_color(exp.title, Colors::WHITE), bold_color(exp.title, Colors::WHITE),
color(exp.role, Colors::CYAN) color(exp.role, Colors::RED)
) )
} }
@ -146,7 +146,7 @@ fn render_skills() -> String {
fn format_skill(skill: &Skill) -> String { fn format_skill(skill: &Skill) -> String {
format!( format!(
"{} {}{}{}", "{} {}{}{}",
color(skill.num, Colors::CYAN), color(skill.num, Colors::RED),
bold_color(&format!("{:<18}", skill.name), Colors::WHITE), bold_color(&format!("{:<18}", skill.name), Colors::WHITE),
" ", " ",
dim(skill.tools) dim(skill.tools)
@ -175,7 +175,7 @@ fn format_nav(nav: &NavItem) -> String {
let padding = 35_usize.saturating_sub(nav.command.len()); let padding = 35_usize.saturating_sub(nav.command.len());
format!( format!(
"{} {}{}{}", "{} {}{}{}",
color("$", Colors::CYAN), color("$", Colors::RED),
cmd, cmd,
" ".repeat(padding), " ".repeat(padding),
desc desc
@ -185,7 +185,7 @@ fn format_nav(nav: &NavItem) -> String {
fn render_footer() -> String { fn render_footer() -> String {
format!( format!(
" {} • {}", " {} • {}",
color(SiteContent::WEBSITE, Colors::CYAN), color(SiteContent::WEBSITE, Colors::RED),
color(SiteContent::EMAIL, Colors::LIGHT_GRAY) color(SiteContent::EMAIL, Colors::LIGHT_GRAY)
) )
} }