20 import QtQuick.Controls.Suru 2.2
21 import Lomiri.Components 1.3
26 readonly
property int defaultSpacing: units.gu(2)
27 readonly
property int largeSpacing: (defaultSpacing * 2)
28 readonly property
int smallSpacing: (defaultSpacing / 2)
30 readonly
property int lineSize: units.dp(1)
31 readonly
property color lineColor: Suru.neutralColor
32 readonly
property color selectedHighlight: LomiriColors.blue
33 readonly
property color windowColor: Suru.backgroundColor
34 property color colorDumb :
"#FF00FF";
36 readonly
property int defaultIconSize: units.gu(2.5)
37 readonly
property int largeIconSize: units.gu(3.5)
38 readonly
property int smallIconSize: units.gu(1.5)
40 readonly
property int defaultPanelWidth: units.gu(30)
42 readonly
property color devPanelBackground:
"#212121"
44 property Component highlightBar: Component {
46 color: Qt.rgba(0, 0, 0, 0.05)
50 property Item _garbage_ : Item { }
51 property Component templateGradientShaded : Component {
55 property color baseColorTop : colorDumb;
56 property color baseColorBottom : colorDumb;
58 GradientStop { color: autogradient.baseColorTop; position: 0.0; }
59 GradientStop { color: autogradient.baseColorBottom; position: 1.0; }
62 function gradientShaded (baseColorTop, baseColorBottom) {
63 return templateGradientShaded.createObject (_garbage_, {
64 "baseColorTop" : (baseColorTop || selectedHighlight),
65 "baseColorBottom" : (baseColorBottom || windowColor),