1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

HyprKeybindsModal: use Theme.secondary for key color instead of diminished opacity (#667)

This commit is contained in:
nebu
2025-11-08 16:45:53 -05:00
committed by GitHub
parent fefa2bd839
commit 8131e713cf

View File

@@ -147,12 +147,13 @@ DankModal {
width: Math.min(140, parent.width * 0.42) width: Math.min(140, parent.width * 0.42)
height: 22 height: 22
radius: 4 radius: 4
opacity: 0.3 opacity: 0.9
StyledText { StyledText {
anchors.centerIn: parent anchors.centerIn: parent
anchors.margins: 2 anchors.margins: 2
width: parent.width - 4 width: parent.width - 4
color: Theme.secondary
text: { text: {
const mods = modelData.mods || [] const mods = modelData.mods || []
const key = modelData.key || "" const key = modelData.key || ""
@@ -225,12 +226,13 @@ DankModal {
width: Math.min(140, parent.width * 0.42) width: Math.min(140, parent.width * 0.42)
height: 22 height: 22
radius: 4 radius: 4
opacity: 0.3 opacity: 0.9
StyledText { StyledText {
anchors.centerIn: parent anchors.centerIn: parent
anchors.margins: 2 anchors.margins: 2
width: parent.width - 4 width: parent.width - 4
color: Theme.secondary
text: { text: {
const mods = modelData.mods || [] const mods = modelData.mods || []
const key = modelData.key || "" const key = modelData.key || ""