Revamp UI a whole lot

This commit is contained in:
2026-11-18 19:42:44 +01:00
parent 260abc2c98
commit fdde7f9d80
57 changed files with 2667 additions and 935 deletions
+26 -29
View File
@@ -4,40 +4,37 @@
<ui:VisualElement class="screen-frame-header">
<ui:Label class="screen-frame-title" />
</ui:VisualElement>
<ui:ScrollView class="screen-frame-content settings-scroll">
<ui:Label text="[display]" class="settings-heading" />
<ui:Label text="Changes apply immediately and are saved on this device." class="settings-saved-hint" />
<ui:VisualElement class="settings-row">
<ui:VisualElement class="settings-copy">
<ui:Label text="reduced_motion" class="settings-label" />
<ui:Label text="Skip boot/reveal sequences; simplify combat motion." class="settings-description" />
</ui:VisualElement>
<ui:Toggle name="ReducedMotionToggle" text="[ false ]" class="settings-toggle" tooltip="Reduced motion. Space toggles this setting." />
<ui:ScrollView class="screen-frame-content settings-scroll settings-config-file">
<ui:Label text="# /etc/kernel-panic.conf" class="settings-config-path" />
<ui:Label text="# changes apply immediately and persist on this device" class="settings-config-comment" />
<ui:VisualElement class="settings-row settings-config-line">
<ui:Label text="reduced_motion" class="settings-label settings-config-key" />
<ui:Label text="=" class="settings-assignment" />
<ui:Toggle name="ReducedMotionToggle" text="false" class="settings-toggle settings-config-value" tooltip="Reduced motion. Space toggles this setting." />
</ui:VisualElement>
<ui:VisualElement class="settings-row">
<ui:VisualElement class="settings-copy">
<ui:Label text="text_size" class="settings-label" />
<ui:Label text="Standard or large text across menus, cards, combat, and results." class="settings-description" />
</ui:VisualElement>
<ui:Button name="TextSizeButton" text="[ standard ]" class="settings-choice" tooltip="Text size. Enter or Space switches between standard and large." />
<ui:Label text="# skip boot/reveal sequences; simplify combat motion" class="settings-description" />
<ui:VisualElement class="settings-row settings-config-line">
<ui:Label text="text_size" class="settings-label settings-config-key" />
<ui:Label text="=" class="settings-assignment" />
<ui:Button name="TextSizeButton" text="standard" class="settings-choice settings-config-value" tooltip="Text size. Enter or Space switches between standard and large." />
</ui:VisualElement>
<ui:VisualElement class="settings-row">
<ui:VisualElement class="settings-copy">
<ui:Label text="layout_density" class="settings-label" />
<ui:Label text="Compact keeps the current spacing. Comfortable adds room between details and list entries." class="settings-description" />
</ui:VisualElement>
<ui:Button name="DensityButton" text="[ compact ]" class="settings-choice" tooltip="Layout density. Enter or Space switches between compact and comfortable." />
<ui:Label text="# standard or large text across every terminal" class="settings-description" />
<ui:VisualElement class="settings-row settings-config-line">
<ui:Label text="layout_density" class="settings-label settings-config-key" />
<ui:Label text="=" class="settings-assignment" />
<ui:Button name="DensityButton" text="compact" class="settings-choice settings-config-value" tooltip="Layout density. Enter or Space switches between compact and comfortable." />
</ui:VisualElement>
<ui:Label text="[input]" class="settings-heading" />
<ui:Label text="Tab / Shift+Tab focus controls&#10;Enter / Space activate focused control&#10;Esc back / cancel&#10;Menu: / focuses prompt; Tab completes; Up/Down recalls history.&#10;Collection: Left/Right switches tabs; Up/Down selects entries.&#10;Combat: E ends your turn; Tab + Enter selects cards and targets.&#10;Hints: hover to scroll with the mouse wheel, or focus the item and use PgUp / PgDn." class="settings-help" />
<ui:Label text="[audio]" class="settings-heading" />
<ui:VisualElement class="settings-row">
<ui:VisualElement class="settings-copy">
<ui:Label text="combat_volume" class="settings-label" />
<ui:Label text="Terminal cues for dispatch, queued effects, hits, revival and victory. Set to muted for silence." class="settings-description" />
<ui:Label text="# compact or comfortable spacing" class="settings-description" />
<ui:VisualElement class="settings-row settings-config-line settings-volume-line">
<ui:Label text="combat_volume" class="settings-label settings-config-key" />
<ui:Label text="=" class="settings-assignment" />
<ui:VisualElement class="settings-slider-control settings-config-value">
<ui:SliderInt name="SoundVolumeSlider" low-value="0" high-value="100" value="75" class="settings-volume-slider" />
<ui:Label name="SoundVolumeValue" text="[########--] 75%" class="settings-slider-value" />
</ui:VisualElement>
<ui:Button name="SoundVolumeButton" text="[ 75% ]" class="settings-choice" tooltip="Cycle combat volume: muted, 25%, 50%, 75%, 100%." />
</ui:VisualElement>
<ui:Label text="# dispatch, queued effects, hits, revival and victory" class="settings-description" />
<ui:Label text="&#10;# key bindings (`bind -P`)&#10;# tab / shift-tab focus-next / focus-prev&#10;# enter / space execute&#10;# escape cancel&#10;# / focus-prompt&#10;# up / down history&#10;# e dispatch-turn&#10;# pgup / pgdn scroll-inspect" class="settings-help settings-config-help" />
</ui:ScrollView>
<ui:VisualElement class="screen-frame-footer">
<ui:Label class="screen-frame-hint" />