Commit 9eb330e4 authored by jan.koester's avatar jan.koester
Browse files

test

parent f45b6bd1
Loading
Loading
Loading
Loading
+4 −13
Changes for client/qml/Main.qml: 4 added lines, 13 removed lines.
Original line number Diff line number Diff line
@@ -110,24 +110,15 @@ ApplicationWindow {
        }

        /* ---- Connection Manager (right) ---- */
        ScrollView {
        Pane {
            SplitView.preferredWidth: 240
            SplitView.minimumWidth: 180
            SplitView.maximumWidth: 400
            clip: true

            Rectangle {
                width: parent.width
                implicitHeight: connLayout.implicitHeight + 24
                color: Theme.bgSecondary
            padding: 12
            background: Rectangle { color: Theme.bgSecondary }

                ColumnLayout {
                    id: connLayout
            ConnectionPanel {
                anchors.fill: parent
                    anchors.margins: 12

                    ConnectionPanel { Layout.fillWidth: true; Layout.fillHeight: true }
                }
            }
        }
    }
+16 −13
Changes for client/qml/Theme.qml: 16 added lines, 13 removed lines.
Original line number Diff line number Diff line
@@ -2,21 +2,24 @@ pragma Singleton
import QtQuick

QtObject {
    readonly property color bgPrimary:   "#1e1e2e"
    readonly property color bgSecondary: "#2b2b3d"
    readonly property color bgTertiary:  "#363650"
    readonly property color bgHover:     "#3f3f5c"
    /* Follow system dark/light preference via Qt.styleHints */
    readonly property bool dark: Qt.styleHints.colorScheme === Qt.Dark

    readonly property color textPrimary:   "#cdd6f4"
    readonly property color textSecondary: "#9399b2"
    readonly property color textMuted:     "#6c7086"
    readonly property color bgPrimary:   dark ? "#1e1e2e" : "#f5f5f7"
    readonly property color bgSecondary: dark ? "#2b2b3d" : "#e8e8ec"
    readonly property color bgTertiary:  dark ? "#363650" : "#dcdce2"
    readonly property color bgHover:     dark ? "#3f3f5c" : "#d0d0d8"

    readonly property color accent:      "#89b4fa"
    readonly property color accentHover:  "#74c7ec"
    readonly property color border:      "#45475a"
    readonly property color success:     "#a6e3a1"
    readonly property color warning:     "#f9e2af"
    readonly property color danger:      "#f38ba8"
    readonly property color textPrimary:   dark ? "#cdd6f4" : "#1c1c1e"
    readonly property color textSecondary: dark ? "#9399b2" : "#48484a"
    readonly property color textMuted:     dark ? "#6c7086" : "#8e8e93"

    readonly property color accent:      dark ? "#89b4fa" : "#0071e3"
    readonly property color accentHover:  dark ? "#74c7ec" : "#0077ed"
    readonly property color border:      dark ? "#45475a" : "#c6c6c8"
    readonly property color success:     dark ? "#a6e3a1" : "#34c759"
    readonly property color warning:     dark ? "#f9e2af" : "#ff9f0a"
    readonly property color danger:      dark ? "#f38ba8" : "#ff3b30"

    readonly property int radius: 6
}