mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-16 16:39:52 +01:00
KDE: Add sddm theme
This commit is contained in:
26
kde/sddm/Sweet-Mars/DropdownMenuStyle.qml
Normal file
26
kde/sddm/Sweet-Mars/DropdownMenuStyle.qml
Normal file
@@ -0,0 +1,26 @@
|
||||
import QtQuick 2.2
|
||||
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
|
||||
import QtQuick.Controls.Styles 1.4 as QQCS
|
||||
import QtQuick.Controls 1.3 as QQC
|
||||
|
||||
QQCS.MenuStyle {
|
||||
frame: Rectangle {
|
||||
color: "#1E2326"
|
||||
border.color: "#0C0E15"
|
||||
border.width: 1
|
||||
}
|
||||
itemDelegate.label: QQC.Label {
|
||||
height: contentHeight * 2
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: config.highlight_color
|
||||
font.pointSize: config.fontSize
|
||||
font.family: config.font
|
||||
text: styleData.text
|
||||
}
|
||||
itemDelegate.background: Rectangle {
|
||||
visible: styleData.selected
|
||||
color: config.selected_color
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user