Format a view/branch name in cyan and bold. Use this for view names to make them prominent. # Arguments `text` - The view name to format # Returns A styled object that displays in cyan and bold when printed. # Example ```rust,ignore println!("On view: {}", colors::view("main")); ```
(text: D)
| 402 | /// println!("On view: {}", colors::view("main")); |
| 403 | /// ``` |
| 404 | pub fn view<D: std::fmt::Display>(text: D) -> StyledObject<D> { |
| 405 | style(text).cyan().bold() |
| 406 | } |
| 407 | |
| 408 | /// Format a timestamp in dim style. |
| 409 | /// |
no outgoing calls