Kirigami2

org.kde.desktop/Theme.qml
1/*
2 * SPDX-FileCopyrightText: 2015 Marco Martin <mart@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7import QtQuick
8import org.kde.kirigami as Kirigami
9
10Kirigami.BasicThemeDefinition {
11 textColor: palette.windowText
12 disabledTextColor: disabledPalette.windowText
13
14 highlightColor: palette.highlight
15 highlightedTextColor: palette.highlightedText
16 backgroundColor: palette.window
17 alternateBackgroundColor: Qt.darker(palette.window, 1.05)
18 activeTextColor: palette.highlightedText
19 activeBackgroundColor: palette.highlight
20 linkColor: "#2980B9"
21 linkBackgroundColor: "#2980B9"
22 visitedLinkColor: "#7F8C8D"
23 visitedLinkBackgroundColor: "#7F8C8D"
24 hoverColor: palette.highlight
25 focusColor: palette.highlight
26 negativeTextColor: "#DA4453"
27 negativeBackgroundColor: "#DA4453"
28 neutralTextColor: "#F67400"
29 neutralBackgroundColor: "#F67400"
30 positiveTextColor: "#27AE60"
31 positiveBackgroundColor: "#27AE60"
32
33 buttonTextColor: palette.buttonText
34 buttonBackgroundColor: palette.button
35 buttonAlternateBackgroundColor: Qt.darker(palette.button, 1.05)
36 buttonHoverColor: palette.highlight
37 buttonFocusColor: palette.highlight
38
39 viewTextColor: palette.text
40 viewBackgroundColor: palette.base
41 viewAlternateBackgroundColor: palette.alternateBase
42 viewHoverColor: palette.highlight
43 viewFocusColor: palette.highlight
44
45 selectionTextColor: palette.highlightedText
46 selectionBackgroundColor: palette.highlight
47 selectionAlternateBackgroundColor: Qt.darker(palette.highlight, 1.05)
48 selectionHoverColor: palette.highlight
49 selectionFocusColor: palette.highlight
50
51 tooltipTextColor: palette.text
52 tooltipBackgroundColor: palette.base
53 tooltipAlternateBackgroundColor: palette.alternateBase
54 tooltipHoverColor: palette.highlight
55 tooltipFocusColor: palette.highlight
56
57 complementaryTextColor: palette.text
58 complementaryBackgroundColor: palette.base
59 complementaryAlternateBackgroundColor: palette.alternateBase
60 complementaryHoverColor: palette.highlight
61 complementaryFocusColor: palette.highlight
62
63 headerTextColor: palette.text
64 headerBackgroundColor: palette.base
65 headerAlternateBackgroundColor: palette.alternateBase
66 headerHoverColor: palette.highlight
67 headerFocusColor: palette.highlight
68
69 defaultFont: fontMetrics.font
70
71 property list<QtObject> children: [
72 TextMetrics {
73 id: fontMetrics
74 },
75 SystemPalette {
76 id: palette
77 colorGroup: SystemPalette.Active
78 },
79 SystemPalette {
80 id: disabledPalette
81 colorGroup: SystemPalette.Disabled
82 }
83 ]
84
85 function __propagateColorSet(object, context) {}
86
87 function __propagateTextColor(object, color) {}
88 function __propagateBackgroundColor(object, color) {}
89 function __propagatePrimaryColor(object, color) {}
90 function __propagateAccentColor(object, color) {}
91}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.