-
Notifications
You must be signed in to change notification settings - Fork 227
Home
JP Bruins Slot edited this page Jan 26, 2018
·
24 revisions
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 |
red |
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
.