theme: upgrade palette from Catppuccin Mocha to Frappé

Replaces all dark-Mocha colours (#1e1e2e base, #313244 surface0, etc.)
with the noticeably brighter Frappé variants (#303446 base, #414559
surface0, etc.) across the QSS and every hardcoded colour in Python
source files (syntax highlighter, completer popup, log viewer, explain
view, table viewer, schema browser, icons, etc.).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 16:51:37 -04:00
co-authored by Claude Sonnet 4.6
parent 22f1dd5f45
commit b003976d39
14 changed files with 221 additions and 221 deletions
+9 -9
View File
@@ -30,14 +30,14 @@ from PyQt6.QtGui import (
from app.utils.logger import get_log_path
# ── Level colours (Catppuccin Mocha palette) ─────────────────────────────────
# ── Level colours (Catppuccin Frappé palette) ─────────────────────────────────
_LEVEL_COLOURS: dict[str, str] = {
"DEBUG": "#6c7086", # surface2 / dimmed
"INFO": "#cdd6f4", # text (default)
"WARNING": "#f9e2af", # yellow
"ERROR": "#f38ba8", # red
"CRITICAL": "#ff79c6", # pink / bright red
"DEBUG": "#737994", # overlay0 / dimmed
"INFO": "#c6d0f5", # text (default)
"WARNING": "#e5c890", # yellow
"ERROR": "#e78284", # red
"CRITICAL": "#f4b8e4", # pink / bright
}
_LEVEL_ORDER = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
@@ -85,8 +85,8 @@ class _LogHighlighter(QSyntaxHighlighter):
# Highlight search matches in bright yellow
if self._search:
search_fmt = QTextCharFormat()
search_fmt.setBackground(QColor("#f9e2af"))
search_fmt.setForeground(QColor("#1e1e2e"))
search_fmt.setBackground(QColor("#e5c890"))
search_fmt.setForeground(QColor("#303446"))
idx = text.lower().find(self._search)
while idx != -1:
self.setFormat(idx, len(self._search), search_fmt)
@@ -107,7 +107,7 @@ class _LevelBtn(QPushButton):
def _apply_style(self, checked: bool):
if checked:
self.setStyleSheet(
f"QPushButton {{ background: {self._colour}; color: #1e1e2e; "
f"QPushButton {{ background: {self._colour}; color: #303446; "
f"border: none; border-radius: 3px; font-weight: bold; }}"
)
else: