MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / brand

Method brand

crates/chat-cli/src/theme/crossterm_ext.rs:107–109  ·  view source on GitHub ↗

Create brand-styled text (primary brand color)

(text: &str)

Source from the content-addressed store, hash-verified

105
106 /// Create brand-styled text (primary brand color)
107 pub fn brand(text: &str) -> String {
108 format!("\x1b[{}m{}\x1b[0m", color_to_ansi_code(theme().ui.primary_brand), text)
109 }
110
111 /// Create primary-styled text (primary text color)
112 pub fn primary(text: &str) -> String {

Callers 1

newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected