Kde: Add splashscreen theme

This commit is contained in:
EliverLara
2019-06-23 12:26:13 -05:00
parent c05719ec9c
commit e8a6269ba1
7 changed files with 80 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -0,0 +1,3 @@
[Dolphin]
Timestamp=2019,6,23,12,1,37
Version=4

View File

@@ -0,0 +1,70 @@
import QtQuick 2.5
Image {
id: root
source: "images/background.png"
property int stage
onStageChanged: {
if (stage == 1) {
introAnimation.running = true
}
}
Item {
id: content
anchors.fill: parent
opacity: 0
TextMetrics {
id: units
text: "M"
property int gridUnit: boundingRect.height
property int largeSpacing: units.gridUnit
property int smallSpacing: Math.max(2, gridUnit/4)
}
Image {
id: logo
//match SDDM/lockscreen avatar positioning
property real size: units.gridUnit * 12
anchors.centerIn: parent
source: "images/sweetlogo.png"
sourceSize.width: size
sourceSize.height: size
}
Image {
id: busyIndicator
//in the middle of the remaining space
y: parent.height - (parent.height - logo.y) / 3 - height/2
anchors.horizontalCenter: parent.horizontalCenter
source: "images/busy.svg"
sourceSize.height: units.gridUnit * 3
sourceSize.width: units.gridUnit * 3
RotationAnimator on rotation {
id: rotationAnimator
from: 0
to: 360
duration: 800
loops: Animation.Infinite
}
}
}
OpacityAnimator {
id: introAnimation
running: false
target: content
from: 0
to: 1
duration: 1000
easing.type: Easing.InOutQuad
}
}

View File

@@ -0,0 +1,4 @@
[Dolphin]
PreviewsShown=true
Timestamp=2019,6,23,12,8,17
Version=4

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Gravit.io -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="0 0 48 48" width="48pt" height="48pt"><defs><clipPath id="_clipPath_hSIrhqq9cfniBm1ZZtvRDA2F4QnFRqXQ"><rect width="48" height="48"/></clipPath></defs><g clip-path="url(#_clipPath_hSIrhqq9cfniBm1ZZtvRDA2F4QnFRqXQ)"><rect width="48" height="48" style="fill:rgb(81,81,81)" fill-opacity="0"/><path d=" M 24 47.5 C 10.9 47.5 0.3 37 0.3 24 C 0.3 11 10.9 0.5 24 0.5 C 37.1 0.5 47.7 11 47.7 24 C 47.7 37 37.1 47.5 24 47.5 Z M 24 3.5 C 12.6 3.5 3.3 12.7 3.3 24 C 3.3 35.3 12.6 44.5 24 44.5 C 35.4 44.5 44.7 35.3 44.7 24 C 44.7 12.7 35.4 3.5 24 3.5 Z " fill="rgb(22,25,37)" fill-opacity="0.5"/><linearGradient id="_lgradient_1" x1="-0.014458464773922156" y1="0.009839246119734024" x2="1.0164565923220248" y2="1.0722930524759795" gradientTransform="matrix(25.2,0,0,25,0.5,22.5)" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-opacity="1" style="stop-color:rgb(249,212,35)"/><stop offset="51.56237565086822%" stop-opacity="1" style="stop-color:rgb(255,78,80)"/><stop offset="99.1304347826087%" stop-opacity="1" style="stop-color:rgb(138,35,135)"/></linearGradient><path d=" M 24.2 47.5 C 11.1 47.5 0.5 37 0.5 24 C 0.5 23.2 1.2 22.5 2 22.5 C 2.8 22.5 3.5 23.2 3.5 24 C 3.5 35.3 12.8 44.5 24.2 44.5 C 25 44.5 25.7 45.2 25.7 46 C 25.7 46.8 25 47.5 24.2 47.5 Z " fill="url(#_lgradient_1)"/></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB