From: Manuel Nickschas Date: Tue, 24 Jul 2018 21:29:18 +0000 (+0200) Subject: qss: Disable color codes in highlighted messages in the default QSS X-Git-Tag: 0.13-rc2~75 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=5eabeaac29e32c327dc067147f3fcea44e5164f8 qss: Disable color codes in highlighted messages in the default QSS Colored text in highlighted messages may be hard to read due to the changed background color. Disable overriding the highlight text color in the default stylesheet. Custom stylesheets can still enable color codes again by setting the allow-foreground-override property to true. --- diff --git a/data/stylesheets/default.qss b/data/stylesheets/default.qss index 6027980a..61ccd4c1 100644 --- a/data/stylesheets/default.qss +++ b/data/stylesheets/default.qss @@ -14,6 +14,7 @@ ChatLine { ChatLine[label="highlight"] { foreground: black; background: #ff8000; + allow-foreground-override: false; allow-background-override: false; }