Add error text colour to theme definition

This commit is contained in:
Veronica Berglyd Olsen
2024-05-20 13:31:38 +02:00
parent 2a727d1c39
commit 4c4b92fdd4
7 changed files with 11 additions and 0 deletions
+4
View File
@@ -284,6 +284,10 @@ class GuiTheme:
else:
helpLCol = backLNess + 0.65*(textLNess - backLNess)
self.helpText = QColor.fromHsl(0, 0, int(255*helpLCol))
logger.debug(
"Computed help text colour: rgb(%d, %d, %d)",
self.helpText.red(), self.helpText.green(), self.helpText.blue()
)
# Icons
defaultIcons = "typicons_light" if backLNess >= 0.5 else "typicons_dark"