From 5eabeaac29e32c327dc067147f3fcea44e5164f8 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Tue, 24 Jul 2018 23:29:18 +0200 Subject: [PATCH] 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. --- data/stylesheets/default.qss | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.20.1