tonycpsu/panwid

Cell Foregroud Color

s0undt3ch opened this issue · 1 comments

How does one set a particular cell foreground color?

Using something like urwid.Text(("red", "Text")) does not seem to work...

For reference, I defined:

        entries["table_row_body positive"] = PaletteEntry(
            mono = "white",
            foreground = "light green",
            background = "black"
        )
        entries["table_row_body negative"] = PaletteEntry(
            mono = "white",
            foreground = "light red",
            background = "black"
        )

And then I can use urwid.Text(("table_row_body positive", "Text"))