mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
Very early KDE 6 release.
This commit is contained in:
parent
7cc4ccabbc
commit
686046d4f7
6272 changed files with 140920 additions and 529657 deletions
|
@ -0,0 +1,19 @@
|
|||
import QtQuick 2.15
|
||||
import org.kde.kirigami as Kirigami
|
||||
|
||||
import org.kde.plasma.plasmoid
|
||||
|
||||
QtObject {
|
||||
id: config
|
||||
|
||||
// Colors
|
||||
function alpha(c, newAlpha) {
|
||||
return Qt.rgba(c.r, c.g, c.b, newAlpha)
|
||||
}
|
||||
property color defaultEdgeColor: alpha(Kirigami.Theme.textColor, 0.4)
|
||||
property color defaultHoveredColor: Kirigami.Theme.backgroundColor
|
||||
property color defaultPressedColor: Kirigami.Theme.hoverColor
|
||||
property color edgeColor: Plasmoid.configuration.edgeColor || defaultEdgeColor
|
||||
property color hoveredColor: Plasmoid.configuration.hoveredColor || defaultHoveredColor
|
||||
property color pressedColor: Plasmoid.configuration.pressedColor || defaultPressedColor
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue