fix(qt6): improve light mode text contrast — darker text, adaptive opacity

- Light theme text #111118, textSecondary #333345 (was too faint)
- FrontPage opacity values scale with isDark (0.45→0.65, 0.3→0.5, etc.)
- All secondary text now readable on gray backgrounds in both modes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-19 03:51:12 +00:00
parent 194255b21d
commit 3dacaa96d6
2 changed files with 8 additions and 8 deletions

View File

@@ -175,7 +175,7 @@ Rectangle {
variant: "body1"
text: "The universal platform for building data-driven applications."
Layout.alignment: Qt.AlignHCenter
opacity: 0.5
opacity: isDark ? 0.5 : 0.7
font.pixelSize: 16
}
@@ -183,7 +183,7 @@ Rectangle {
variant: "body2"
text: "95% JSON config \u00B7 5% infrastructure \u00B7 Desktop + Web + CLI"
Layout.alignment: Qt.AlignHCenter
opacity: 0.3
opacity: isDark ? 0.3 : 0.5
font.family: "monospace"
font.pixelSize: 13
}
@@ -254,7 +254,7 @@ Rectangle {
font.family: "monospace"
font.pixelSize: 10
font.letterSpacing: 1.5
opacity: 0.35
opacity: isDark ? 0.3 : 0.55
}
}
@@ -365,7 +365,7 @@ Rectangle {
visible: modelData.level > appWindow.currentLevel
text: "\uD83D\uDD12"
font.pixelSize: 12
opacity: 0.3
opacity: isDark ? 0.3 : 0.5
}
}
@@ -374,7 +374,7 @@ Rectangle {
text: modelData.desc
wrapMode: Text.Wrap
Layout.fillWidth: true
opacity: 0.45
opacity: isDark ? 0.45 : 0.65
lineHeight: 1.4
font.pixelSize: 12
}
@@ -483,7 +483,7 @@ Rectangle {
text: modelData.desc
variant: "caption"
font.pixelSize: 11
opacity: 0.4
opacity: isDark ? 0.4 : 0.6
}
}
}
@@ -640,7 +640,7 @@ Rectangle {
text: modelData.user + " / " + modelData.pass
font.pixelSize: 10
font.family: "monospace"
opacity: 0.3
opacity: isDark ? 0.3 : 0.5
}
}