Loading client/qml/Theme.qml +4 −4 Changes for client/qml/Theme.qml: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -4,11 +4,11 @@ import QtQuick QtObject { /* * Follow system dark/light preference. * Qt.styleHints.colorScheme may return Unknown (0) on Linux when the * desktop theme cannot be detected. Default to dark unless the system * explicitly reports Light. * Qt.styleHints.colorScheme enum: Unknown=0, Light=1, Dark=2. * On Linux the value is often 0 (Unknown), so default to dark * unless the system explicitly reports Light (1). */ readonly property bool dark: Qt.styleHints.colorScheme !== Qt.ColorScheme.Light readonly property bool dark: Qt.styleHints.colorScheme !== 1 readonly property color bgPrimary: dark ? "#1e1e2e" : "#f5f5f7" readonly property color bgSecondary: dark ? "#2b2b3d" : "#e8e8ec" Loading Loading
client/qml/Theme.qml +4 −4 Changes for client/qml/Theme.qml: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -4,11 +4,11 @@ import QtQuick QtObject { /* * Follow system dark/light preference. * Qt.styleHints.colorScheme may return Unknown (0) on Linux when the * desktop theme cannot be detected. Default to dark unless the system * explicitly reports Light. * Qt.styleHints.colorScheme enum: Unknown=0, Light=1, Dark=2. * On Linux the value is often 0 (Unknown), so default to dark * unless the system explicitly reports Light (1). */ readonly property bool dark: Qt.styleHints.colorScheme !== Qt.ColorScheme.Light readonly property bool dark: Qt.styleHints.colorScheme !== 1 readonly property color bgPrimary: dark ? "#1e1e2e" : "#f5f5f7" readonly property color bgSecondary: dark ? "#2b2b3d" : "#e8e8ec" Loading