Dark mode support

Centralized all colors, tweaked application paletter in darkmode to make it darker.
This commit is contained in:
eelke 2025-02-23 08:32:15 +01:00
parent aac55b0ed1
commit 86a9a0d709
19 changed files with 335 additions and 73 deletions

View file

@ -3,6 +3,7 @@
#include <QPlainTextEdit>
#include <set>
#include "util/Colors.h"
/** This class adds some capabilities to QPlainTextEdit that are useful
* in code editor scenarios.
@ -39,6 +40,7 @@ private:
QTextEdit::ExtraSelection currentLine;
QList<QTextEdit::ExtraSelection> errorMarkers;
const ColorTheme &colorTheme;
std::set<int> errorLines;