summaryrefslogtreecommitdiff
path: root/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/PrimaryButtonStyle.qml
blob: c1cf5be9cf8abdcdfdfd01885303d9b7858f607d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0

import QtQuick

ControlStyle {
    controlSize: Qt.size(Values.topLevelComboWidth, Values.topLevelComboHeight)
    baseIconFontSize: Values.baseFontSize
    radius: Values.smallRadius

    icon: ControlStyle.IconColors {
        idle: Values.themeTextSelectedTextColor
        hover: Values.themeTextSelectedTextColor
        disabled: Values.themeToolbarIcon_blocked
    }

    background: ControlStyle.BackgroundColors {
        idle: Values.themeInteraction
        hover: Values.themePrimaryButton_hoverHighlight
        interaction: Values.themeInteraction
        disabled: Values.themeInteraction
    }

    border: ControlStyle.BorderColors {
        idle: Values.themeInteraction
        hover: Values.themePrimaryButton_hoverHighlight
        interaction: Values.themePrimaryButton_hoverHighlight
        disabled: Values.themeToolbarIcon_blocked
    }
}