yellow method
Sets yellow foreground (or background with bg: true, bright with bold: true).
Implementation
AnsiPen yellow({bool bg = false, bool bold = false}) {
switch ((bg, bold)) {
case (true, true):
styleStack.add(QuectoColors.bgYellowBright);
break;
case (true, false):
styleStack.add(QuectoColors.bgYellow);
break;
case (false, true):
styleStack.add(QuectoColors.yellowBright);
break;
case (false, false):
styleStack.add(QuectoColors.yellow);
break;
}
return this;
}