Warning, /frameworks/kirigami/src/styles/org.kde.desktop/Theme.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 * SPDX-FileCopyrightText: 2015 Marco Martin <mart@kde.org>
0003 *
0004 * SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006
0007 import QtQuick
0008 import org.kde.kirigami as Kirigami
0009
0010 Kirigami.BasicThemeDefinition {
0011 textColor: palette.windowText
0012 disabledTextColor: disabledPalette.windowText
0013
0014 highlightColor: palette.highlight
0015 highlightedTextColor: palette.highlightedText
0016 backgroundColor: palette.window
0017 alternateBackgroundColor: Qt.darker(palette.window, 1.05)
0018 activeTextColor: palette.highlight
0019 activeBackgroundColor: palette.highlight
0020 linkColor: "#2980B9"
0021 linkBackgroundColor: "#2980B9"
0022 visitedLinkColor: "#7F8C8D"
0023 visitedLinkBackgroundColor: "#7F8C8D"
0024 hoverColor: palette.highlight
0025 focusColor: palette.highlight
0026 negativeTextColor: "#DA4453"
0027 negativeBackgroundColor: "#DA4453"
0028 neutralTextColor: "#F67400"
0029 neutralBackgroundColor: "#F67400"
0030 positiveTextColor: "#27AE60"
0031 positiveBackgroundColor: "#27AE60"
0032
0033 buttonTextColor: palette.buttonText
0034 buttonBackgroundColor: palette.button
0035 buttonAlternateBackgroundColor: Qt.darker(palette.button, 1.05)
0036 buttonHoverColor: palette.highlight
0037 buttonFocusColor: palette.highlight
0038
0039 viewTextColor: palette.text
0040 viewBackgroundColor: palette.base
0041 viewAlternateBackgroundColor: palette.alternateBase
0042 viewHoverColor: palette.highlight
0043 viewFocusColor: palette.highlight
0044
0045 selectionTextColor: palette.highlightedText
0046 selectionBackgroundColor: palette.highlight
0047 selectionAlternateBackgroundColor: Qt.darker(palette.highlight, 1.05)
0048 selectionHoverColor: palette.highlight
0049 selectionFocusColor: palette.highlight
0050
0051 tooltipTextColor: palette.base
0052 tooltipBackgroundColor: palette.text
0053 tooltipAlternateBackgroundColor: Qt.darker(palette.text, 1.05)
0054 tooltipHoverColor: palette.highlight
0055 tooltipFocusColor: palette.highlight
0056
0057 complementaryTextColor: palette.base
0058 complementaryBackgroundColor: palette.text
0059 complementaryAlternateBackgroundColor: Qt.darker(palette.text, 1.05)
0060 complementaryHoverColor: palette.highlight
0061 complementaryFocusColor: palette.highlight
0062
0063 headerTextColor: palette.text
0064 headerBackgroundColor: palette.base
0065 headerAlternateBackgroundColor: palette.alternateBase
0066 headerHoverColor: palette.highlight
0067 headerFocusColor: palette.highlight
0068
0069 property font defaultFont: fontMetrics.font
0070
0071 property list<QtObject> children: [
0072 TextMetrics {
0073 id: fontMetrics
0074 },
0075 SystemPalette {
0076 id: palette
0077 colorGroup: SystemPalette.Active
0078 },
0079 SystemPalette {
0080 id: disabledPalette
0081 colorGroup: SystemPalette.Disabled
0082 }
0083 ]
0084
0085 function __propagateColorSet(object, context) {}
0086
0087 function __propagateTextColor(object, color) {}
0088 function __propagateBackgroundColor(object, color) {}
0089 function __propagatePrimaryColor(object, color) {}
0090 function __propagateAccentColor(object, color) {}
0091 }