forked from Shinonome/dots-hyprland
26 lines
610 B
QML
26 lines
610 B
QML
import "root:/modules/common"
|
|
import "root:/modules/common/widgets"
|
|
import "root:/services"
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import Quickshell
|
|
|
|
RippleButton {
|
|
id: button
|
|
property string buttonText
|
|
|
|
implicitHeight: 30
|
|
leftPadding: 10
|
|
rightPadding: 10
|
|
|
|
colBackground: Appearance.colors.colLayer2
|
|
colBackgroundHover: Appearance.colors.colLayer2Hover
|
|
colRipple: Appearance.colors.colLayer2Active
|
|
|
|
contentItem: StyledText {
|
|
horizontalAlignment: Text.AlignHCenter
|
|
text: buttonText
|
|
color: Appearance.m3colors.m3onSurface
|
|
}
|
|
} |