Skip to content

Liquid Glass interface, built on a design system - #5

Merged
AndrianLeah merged 2 commits into
masterfrom
feat/liquid-glass-ui
Nov 24, 2026
Merged

AndrianLeah merged 2 commits into
masterfrom
feat/liquid-glass-ui

Conversation

@AndrianLeah

Copy link
Copy Markdown
Owner

Implements the Liquid Glass mockups in mockup/ as a small design system, and rebuilds every screen from it. The tuning engine and the audio capture are not touched.

Design system (src/ui)

  • Tokens: the colour, spacing, radius and size variables of the FigCraft file, for dark and light. The fonts, shadows, blurs and durations are tokens too.
  • Materials: Liquid Glass for controls, a thicker glass for sheets and a thin material for content, plus shared hover, pressed and disabled states.
  • Components: UiButton, UiIconButton, UiSegmentedControl, UiSheet, UiSearchField, UiListRow, UiStatusPill, UiSection, UiSurface and UiIcon. The icons are the mockup's own vectors.
  • Docs and tests: a README listing every component, and tests for their behaviour (radio-group keys, a modal sheet that closes with Escape or a tap outside, a busy button).

The screens size components through their tokens (--ring-size, --chip-height, --status-pill-height) instead of restyling them.

Interface

  • Layouts:
    • phone portrait;
    • phone landscape (controls left, ring right);
    • tablet portrait (a card);
    • tablet landscape and desktop (a two-zone card).
  • Sheets: a floating bottom sheet on phones, a wide sheet in landscape, a centred dialog on tablet and desktop.
  • Background and font: the "strings in resonance" background (AVIF, with JPEG fallback) and Nunito, bundled with the app.
  • Dependencies: Lineicons and its test workaround are removed.
  • Small fixes:
    • once every string is in tune, the last chip shows as tuned rather than locked;
    • the frequency always has one decimal;
    • Start says it is starting while it waits for the microphone permission.

Design files (Git LFS)

  • Committed through LFS: the .figcraft file, the background source and its PNGs, and the two foundations boards.
  • Committed as plain text: the exported tokens (mockup/tokens) and the README.
  • Kept local: the PNG of each screen, since it is an export of the FigCraft file.
  • Pages deploy: the app's own images live in src/assets, outside LFS, so the deploy needs no LFS checkout.

Verification

  • vue-tsc, ESLint, 236 tests and the build all pass.
  • I checked each layout in the browser against the mockups, at:
    • 390×844 and 375×667 (phone portrait);
    • 844×390 (phone landscape);
    • 820×1180 (tablet portrait);
    • 1180×820 (tablet landscape);
    • 1440×900 (desktop).
  • The states came from an oscillator in place of the microphone: idle, too low, in tune, all tuned. I also checked both themes, the two sheets, and keyboard use of the segmented controls and Escape.
  • Not checked on a real phone or with a real instrument.

🤖 Generated with Claude Code

AndrianLeah and others added 2 commits November 24, 2026 07:29
The FigCraft file, the background source and its PNGs, and the two
foundations boards go through Git LFS. The exported variables (tokens) and
the README are plain text. The PNG of each screen stays local: it is an
export of the FigCraft file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
src/ui holds the design system:
- tokens from the FigCraft variables (dark and light);
- the glass and material classes;
- the mockup's icons;
- ten components (button, icon button, segmented control, sheet, search
  field, list row, status pill, section, surface, icon), with tests and a
  README.

The screens are rebuilt from those pieces, one layout each for phone
portrait and landscape, tablet portrait and landscape, and desktop. Nunito
is bundled, the "strings in resonance" background ships as AVIF with a
JPEG fallback, and Lineicons is gone.

Also:
- the last string shows as tuned once all are;
- the frequency keeps one decimal;
- Start shows that it is waiting for the microphone.

The tuning engine and audio capture are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AndrianLeah
AndrianLeah merged commit 9565fb9 into master Nov 24, 2026
1 check passed
@AndrianLeah
AndrianLeah deleted the feat/liquid-glass-ui branch November 24, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant