+ out << senderQss(i, s, "plain");
+
+ // Only color the nicks in CTCP ACTIONs if sender colors are enabled
+ if (s.value("UseSenderActionColors").toBool()) {
+ // For action messages, color the 'sender' column -and- the nick itself
+ out << "\n// Sender Nickname Colors for action messages\n"
+ << "ChatLine::sender#action[sender=\"self\"] { foreground: " << color("SenderSelf", s) << "; }\n"
+ << "ChatLine::nick#action[sender=\"self\"] { foreground: " << color("SenderSelf", s) << "; }\n\n";
+
+ // Matches qssparser.cpp for UiStyle::ActionMsg
+ for (int i = 0; i < 16; i++)
+ out << senderQss(i, s, "action", true);
+ }