| 1 |
// SPDX-FileCopyrightText: 2017 James Turner |
| 2 |
// SPDX-License-Identifier: GPL-2.0-or-later |
| 3 |
|
| 4 |
pragma Singleton |
| 5 |
import QtQml 2.0 |
| 6 |
|
| 7 |
QtObject |
| 8 |
{ |
| 9 |
readonly property int margin: 8 |
| 10 |
readonly property int roundRadius: 6 |
| 11 |
|
| 12 |
readonly property int inset: 20 |
| 13 |
readonly property int strutSize: 50 |
| 14 |
|
| 15 |
readonly property string frameColor: "#68A6E1" |
| 16 |
readonly property string minorFrameColor: "#9f9f9f" |
| 17 |
|
| 18 |
readonly property string backgroundColor: "#ffffff" |
| 19 |
readonly property string themeColor: "#1b7ad3" |
| 20 |
readonly property string destructiveActionColor: "#c62703" |
| 21 |
readonly property string panelBackground: "#efefef" |
| 22 |
|
| 23 |
readonly property string activeColor: Qt.darker(themeColor) |
| 24 |
readonly property string inverseActiveColor: "#2f2f2f" |
| 25 |
|
| 26 |
readonly property string inactiveThemeColor: "#9f9f9f" |
| 27 |
readonly property string disabledThemeColor: disabledTextColor |
| 28 |
readonly property string disabledMinorFrameColor: "#afafaf" |
| 29 |
|
| 30 |
readonly property string noteFrameColor: "#fe6600" |
| 31 |
readonly property string noteBackgroundColor: "#f6a773" |
| 32 |
|
| 33 |
readonly property string baseTextColor: "#2f2f2f" |
| 34 |
readonly property string themeContrastTextColor: "#efefef" |
| 35 |
readonly property string themeContrastLinkColor: baseTextColor |
| 36 |
|
| 37 |
readonly property int baseFontPixelSize: 12 |
| 38 |
readonly property int subHeadingFontPixelSize: 14 |
| 39 |
readonly property int headingFontPixelSize: 18 |
| 40 |
|
| 41 |
readonly property string disabledTextColor: "#6f6f6f" |
| 42 |
|
| 43 |
readonly property double panelOpacity: 0.7 |
| 44 |
|
| 45 |
readonly property int menuItemHeight: baseFontPixelSize + (margin * 2) |
| 46 |
} |