mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-15 14:16:56 +08:00
* Settings: today's raised cards on one left edge, on every pane The pane title, section labels, and row text now share the gutter (32): cards keep today's bg_base fill, radius.lg, and raised shadow but hang row_px (16) past it, so row controls end where the title bar's actions do. One METRICS (sections 24 apart, labels 8 above their card, rows 48/60 tall) and page()/section_with on every pane; bare_page() puts card-less content (HUD Lab) on the gutter. Modes' in-card headers become section labels, Hex Microphone's status moves to its label line, and list rows start on the title edge. The sidebar footer is two fixed 20 pt lines whose status is one element whose words never swap, so a check no longer cross-fades or moves the version. * Goldens for the aligned settings cards * fmt * Goldens: menus with the System default microphone field
17 lines
680 B
Bash
Executable File
17 lines
680 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Renders each named scene in dark and light into $OUT; TREE=1 also dumps the dark element tree,
|
|
# SIZE=WxH renders at that window size (files get a -tall suffix).
|
|
set -euo pipefail
|
|
out="${OUT:?}"
|
|
mkdir -p "$out"
|
|
for scene in "$@"; do
|
|
for theme in dark light; do
|
|
extra=()
|
|
suffix=""
|
|
if [ -n "${TREE:-}" ] && [ "$theme" = dark ]; then extra+=(--tree "$out/$scene.json"); fi
|
|
if [ -n "${SIZE:-}" ]; then extra+=(--size "$SIZE"); suffix="-tall"; fi
|
|
cargo run -q ${FEATURES:+--features "$FEATURES"} -- app -- --snap "$out/$scene$suffix-$theme.png" --scene "$scene" --theme "$theme" "${extra[@]+"${extra[@]}"}" 2>/dev/null
|
|
done
|
|
done
|
|
ls "$out"
|