| ... | @@ -186,6 +186,10 @@ pub const color = struct { | ... | @@ -186,6 +186,10 @@ pub const color = struct { |
| 186 | pub fn Bg(s: Color, comptime m: []const u8) []const u8 { | 186 | pub fn Bg(s: Color, comptime m: []const u8) []const u8 { |
| 187 | return csi.SGR(.{40 + @enumToInt(s)}) ++ m ++ style.ResetBgColor; | 187 | return csi.SGR(.{40 + @enumToInt(s)}) ++ m ++ style.ResetBgColor; |
| 188 | } | 188 | } |
| | 189 | |
| | 190 | pub fn Faint(comptime m: []const u8) []const u8 { |
| | 191 | return style.Faint ++ m ++ style.ResetIntensity; |
| | 192 | } |
| 189 | }; | 193 | }; |
| 190 | | 194 | |
| 191 | // | 195 | // |