vulcano icon indicating copy to clipboard operation
vulcano copied to clipboard

How can I change color theme for the table

Open avatar-lavventura opened this issue 3 years ago • 2 comments

Here default table color is as follows:

image

Suggestion on completion characters are close to light gray, which is difficult to read.

If possible, I want to apply dark theme on the table. On your example MonokaiTheme seems like does not change the background color of the table.

=> How can I change the background color of the table and also font colors in the table?

avatar-lavventura avatar Nov 17 '21 08:11 avatar-lavventura

There's no support for do such thing right now. It shouldn't be really complicated. We just need to:

  • define a class for all those elements.
  • define the class property values on the theme.
  • implement using this class when we want to render the table.

dgarana avatar Dec 10 '21 08:12 dgarana

Thanks I tried to find an example from other project, or a tutorial related to this on the python-prompt-toolkit but I was not able to. I am not sure which elements should I make changes on.

avatar-lavventura avatar Dec 11 '21 06:12 avatar-lavventura