style: one sans and one mono, and no stretched text
GTK, Qt and Hyprland's own text move to the shell's pair: Noto Sans for interface text and JetBrainsMono Nerd Font for figures and code. They had been Adwaita Sans, Sans Serif and FiraCode. The tray menu now slides and fades in without scaling, and a pressed button sinks one pixel instead of shrinking, so no label is ever stretched mid-animation.
This commit is contained in:
1 parent
31b57f4f8c
commit
7b7cd3e575
7 files changed
+14
-20
No files matched your search
@@ -79,7 +79,6 @@ PopupWindow {
|
||||
closeAnim.stop();
|
||||
shown = false;
|
||||
holder.opacity = 0;
|
||||
holder.scale = 0.94;
|
||||
holder.x = root.bleed;
|
||||
PopupCoordinator.release(root);
|
||||
}
|
||||
@@ -106,9 +105,9 @@ PopupWindow {
|
||||
width: root.contentWidth
|
||||
height: root.contentHeight
|
||||
|
||||
// It slides in from the tray and fades, and never scales: scaling
|
||||
// stretches the menu's text while it moves.
|
||||
opacity: 0
|
||||
scale: 0.94
|
||||
transformOrigin: Item.Right
|
||||
|
||||
PopoutSurface {
|
||||
anchors.fill: parent
|
||||
@@ -136,10 +135,6 @@ PopupWindow {
|
||||
target: holder; property: "opacity"
|
||||
to: 1.0; duration: Theme.durBase; easing.type: Easing.OutExpo
|
||||
}
|
||||
NumberAnimation {
|
||||
target: holder; property: "scale"
|
||||
to: 1.0; duration: Theme.durSlow; easing.type: Easing.OutCubic
|
||||
}
|
||||
NumberAnimation {
|
||||
target: holder; property: "x"
|
||||
from: root.bleed + 14; to: root.bleed
|
||||
@@ -153,10 +148,6 @@ PopupWindow {
|
||||
target: holder; property: "opacity"
|
||||
to: 0.0; duration: Theme.durFast; easing.type: Easing.InQuad
|
||||
}
|
||||
NumberAnimation {
|
||||
target: holder; property: "scale"
|
||||
to: 0.96; duration: Theme.durFast; easing.type: Easing.InQuad
|
||||
}
|
||||
onFinished: {
|
||||
root.shown = false;
|
||||
holder.x = root.bleed;
|
||||
|
||||
Reference in new issue
Block a user