mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-16 16:39:52 +01:00
KDE: Improve splashscreen appearance
This commit is contained in:
@@ -29,8 +29,8 @@ Image {
|
|||||||
property real size: units.gridUnit * 12
|
property real size: units.gridUnit * 12
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
source: "images/sweetlogo.png"
|
source: "images/sweetlogo.png"
|
||||||
sourceSize.width: 150
|
sourceSize.width: 135
|
||||||
sourceSize.height: 150
|
sourceSize.height: 135
|
||||||
|
|
||||||
ParallelAnimation {
|
ParallelAnimation {
|
||||||
running: true
|
running: true
|
||||||
@@ -63,33 +63,33 @@ Image {
|
|||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: busyIndicator
|
id: busyIndicator
|
||||||
y: parent.height - (parent.height - logo.y) / 3 - height/2
|
source: "images/busy03.svg"
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.centerIn: parent
|
||||||
source: "images/busy.svg"
|
sourceSize.height: 200
|
||||||
sourceSize.height: units.gridUnit * 3
|
sourceSize.width: 200
|
||||||
sourceSize.width: units.gridUnit * 3
|
RotationAnimator on rotation {
|
||||||
|
id: rotationAnimator
|
||||||
ParallelAnimation{
|
from: 0
|
||||||
running: true
|
to: 360
|
||||||
|
duration: 2000
|
||||||
ScaleAnimator{
|
loops: Animation.Infinite
|
||||||
target: busyIndicator
|
|
||||||
from: 0
|
|
||||||
to: 1
|
|
||||||
duration: 800
|
|
||||||
}
|
|
||||||
|
|
||||||
RotationAnimator{
|
|
||||||
target: busyIndicator
|
|
||||||
id: rotationAnimator
|
|
||||||
from: 0
|
|
||||||
to: 360
|
|
||||||
duration: 800
|
|
||||||
loops: Animation.Infinite
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Image {
|
||||||
|
id: busyIndicator2
|
||||||
|
source: "images/busy03.svg"
|
||||||
|
anchors.centerIn: parent
|
||||||
|
sourceSize.height: 250
|
||||||
|
sourceSize.width: 250
|
||||||
|
RotationAnimator on rotation {
|
||||||
|
id: rotationAnimator2
|
||||||
|
from: 360
|
||||||
|
to: 0
|
||||||
|
duration: 2000
|
||||||
|
loops: Animation.Infinite
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
OpacityAnimator {
|
OpacityAnimator {
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
style="isolation:isolate"
|
||||||
|
viewBox="0 0 44 44"
|
||||||
|
width="44pt"
|
||||||
|
height="44pt"
|
||||||
|
version="1.1"
|
||||||
|
id="svg4"
|
||||||
|
sodipodi:docname="busy03.svg"
|
||||||
|
inkscape:version="1.0.2 (e86c870879, 2021-01-15)">
|
||||||
|
<metadata
|
||||||
|
id="metadata10">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs8" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1366"
|
||||||
|
inkscape:window-height="707"
|
||||||
|
id="namedview6"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="9.0380245"
|
||||||
|
inkscape:cx="29.333333"
|
||||||
|
inkscape:cy="29.333333"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="25"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg4" />
|
||||||
|
<path
|
||||||
|
d=" M 21.61 2.5 L 21.61 2.5 C 21.334 2.506 21.108 2.286 21.105 2.01 L 21.105 2.01 C 21.102 1.734 21.324 1.506 21.6 1.5 L 21.6 1.5 L 22 1.5 C 22 1.5 22 1.5 22 1.5 C 27.43 1.5 32.65 3.66 36.5 7.5 C 40.34 11.35 42.5 16.57 42.5 22 C 42.5 22 42.5 22 42.5 22.01 L 42.49 22.52 L 42.49 22.52 C 42.49 22.796 42.266 23.018 41.99 23.015 L 41.99 23.015 C 41.714 23.012 41.49 22.786 41.49 22.51 L 41.49 22.51 L 41.5 22 C 41.5 16.83 39.44 11.87 35.79 8.21 C 32.13 4.56 27.17 2.5 22 2.5 L 21.61 2.5 Z M 22.77 41.49 L 22.77 41.49 C 23.046 41.484 23.274 41.704 23.28 41.98 L 23.28 41.98 C 23.286 42.256 23.066 42.48 22.79 42.48 L 22.79 42.48 L 22.01 42.5 C 22.01 42.5 22 42.5 22 42.5 C 16.57 42.5 11.35 40.34 7.5 36.5 C 3.66 32.65 1.5 27.43 1.5 22 C 1.5 22 1.5 21.99 1.5 21.99 L 1.51 21.34 L 1.51 21.34 C 1.516 21.064 1.744 20.844 2.02 20.85 L 2.02 20.85 C 2.296 20.856 2.516 21.084 2.51 21.36 L 2.51 21.36 L 2.5 22 C 2.5 27.17 4.56 32.13 8.21 35.79 C 11.87 39.44 16.83 41.5 22 41.5 L 22.77 41.49 Z "
|
||||||
|
fill-rule="evenodd"
|
||||||
|
fill="#ff9047"
|
||||||
|
id="path2"
|
||||||
|
style="fill:#ff9047;fill-opacity:1" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.5 KiB |
Reference in New Issue
Block a user