Deprecated: Use Muted instead for thematically contrasting color.
(t string)
| 135 | |
| 136 | // Deprecated: Use Muted instead for thematically contrasting color. |
| 137 | func (c *ColorScheme) Gray(t string) string { |
| 138 | if !c.Enabled { |
| 139 | return t |
| 140 | } |
| 141 | if c.EightBitColor { |
| 142 | return gray256(t) |
| 143 | } |
| 144 | return gray(t) |
| 145 | } |
| 146 | |
| 147 | // Deprecated: Use Mutedf instead for thematically contrasting color. |
| 148 | func (c *ColorScheme) Grayf(t string, args ...interface{}) string { |