Skip to content
JP Bruins Slot edited this page Dec 22, 2017 · 24 revisions

Theming

Since version 0.3.0 you'll be able to set some colors and the bold attribute in slack-term. To set this you'll need to update your slack-term.json file. Below are the default settings which you can override. You can combine colors and attributes by separating them with a , (comma).

{
    "theme": {
        "view": {
            "fg": "white",
            "bg": "default",
            "border_fg": "white",
            "label_fg": "green,bold",
            "par_fg": "white",
            "par_label_fg": "white"
        },
        "channel": {
            "prefix": "",
            "icon": "",
            "text": ""
        },
        "message": {
            "time": "",
            "name": "",
            "text": ""
        }
    }
}

For the view section you'll be able to choose the following colors:

colors
default
black
green
yellow
blue
magenta
cyan
white

For both the channel and message section you'll be able to set the fore- and background. Prepend the color with either fg- or bg- to get the desired result. E.g. fg-red or fg-magenta,bg-cyan,fg-bold.

Clone this wiki locally