From 831f2b34ad1ffd8e483397d8af4734f35617ca9c Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Fri, 2 Dec 2016 17:02:33 -0600 Subject: [PATCH 1/1] Change CommandMsg color from purple to gray The intense purple stands out a lot more than it probably needs to. Let's switch that to a gray color. No settings migration logic included as custom colors are an all-or-nothing approach. Due to 'default.qss' using a system palette color, there's no easy way to upgrade without changing existing colors or loading all of Qt's color palettes in startup. For example, palette(text) is dependent upon the system theme: ChatLine { foreground: palette(text); } --- data/stylesheets/default.qss | 20 +++++++++---------- .../chatviewcolorsettingspage.ui | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/data/stylesheets/default.qss b/data/stylesheets/default.qss index 792442c9..39ad5082 100644 --- a/data/stylesheets/default.qss +++ b/data/stylesheets/default.qss @@ -77,20 +77,20 @@ ChatLine[format="underline"] { font-style: underline; } // ChatView message colors ChatLine#notice { foreground: #916409; } ChatLine#action { foreground: #0000ff; } -ChatLine#nick { foreground: #960096; } -ChatLine#mode { foreground: #960096; } -ChatLine#join { foreground: #960096; } -ChatLine#part { foreground: #960096; } -ChatLine#quit { foreground: #960096; } -ChatLine#kick { foreground: #960096; } -ChatLine#kill { foreground: #960096; } +ChatLine#nick { foreground: #707070; } +ChatLine#mode { foreground: #707070; } +ChatLine#join { foreground: #707070; } +ChatLine#part { foreground: #707070; } +ChatLine#quit { foreground: #707070; } +ChatLine#kick { foreground: #707070; } +ChatLine#kill { foreground: #707070; } ChatLine#server { foreground: #916409; } ChatLine#info { foreground: #916409; } ChatLine#error { foreground: #916409; } ChatLine#daychange { foreground: #916409; } -ChatLine#topic { foreground: #960096; } -ChatLine#netsplit-join { foreground: #960096; } -ChatLine#netsplit-quit { foreground: #960096; } +ChatLine#topic { foreground: #707070; } +ChatLine#netsplit-join { foreground: #707070; } +ChatLine#netsplit-quit { foreground: #707070; } ChatLine#invite { foreground: #916409; } // BufferView Colors diff --git a/src/qtui/settingspages/chatviewcolorsettingspage.ui b/src/qtui/settingspages/chatviewcolorsettingspage.ui index 17a19cf3..da421bfd 100644 --- a/src/qtui/settingspages/chatviewcolorsettingspage.ui +++ b/src/qtui/settingspages/chatviewcolorsettingspage.ui @@ -183,9 +183,9 @@ - 150 - 0 - 150 + 112 + 112 + 112 -- 2.20.1