mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
16 lines
578 B
QML
16 lines
578 B
QML
import QtQuick 2.0
|
|
|
|
QtObject {
|
|
id: config
|
|
|
|
// Colors
|
|
function alpha(c, newAlpha) {
|
|
return Qt.rgba(c.r, c.g, c.b, newAlpha)
|
|
}
|
|
property color defaultEdgeColor: alpha(theme.textColor, 0.4)
|
|
property color defaultHoveredColor: theme.buttonBackgroundColor
|
|
property color defaultPressedColor: theme.buttonHoverColor
|
|
property color edgeColor: plasmoid.configuration.edgeColor || defaultEdgeColor
|
|
property color hoveredColor: plasmoid.configuration.hoveredColor || defaultHoveredColor
|
|
property color pressedColor: plasmoid.configuration.pressedColor || defaultPressedColor
|
|
}
|