FgColor sets the foreground color of the cell.
(color Color)
| 58 | |
| 59 | // FgColor sets the foreground color of the cell. |
| 60 | func FgColor(color Color) Option { |
| 61 | return option(func(co *Options) { |
| 62 | co.FgColor = color |
| 63 | }) |
| 64 | } |
| 65 | |
| 66 | // BgColor sets the background color of the cell. |
| 67 | func BgColor(color Color) Option { |