rainbow-dark: swap dark-grey accents for very dark bluish-teal
Every %K (dark grey / bright-black) swapped for %X17 — 256-colour foreground 0x17 == palette index 23, RGB #005f5f, a very dark teal/cyan. Applies to: body text, bracket/punctuation replaces, message-body dim, connective text in join/part/quit/etc. formats, dccfile name, whois values, servernotice body, wallop body. Requires a 256-colour-capable terminal; irssi renders %X17 as palette 23 when the terminal advertises 256 colour support (most modern terminals do — .tmux.conf already sets TERM=screen-256color).
This commit is contained in:
@@ -17,7 +17,7 @@ default_color = "-1";
|
||||
info_eol = "false";
|
||||
|
||||
# Fade any bracket-ish punctuation to dark grey so the rainbow colors pop.
|
||||
replaces = { "[]=()<>" = "%K$*%n"; };
|
||||
replaces = { "[]=()<>" = "%X17$*%n"; };
|
||||
|
||||
abstracts = {
|
||||
##
|
||||
@@ -44,13 +44,13 @@ abstracts = {
|
||||
nick = "%_%C$*%n%_";
|
||||
|
||||
# Nick-host wrapped in dark-grey square brackets (picked up by "replaces").
|
||||
nickhost = "[%K$*%n]";
|
||||
nickhost = "[%X17$*%n]";
|
||||
|
||||
# Server names: bright blue.
|
||||
server = "%_%B$*%n%_";
|
||||
|
||||
# Generic bracketed comment: fade to dark grey.
|
||||
comment = "[%K$*%n]";
|
||||
comment = "[%X17$*%n]";
|
||||
reason = "{comment $*}";
|
||||
mode = "{comment $*}";
|
||||
|
||||
@@ -64,7 +64,7 @@ abstracts = {
|
||||
|
||||
# Someone leaving (part/quit) — dim red.
|
||||
channick = "%r$*%n";
|
||||
chanhost = "{nickhost %K$*%n}";
|
||||
chanhost = "{nickhost %X17$*%n}";
|
||||
|
||||
# Highlighted channel reference — bright magenta.
|
||||
channelhilight = "%_%M$*%n%_";
|
||||
@@ -79,7 +79,7 @@ abstracts = {
|
||||
# Angle brackets around nicks stay dark grey so the nick color is the star.
|
||||
# Trailing %w tints the message body dim grey so it doesn't compete with
|
||||
# the rainbow accents.
|
||||
msgnick = "%K<%n$0$1-%K>%n %|%K";
|
||||
msgnick = "%X17<%n$0$1-%X17>%n %|%X17";
|
||||
|
||||
# Messages from you.
|
||||
ownmsgnick = "{msgnick $0 $1-}";
|
||||
@@ -97,11 +97,11 @@ abstracts = {
|
||||
pubmsghinick = "{msgnick $1 $0$2-%n}";
|
||||
|
||||
# channel prefix on a message: ":#chan" in bright magenta.
|
||||
msgchannel = "%K:%M$*%n";
|
||||
msgchannel = "%X17:%M$*%n";
|
||||
|
||||
# Private messages — heavy bright-magenta framing so queries stand apart.
|
||||
privmsg = "[%_%M$0%_%K(%m$1-%K)%n] ";
|
||||
ownprivmsg = "[%_%m$0%_%K(%M$1-%K)%n] ";
|
||||
privmsg = "[%_%M$0%_%X17(%m$1-%X17)%n] ";
|
||||
ownprivmsg = "[%_%m$0%_%X17(%M$1-%X17)%n] ";
|
||||
|
||||
# Private message in a query window.
|
||||
ownprivmsgnick = "{msgnick $*}";
|
||||
@@ -114,13 +114,13 @@ abstracts = {
|
||||
|
||||
# Bright yellow asterisks so actions are unmistakable. Action text in dim
|
||||
# grey to match ordinary message bodies.
|
||||
action_core = "%_%Y * %n%K$*%n";
|
||||
action_core = "%_%Y * %n%X17$*%n";
|
||||
action = "{action_core $*} ";
|
||||
ownaction = "{action $*}";
|
||||
ownaction_target = "{action_core $0}%K:%M$1%n ";
|
||||
ownaction_target = "{action_core $0}%X17:%M$1%n ";
|
||||
|
||||
# Private actions get a parenthesized asterisk; keep it in bright yellow.
|
||||
pvtaction = "%_%Y (*) %n%K$*%n ";
|
||||
pvtaction = "%_%Y (*) %n%X17$*%n ";
|
||||
pvtaction_query = "{action $*}";
|
||||
pubaction = "{action $*}";
|
||||
|
||||
@@ -129,25 +129,25 @@ abstracts = {
|
||||
##
|
||||
|
||||
# whois — cyan field name, dim-grey value
|
||||
whois = "%c %# $[8]0 : %n%K$1-%n";
|
||||
whois = "%c %# $[8]0 : %n%X17$1-%n";
|
||||
|
||||
# notices — magenta stays the "alert" color
|
||||
ownnotice = "[%_%m$0%_%K(%M$1-%K)]%n ";
|
||||
notice = "%K-%_%M$*%_%K-%n ";
|
||||
pubnotice_channel = "%K:%m$*";
|
||||
pvtnotice_host = "%K(%m$*%K)";
|
||||
ownnotice = "[%_%m$0%_%X17(%M$1-%X17)]%n ";
|
||||
notice = "%X17-%_%M$*%_%X17-%n ";
|
||||
pubnotice_channel = "%X17:%m$*";
|
||||
pvtnotice_host = "%X17(%m$*%X17)";
|
||||
|
||||
# server notices — bright green bang, dim-grey body
|
||||
servernotice = "%_%G!%n%K$*%n ";
|
||||
servernotice = "%_%G!%n%X17$*%n ";
|
||||
|
||||
# CTCPs — bright green
|
||||
ownctcp = "[%_%g$0%_%K(%G$1-%K)] ";
|
||||
ownctcp = "[%_%g$0%_%X17(%G$1-%X17)] ";
|
||||
ctcp = "%_%G$*%n%_";
|
||||
|
||||
# wallops
|
||||
wallop = "%_%Y$*%n%_: ";
|
||||
wallop_nick = "%K$*%n";
|
||||
wallop_action = "%_%Y * %n%K$*%n ";
|
||||
wallop_nick = "%X17$*%n";
|
||||
wallop_action = "%_%Y * %n%X17$*%n ";
|
||||
|
||||
# netsplits / netjoins — red fall, green rise
|
||||
netsplit = "%_%R$*%n%_";
|
||||
@@ -164,19 +164,19 @@ abstracts = {
|
||||
|
||||
# DCC — green family so transfers read as "network-y"
|
||||
dcc = "%_%G$*%n%_";
|
||||
dccfile = "%_%K$*%n%_";
|
||||
dccfile = "%_%X17$*%n%_";
|
||||
|
||||
# DCC chat, own msg/action
|
||||
dccownmsg = "[%_%r$0%_%K($1-%K)%n] ";
|
||||
dccownmsg = "[%_%r$0%_%X17($1-%X17)%n] ";
|
||||
dccownnick = "%_%R$*%n%_";
|
||||
dccownquerynick = "%_%M$*%n%_";
|
||||
dccownaction = "{action $*}";
|
||||
dccownaction_target = "{action_core $0}%K:%M$1%n ";
|
||||
dccownaction_target = "{action_core $0}%X17:%M$1%n ";
|
||||
|
||||
# DCC chat, others
|
||||
dccmsg = "[%_%G$1-%_%K(%g$0%K)%n] ";
|
||||
dccmsg = "[%_%G$1-%_%X17(%g$0%X17)%n] ";
|
||||
dccquerynick = "%_%G$*%n%_";
|
||||
dccaction = "%_%Y (*dcc*) %n%K$*%n %|";
|
||||
dccaction = "%_%Y (*dcc*) %n%X17$*%n %|";
|
||||
|
||||
##
|
||||
## statusbar — the rainbow lives here
|
||||
@@ -206,7 +206,7 @@ abstracts = {
|
||||
sbnickmode = "%Y$0%n";
|
||||
|
||||
# activity in statusbar — rotates through the rainbow.
|
||||
sb_act_sep = "%K$*";
|
||||
sb_act_sep = "%X17$*";
|
||||
sb_act_text = "%G$*"; # plain chatter (green)
|
||||
sb_act_msg = "%_%C$*%_"; # someone said something (cyan)
|
||||
sb_act_hilight = "%_%M$*%_"; # something for you (magenta)
|
||||
@@ -214,26 +214,26 @@ abstracts = {
|
||||
};
|
||||
|
||||
formats = {
|
||||
# Common channel-event formats get explicitly wrapped in %K (dark grey)
|
||||
# Common channel-event formats get explicitly wrapped in %X17 (dark grey)
|
||||
# so the plain-text body doesn't fall through to the terminal default
|
||||
# (which on a typical dark terminal is stark white).
|
||||
"fe-common/core" = {
|
||||
pubmsg = "{pubmsgnick $2 {pubnick \00305$0}}$1";
|
||||
join = "%K-->%n {channick_hilight $0} {chanhost_hilight $1} has joined {channel $2}";
|
||||
part = "%K<--%n {channick $0} {chanhost $1} %Khas left%n {channel $2} {reason $3}";
|
||||
quit = "%K<--%n {channick $0} {chanhost $1} %Khas quit%n {reason $2}";
|
||||
quit_once = "%K<--%n {channick $0} {chanhost $1} %Khas quit%n {channel $2} {reason $3}";
|
||||
kick = "%K<--%n {channick $0} %Kwas kicked from%n {channel $1} %Kby%n {nick $2} {reason $3}";
|
||||
nick_changed = "%K-!-%n {channick $0} %Kis now known as%n {channick_hilight $1}";
|
||||
your_nick_changed = "%K-!-%n %KYou're now known as%n {channick_hilight $1}";
|
||||
topic = "%K-!-%n %KTopic for%n {channel $0}%K:%n %K$1%n";
|
||||
topic_info = "%K-!-%n %KTopic set by%n {nick $0} {nickhost $1} %K($2)%n";
|
||||
new_topic = "%K-!-%n {nick $0} %Kchanged the topic of%n {channel $1} %Kto:%n %K$2%n";
|
||||
server_changed = "%K-!-%n %KServer changed to%n %_$1%_";
|
||||
chanmode_change = "%K-!-%n %Kmode/%n{channelhilight $0} {mode $1} %Kby%n {nick $2}";
|
||||
usermode_change = "%K-!-%n %Kmode/%n{nick $1} {mode $0}";
|
||||
away = "%K-!-%n %Kzzz: %n$0";
|
||||
unaway = "%K-!-%n %Kwelcome back%n";
|
||||
join = "%X17-->%n {channick_hilight $0} {chanhost_hilight $1} has joined {channel $2}";
|
||||
part = "%X17<--%n {channick $0} {chanhost $1} %X17has left%n {channel $2} {reason $3}";
|
||||
quit = "%X17<--%n {channick $0} {chanhost $1} %X17has quit%n {reason $2}";
|
||||
quit_once = "%X17<--%n {channick $0} {chanhost $1} %X17has quit%n {channel $2} {reason $3}";
|
||||
kick = "%X17<--%n {channick $0} %X17was kicked from%n {channel $1} %X17by%n {nick $2} {reason $3}";
|
||||
nick_changed = "%X17-!-%n {channick $0} %X17is now known as%n {channick_hilight $1}";
|
||||
your_nick_changed = "%X17-!-%n %X17You're now known as%n {channick_hilight $1}";
|
||||
topic = "%X17-!-%n %X17Topic for%n {channel $0}%X17:%n %X17$1%n";
|
||||
topic_info = "%X17-!-%n %X17Topic set by%n {nick $0} {nickhost $1} %X17($2)%n";
|
||||
new_topic = "%X17-!-%n {nick $0} %X17changed the topic of%n {channel $1} %X17to:%n %X17$2%n";
|
||||
server_changed = "%X17-!-%n %X17Server changed to%n %_$1%_";
|
||||
chanmode_change = "%X17-!-%n %X17mode/%n{channelhilight $0} {mode $1} %X17by%n {nick $2}";
|
||||
usermode_change = "%X17-!-%n %X17mode/%n{nick $1} {mode $0}";
|
||||
away = "%X17-!-%n %X17zzz: %n$0";
|
||||
unaway = "%X17-!-%n %X17welcome back%n";
|
||||
own_msg = "{ownmsgnick $2 {ownnick $0}}$1";
|
||||
own_msg_channel = "{ownmsgnick $3 {ownnick $0}{msgchannel $1}}$2";
|
||||
own_msg_private_query = "{ownprivmsgnick {ownprivnick $2}}$1";
|
||||
|
||||
Reference in New Issue
Block a user