From cde30e059bab4c3fb21e38515fa7cc2e66d8f612 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Sat, 8 Dec 2018 09:54:57 +0100 Subject: [PATCH] example dark style sheet --- src/sampleconf/recoll-dark.qss | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/sampleconf/recoll-dark.qss diff --git a/src/sampleconf/recoll-dark.qss b/src/sampleconf/recoll-dark.qss new file mode 100644 index 00000000..b54e21c0 --- /dev/null +++ b/src/sampleconf/recoll-dark.qss @@ -0,0 +1,43 @@ +/* + Embryonic dark mode + + If you do want to use and improve it, and encounter a difficulty due to + (lack of) widget object names or whatever, please get in touch, I'll fix + what needs to be. + + You can have a look at http://doc.qt.io/qt-5/stylesheet-syntax.html + for Qt style sheet information. + + Select the file from the GUI with: + Preferences->GUI configuration->User interface->Style sheet->Choose + + You will also need to change the HTML style which controls the + result list: + Preferences->GUI configuration->Result list-> + Edit result page html header insert + For example: + + + +*/ + + +/* Light on dark text everywhere*/ +* { + background-color: #3c3c3c; + color: #D8D8D8; + selection-background-color: #424e72; +} + +/* Slightly lighter background for text entry areas*/ +QComboBox[editable="true"], QTextEdit, QLineEdit, QTextBrowser, QTableView, +QWebView, QPlainTextEdit { + background-color: #505050; + color: #D8D8D8; +}