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:
nvrl committed 2026-10-04 23:38:46 +02:00
1 parent 31b57f4f8c
commit 7b7cd3e575
7 files changed
+14 -20

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
[Settings] [Settings]
gtk-theme-name=adw-gtk3-dark gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus-Dark gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Adwaita Sans 11 gtk-font-name=Noto Sans 11
gtk-cursor-theme-name=Bibata-Modern-Classic gtk-cursor-theme-name=Bibata-Modern-Classic
gtk-cursor-theme-size=24 gtk-cursor-theme-size=24
gtk-application-prefer-dark-theme=1 gtk-application-prefer-dark-theme=1
+1 -1
View File
@@ -1,7 +1,7 @@
[Settings] [Settings]
gtk-theme-name=adw-gtk3-dark gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus-Dark gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Adwaita Sans 11 gtk-font-name=Noto Sans 11
gtk-cursor-theme-name=Bibata-Modern-Classic gtk-cursor-theme-name=Bibata-Modern-Classic
gtk-cursor-theme-size=24 gtk-cursor-theme-size=24
gtk-application-prefer-dark-theme=1 gtk-application-prefer-dark-theme=1
+1 -1
View File
@@ -71,7 +71,7 @@ hl.config({
disable_hyprland_logo = true, disable_hyprland_logo = true,
-- 0 = off, 1 = always, 2 = fullscreen only (G7 is a 240Hz VRR panel) -- 0 = off, 1 = always, 2 = fullscreen only (G7 is a 240Hz VRR panel)
vrr = 0, vrr = 0,
font_family = "FiraCode Nerd Font", font_family = "JetBrainsMono Nerd Font",
background_color = c.base, background_color = c.base,
focus_on_activate = true, focus_on_activate = true,
-- The shell powers displays down after idle (quickshell/services/Idle.qml) -- The shell powers displays down after idle (quickshell/services/Idle.qml)
+2 -2
View File
@@ -6,8 +6,8 @@ standard_dialogs=default
style=Darkly style=Darkly
[Fonts] [Fonts]
fixed="Sans Serif,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1" fixed="JetBrainsMono Nerd Font,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
general="Adwaita Sans,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1" general="Noto Sans,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
[Interface] [Interface]
activate_item_on_single_click=1 activate_item_on_single_click=1
+4
View File
@@ -405,6 +405,10 @@ network and bluetooth, but keep running as the secret and pairing agents.
Selection is the light slab with ink text; only destructive actions are red. Selection is the light slab with ink text; only destructive actions are red.
The theme name is also in `xsettingsd/xsettingsd.conf` and has to be set with The theme name is also in `xsettingsd/xsettingsd.conf` and has to be set with
`gsettings` for portal-aware apps. `gsettings` for portal-aware apps.
- **Type** — one sans and one mono everywhere: Noto Sans for interface text
and JetBrainsMono Nerd Font for figures and code, in the shell
(`Theme.fontDisplay` / `fontMono`), GTK (`settings.ini` and the gsettings
`font-name` / `monospace-font-name`), qt6ct and Hyprland's own text.
- **Qt** — qt6ct with `qt6ct/colors/yorha.conf`, the same palette in - **Qt** — qt6ct with `qt6ct/colors/yorha.conf`, the same palette in
`QPalette` roles, drawn with the Darkly style (package `darkly-bin`) for `QPalette` roles, drawn with the Darkly style (package `darkly-bin`) for
rounded controls. Fusion is the fallback if Darkly is missing. rounded controls. Fusion is the fallback if Darkly is missing.
+3 -4
View File
@@ -142,8 +142,11 @@ FocusScope {
} }
} }
// A press sinks the button one whole pixel instead of shrinking it, so
// its label stays on the pixel grid.
transform: Translate { transform: Translate {
x: root.pressed ? 0 : (root.highlighted ? root.lunge : 0) x: root.pressed ? 0 : (root.highlighted ? root.lunge : 0)
y: root.pressed ? 1 : 0
Behavior on x { Behavior on x {
NumberAnimation { NumberAnimation {
@@ -153,10 +156,6 @@ FocusScope {
} }
} }
scale: root.pressed ? 0.97 : 1.0
Behavior on scale {
NumberAnimation { duration: Theme.durFast; easing.type: Easing.OutExpo }
}
HoverHandler { HoverHandler {
id: hover id: hover
+2 -11
View File
@@ -79,7 +79,6 @@ PopupWindow {
closeAnim.stop(); closeAnim.stop();
shown = false; shown = false;
holder.opacity = 0; holder.opacity = 0;
holder.scale = 0.94;
holder.x = root.bleed; holder.x = root.bleed;
PopupCoordinator.release(root); PopupCoordinator.release(root);
} }
@@ -106,9 +105,9 @@ PopupWindow {
width: root.contentWidth width: root.contentWidth
height: root.contentHeight 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 opacity: 0
scale: 0.94
transformOrigin: Item.Right
PopoutSurface { PopoutSurface {
anchors.fill: parent anchors.fill: parent
@@ -136,10 +135,6 @@ PopupWindow {
target: holder; property: "opacity" target: holder; property: "opacity"
to: 1.0; duration: Theme.durBase; easing.type: Easing.OutExpo 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 { NumberAnimation {
target: holder; property: "x" target: holder; property: "x"
from: root.bleed + 14; to: root.bleed from: root.bleed + 14; to: root.bleed
@@ -153,10 +148,6 @@ PopupWindow {
target: holder; property: "opacity" target: holder; property: "opacity"
to: 0.0; duration: Theme.durFast; easing.type: Easing.InQuad 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: { onFinished: {
root.shown = false; root.shown = false;
holder.x = root.bleed; holder.x = root.bleed;