forked from Shinonome/dots-hyprland
fab: update color mappings
This commit is contained in:
@@ -16,9 +16,9 @@ RippleButton {
|
|||||||
implicitWidth: Math.max(contentRowLayout.implicitWidth + 10 * 2, baseSize)
|
implicitWidth: Math.max(contentRowLayout.implicitWidth + 10 * 2, baseSize)
|
||||||
implicitHeight: baseSize
|
implicitHeight: baseSize
|
||||||
buttonRadius: Appearance.rounding.small
|
buttonRadius: Appearance.rounding.small
|
||||||
colBackground: Appearance.colors.colSecondaryContainer
|
colBackground: Appearance.colors.colPrimaryContainer
|
||||||
colBackgroundHover: Appearance.colors.colSecondaryContainerHover
|
colBackgroundHover: Appearance.colors.colPrimaryContainerHover
|
||||||
colRipple: Appearance.colors.colSecondaryContainerActive
|
colRipple: Appearance.colors.colPrimaryContainerActive
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
id: contentRowLayout
|
id: contentRowLayout
|
||||||
property real horizontalMargins: (root.baseSize - icon.width) / 2
|
property real horizontalMargins: (root.baseSize - icon.width) / 2
|
||||||
@@ -34,7 +34,7 @@ RippleButton {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
iconSize: 24
|
iconSize: 24
|
||||||
color: Appearance.colors.colOnLayer1
|
color: Appearance.colors.colOnPrimaryContainer
|
||||||
text: root.iconText
|
text: root.iconText
|
||||||
}
|
}
|
||||||
Loader {
|
Loader {
|
||||||
@@ -50,7 +50,7 @@ RippleButton {
|
|||||||
leftMargin: root.elementSpacing
|
leftMargin: root.elementSpacing
|
||||||
}
|
}
|
||||||
text: root.buttonText
|
text: root.buttonText
|
||||||
color: Appearance.colors.colOnLayer1
|
color: Appearance.colors.colOnPrimaryContainer
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
font.weight: 450
|
font.weight: 450
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user