Update LoadingScreen design

This commit is contained in:
miruka 2020-03-13 01:17:47 -04:00
parent 5cee0f6c8a
commit 46a1c13088

View File

@ -1,20 +1,10 @@
// SPDX-License-Identifier: LGPL-3.0-or-later // SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12 import QtQuick 2.12
import QtGraphicalEffects 1.12
import "Base" import "Base"
Item { Rectangle {
LinearGradient { color: utils.hsluv(0, 0, 0, 0.5)
anchors.fill: parent
start: Qt.point(0, 0)
end: Qt.point(window.width, window.height)
gradient: Gradient {
GradientStop { position: 0.0; color: "#001b20" }
GradientStop { position: 1.0; color: "#3c2f4b" }
}
}
HBusyIndicator { HBusyIndicator {
anchors.centerIn: parent anchors.centerIn: parent
@ -22,7 +12,7 @@ Item {
height: width height: width
indeterminateSpan: 0.5 indeterminateSpan: 0.5
foregroundColor: Qt.hsla(0, 0, 1, 0.15) foregroundColor: utils.hsluv(240, 60 / 1.5 * 2, 0, 0.7)
progressColor: Qt.hsla(0, 0, 1, 0.4) progressColor: utils.hsluv(240, 60 * 1.5, 72)
} }
} }