mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 15:29:53 +01:00
Renew splashscreen
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import QtQuick 2.5
|
||||
|
||||
|
||||
Image {
|
||||
id: root
|
||||
source: "images/background.png"
|
||||
@@ -13,7 +12,6 @@ Image {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Item {
|
||||
id: content
|
||||
anchors.fill: parent
|
||||
@@ -25,14 +23,14 @@ Image {
|
||||
property int largeSpacing: units.gridUnit
|
||||
property int smallSpacing: Math.max(2, gridUnit/4)
|
||||
}
|
||||
|
||||
|
||||
Image {
|
||||
id: logo
|
||||
property real size: units.gridUnit * 12
|
||||
anchors.centerIn: parent
|
||||
source: "images/sweetlogo.png"
|
||||
sourceSize.width: size
|
||||
sourceSize.height: size
|
||||
sourceSize.width: 150
|
||||
sourceSize.height: 150
|
||||
|
||||
ParallelAnimation {
|
||||
running: true
|
||||
@@ -49,14 +47,14 @@ Image {
|
||||
|
||||
OpacityAnimator {
|
||||
target: logo
|
||||
from: 0.85
|
||||
from: 0.75
|
||||
to: 1
|
||||
duration: 1200
|
||||
}
|
||||
OpacityAnimator {
|
||||
target: logo
|
||||
from: 1
|
||||
to: 0.85
|
||||
to: 0.75
|
||||
duration: 1200
|
||||
}
|
||||
}
|
||||
@@ -70,7 +68,7 @@ Image {
|
||||
source: "images/busy.svg"
|
||||
sourceSize.height: units.gridUnit * 3
|
||||
sourceSize.width: units.gridUnit * 3
|
||||
|
||||
|
||||
ParallelAnimation{
|
||||
running: true
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
<?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"><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(54,59,79)" fill-opacity="0.5"/><linearGradient id="_lgradient_16" x1="-0.014458464773922156" y1="0.00983924611973408" x2="1.0164565923220248" y2="1.0638608794096605" 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_16)"/><path d=" M 27.688 45.375 C 27.688 44.547 28.36 43.875 29.188 43.875 C 30.015 43.875 30.688 44.547 30.688 45.375 C 30.688 46.203 30.015 46.875 29.188 46.875 C 28.36 46.875 27.688 46.203 27.688 45.375 Z M 32.063 43.875 C 32.063 43.185 32.623 42.625 33.313 42.625 C 34.002 42.625 34.563 43.185 34.563 43.875 C 34.563 44.565 34.002 45.125 33.313 45.125 C 32.623 45.125 32.063 44.565 32.063 43.875 Z " fill-rule="evenodd" fill="rgb(154,41,127)"/></svg>
|
||||
<?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"><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(54,59,79)" fill-opacity="0.5"/><linearGradient id="_lgradient_0" x1="0" y1="0.5" x2="1" y2="0.5" gradientTransform="matrix(34.063,0,0,25,0.5,22.5)" gradientUnits="userSpaceOnUse"><stop offset="0%" stop-opacity="1" style="stop-color:rgb(88,0,226)"/><stop offset="100%" stop-opacity="1" style="stop-color:rgb(255,0,230)"/></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 M 27.688 45.375 C 27.688 44.547 28.36 43.875 29.188 43.875 C 30.015 43.875 30.688 44.547 30.688 45.375 C 30.688 46.203 30.015 46.875 29.188 46.875 C 28.36 46.875 27.688 46.203 27.688 45.375 L 27.688 45.375 Z M 32.063 43.875 C 32.063 43.185 32.623 42.625 33.313 42.625 C 34.002 42.625 34.563 43.185 34.563 43.875 C 34.563 44.565 34.002 45.125 33.313 45.125 C 32.623 45.125 32.063 44.565 32.063 43.875 L 32.063 43.875 Z " fill-rule="evenodd" fill="url(#_lgradient_0)"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 41 KiB |
Reference in New Issue
Block a user