Skip to content

Commit 56381e1

Browse files
echobtfactorydroid
andauthored
fix(markdown): change bold text color from blue to green (#323)
Changed the bold text (**text**) color in markdown rendering from ELECTRIC_BLUE to CYAN_PRIMARY to match the green theme. The CYAN_PRIMARY color (#00FFA3) is the primary accent color and provides better visual consistency with the rest of the theme. - Updated bold style to use CYAN_PRIMARY instead of ELECTRIC_BLUE - Removed unused ELECTRIC_BLUE import from theme.rs Co-authored-by: Droid Agent <droid@factory.ai>
1 parent 66eaa02 commit 56381e1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

cortex-agents/src/control.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
66
use crate::AgentInfo;
77
use std::collections::HashMap;
8-
use std::sync::Arc;
98
use std::sync::atomic::{AtomicUsize, Ordering};
10-
use tokio::sync::{RwLock, watch};
9+
use std::sync::Arc;
10+
use tokio::sync::{watch, RwLock};
1111
use uuid::Uuid;
1212

1313
/// Unique identifier for an agent thread.

cortex-core/src/markdown/theme.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
use ratatui::style::{Color, Modifier, Style};
2222

2323
use crate::style::{
24-
BORDER, CYAN_PRIMARY, DEEP_CYAN, ELECTRIC_BLUE, HIGHLIGHT, INFO, SKY_BLUE, SUCCESS, SURFACE_0,
25-
SURFACE_1, TEXT, TEXT_BRIGHT, TEXT_DIM, TEXT_MUTED,
24+
BORDER, CYAN_PRIMARY, DEEP_CYAN, HIGHLIGHT, INFO, SKY_BLUE, SUCCESS, SURFACE_0, SURFACE_1,
25+
TEXT, TEXT_BRIGHT, TEXT_DIM, TEXT_MUTED,
2626
};
2727

2828
/// Comprehensive theme configuration for markdown rendering.
@@ -401,7 +401,7 @@ impl Default for MarkdownTheme {
401401

402402
// Text styles
403403
bold: Style::default()
404-
.fg(ELECTRIC_BLUE)
404+
.fg(CYAN_PRIMARY)
405405
.add_modifier(Modifier::BOLD),
406406
italic: Style::default().fg(TEXT).add_modifier(Modifier::ITALIC),
407407
strikethrough: Style::default()

0 commit comments

Comments
 (0)