Athena::Console::Helper::Table::CellStyle
Inherits Struct / Value / Object
Represents the styling for a specific ACON::Helper::Table::Cell.
Constructors
Instance methods
Returns the background color for this cell.
Can be any color string supported via [ACON::Formatter::OutputStyleInterface][Athena::Console::Formatter::OutputStyleInterface--inline-styles],
e.g. named ("red") or hexadecimal ("#38bdc2") colors.
Returns the foreground color for this cell.
Can be any color string supported via [ACON::Formatter::OutputStyleInterface][Athena::Console::Formatter::OutputStyleInterface--inline-styles],
e.g. named ("red") or hexadecimal ("#38bdc2") colors.
A sprintf format string representing the content of the cell.
Should have a single %s representing the cell's value.
Can be used to reuse [custom style tags][Athena::Console::Formatter::OutputStyleInterface--custom-styles].
E.g. "<fire>%s</>".