theme: YoRHa dark — NieR:Automata interface on the space-1 wallpaper
Replaces the Persona x Mocha rice. NieR's menu language is kept whole — plain rectangles, hairline rules, letter-spaced upright capitals, a square marker on the current row, corner ticks round panels, and selection shown by inverting the row — but the colours come from ~/.wallpapers/space-1.jpg rather than from the game's beige: the grey-green void as the ground, the suit's sage grey as text, the planet's white as the one accent, and the hull's red indicator lights as the alarm. The Persona geometry is switched off rather than ripped out: Theme.skew and Theme.cut are 0, so P5Panel, Skew and Geom collapse to rectangles. Overshoot easing, italics and black weights are gone shell-wide. New, borrowed from caelestia's screen border: bar/Frame.qml draws the bar, the rail and a thin left/bottom band as one hull on the bottom layer, with the desktop as a rounded opening cut out of it. Frame also owns all four exclusive zones, so the bar and rail are placed from the screen edge. Hyprland moves to 1px borders lit from the planet white into grey, a soft wide shadow and gaps measured from the opening. Alacritty, fish and dunst get matching YoRHa palettes. Neovim, GTK/Qt and btop are still Mocha. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5be22d86a9
commit
18091a7109
56 files changed
+796
-605
No files matched your search
@@ -1,7 +1,8 @@
|
||||
import QtQuick
|
||||
import "root:/config"
|
||||
|
||||
// Chopped, leaning button with one activation path for pointer and keyboard.
|
||||
// NieR menu button: a hairline box with a square marker that lights when the
|
||||
// button is pointed at or chosen. One activation path for pointer and keyboard.
|
||||
FocusScope {
|
||||
id: root
|
||||
|
||||
@@ -11,7 +12,7 @@ FocusScope {
|
||||
property bool destructive: false
|
||||
property bool selected: false
|
||||
property real lean: Theme.skew
|
||||
property real lunge: 6
|
||||
property real lunge: 4
|
||||
property bool wide: false
|
||||
|
||||
signal clicked()
|
||||
@@ -24,7 +25,7 @@ FocusScope {
|
||||
// Keyboard focus and roving selection invert the slab to solid accent.
|
||||
// Pointer hover stays a keyline change, so the two never look alike and a
|
||||
// mouse user never sees the "selected" treatment by accident. Destructive
|
||||
// buttons keep their own mauve inversion for both.
|
||||
// buttons keep their own red inversion for both.
|
||||
readonly property bool inverted: root.enabled && !root.destructive && root.focusedOrSelected
|
||||
|
||||
// Pointer activation must not turn a transient action into the black/white
|
||||
@@ -70,8 +71,6 @@ FocusScope {
|
||||
return Theme.alpha(root.accent, 0.55);
|
||||
}
|
||||
borderWidth: Theme.stroke
|
||||
slash: !root.highlighted
|
||||
slashColor: root.destructive ? Theme.alarm : root.accent
|
||||
|
||||
Behavior on fillOpacity {
|
||||
NumberAnimation { duration: Theme.durFast }
|
||||
@@ -83,6 +82,20 @@ FocusScope {
|
||||
anchors.left: parent.left
|
||||
spacing: Theme.padM
|
||||
|
||||
// The marker. Dim at rest, full strength under the pointer or the
|
||||
// cursor, in whatever colour the label is wearing.
|
||||
Rectangle {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: Theme.marker
|
||||
height: Theme.marker
|
||||
color: label.color
|
||||
opacity: root.highlighted ? 1.0 : 0.35
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation { duration: Theme.durFast }
|
||||
}
|
||||
}
|
||||
|
||||
Icon {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
visible: root.icon !== ""
|
||||
@@ -100,6 +113,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Text {
|
||||
id: label
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: root.text
|
||||
color: {
|
||||
@@ -114,8 +128,7 @@ FocusScope {
|
||||
font.family: Theme.fontDisplay
|
||||
font.pixelSize: Theme.fsBody
|
||||
font.weight: Theme.weightDisplay
|
||||
font.italic: true
|
||||
font.letterSpacing: 1.5
|
||||
font.letterSpacing: Theme.tracking
|
||||
font.capitalization: Font.AllUppercase
|
||||
renderType: Text.NativeRendering
|
||||
|
||||
@@ -132,7 +145,7 @@ FocusScope {
|
||||
Behavior on x {
|
||||
NumberAnimation {
|
||||
duration: Theme.durBase
|
||||
easing.type: Easing.OutBack
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user