mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-14 15:49:52 +01:00
KDE: Add lok-and-feel theme
This commit is contained in:
20
kde/plasma/look-and-feel/Sweet-Mars/contents/defaults
Normal file
20
kde/plasma/look-and-feel/Sweet-Mars/contents/defaults
Normal file
@@ -0,0 +1,20 @@
|
||||
[kdeglobals][KDE]
|
||||
widgetStyle=kvantum
|
||||
|
||||
[kdeglobals][General]
|
||||
ColorScheme=Sweet-Mars
|
||||
|
||||
[kdeglobals][Icons]
|
||||
Theme=candy-icons
|
||||
|
||||
[kcminputrc][Mouse]
|
||||
cursorTheme=Sweet-cursors
|
||||
|
||||
[plasmarc][Theme]
|
||||
name=Sweet-mars
|
||||
|
||||
[kwinrc][org.kde.kdecoration2]
|
||||
library=org.kde.kwin.aurorae
|
||||
theme=__aurorae__svg__Sweet-Mars
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 139 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 825 KiB |
BIN
kde/plasma/look-and-feel/Sweet-Mars/contents/previews/splash.png
Normal file
BIN
kde/plasma/look-and-feel/Sweet-Mars/contents/previews/splash.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
104
kde/plasma/look-and-feel/Sweet-Mars/contents/splash/Splash.qml
Normal file
104
kde/plasma/look-and-feel/Sweet-Mars/contents/splash/Splash.qml
Normal file
@@ -0,0 +1,104 @@
|
||||
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
|
||||
property real size: units.gridUnit * 12
|
||||
anchors.centerIn: parent
|
||||
source: "images/sweetlogo.png"
|
||||
sourceSize.width: 150
|
||||
sourceSize.height: 150
|
||||
|
||||
ParallelAnimation {
|
||||
running: true
|
||||
|
||||
ScaleAnimator {
|
||||
target: logo
|
||||
from: 0
|
||||
to: 1
|
||||
duration: 700
|
||||
}
|
||||
|
||||
SequentialAnimation {
|
||||
loops: Animation.Infinite
|
||||
|
||||
OpacityAnimator {
|
||||
target: logo
|
||||
from: 0.75
|
||||
to: 1
|
||||
duration: 1200
|
||||
}
|
||||
OpacityAnimator {
|
||||
target: logo
|
||||
from: 1
|
||||
to: 0.75
|
||||
duration: 1200
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Image {
|
||||
id: busyIndicator
|
||||
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
|
||||
|
||||
ParallelAnimation{
|
||||
running: true
|
||||
|
||||
ScaleAnimator{
|
||||
target: busyIndicator
|
||||
from: 0
|
||||
to: 1
|
||||
duration: 800
|
||||
}
|
||||
|
||||
RotationAnimator{
|
||||
target: busyIndicator
|
||||
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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
[Dolphin]
|
||||
PreviewsShown=true
|
||||
Timestamp=2019,6,23,12,8,17
|
||||
Version=4
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 660 KiB |
@@ -0,0 +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"><linearGradient id="_lgradient_9" x1="0.2659325391698928" y1="-0.00854772282426941" x2="1.0069978816566607" y2="0.9159543564313111" gradientTransform="matrix(35.253,0,0,44.619,0.75,2.631)" 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 30.81 44.925 L 30.81 44.925 C 31.025 45.579 30.667 46.285 30.01 46.5 C 30.01 46.5 28.8 46.79 28.8 46.79 C 28.116 46.895 27.475 46.427 27.37 45.745 L 27.37 45.745 C 27.265 45.063 27.673 44.434 28.28 44.34 C 28.28 44.34 29.37 44.08 29.37 44.08 C 29.95 43.892 30.595 44.271 30.81 44.925 L 30.81 44.925 Z M 35.875 42.925 L 35.875 42.925 C 36.159 43.551 35.955 44.262 35.42 44.51 C 35.42 44.51 34.42 44.91 34.42 44.91 C 33.857 45.103 33.216 44.731 32.99 44.08 L 32.99 44.08 C 32.764 43.429 33.001 42.757 33.52 42.58 C 33.52 42.58 34.45 42.21 34.45 42.21 C 34.952 41.978 35.591 42.299 35.875 42.925 L 35.875 42.925 Z M 24.51 44.74 L 24.51 44.74 C 25.2 44.734 25.764 45.29 25.77 45.98 L 25.77 45.98 C 25.776 46.67 25.22 47.234 24.53 47.24 L 24.53 47.24 L 24.01 47.25 C 24.01 47.25 24 47.25 24 47.25 C 17.84 47.25 11.92 44.8 7.56 40.44 C 3.2 36.08 0.75 30.16 0.75 24 C 0.75 19.5 2.06 15.09 4.52 11.32 C 6.97 7.54 10.47 4.56 14.58 2.74 L 14.58 2.74 C 15.215 2.459 15.956 2.743 16.235 3.375 L 16.235 3.375 C 16.514 4.007 16.229 4.744 15.6 5.02 L 15.6 5.02 C 11.92 6.65 8.8 9.31 6.61 12.68 C 4.42 16.05 3.25 19.98 3.25 24 C 3.25 29.5 5.44 34.78 9.33 38.67 C 13.21 42.56 18.49 44.75 23.99 44.75 L 24.51 44.74 Z " fill-rule="evenodd" fill="url(#_lgradient_9)"/></svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
13
kde/plasma/look-and-feel/Sweet-Mars/metadata.desktop
Normal file
13
kde/plasma/look-and-feel/Sweet-Mars/metadata.desktop
Normal file
@@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Name=Sweet-Mars
|
||||
X-KDE-PluginInfo-Author=EliverLara
|
||||
X-KDE-PluginInfo-Category=Plasma Look And Feel
|
||||
X-KDE-PluginInfo-Email=eliverlara@gmail.com
|
||||
X-KDE-PluginInfo-EnabledByDefault=true
|
||||
X-KDE-PluginInfo-License=GPL 3+
|
||||
X-KDE-PluginInfo-Name=Sweet-Mars
|
||||
X-KDE-PluginInfo-Version=0.1
|
||||
X-KDE-PluginInfo-Website=https://github.com/EliverLara/Sweet/tree/mars/kde
|
||||
X-KDE-ServiceTypes=Plasma/LookAndFeel
|
||||
|
||||
X-KPackage-Dependencies=kns://colorschemes.knsrc/api.kde-look.org/1393486,kns://plasma-themes.knsrc/api.kde-look.org/1393498,kns://aurorae.knsrc/api.kde-look.org/1393497
|
||||
Reference in New Issue
Block a user