Repository navigation
Draw the reference-pitch stepper in the design file and the README screenshot - #10
Merged
Merged
Conversation
The stepper and its minus and plus icons went straight into code in PR #9; the FigCraft file now has them too. - Foundations: a Stepper row in the states matrix, under Segmento. The dark board holds the component set `stepper` (State=Default, Hover, Pressed, Focus, Disabled), the light board uses instances of it. − and + around the value in the segmented control's grey track: fill/secondary, space/1, 44 pt round buttons, the value in text/primary, 16 Bold. Hover and pressed veils on +, the 3 pt accent ring on the value, − at 40 % at the 436 Hz bound. - Icons: icon/minus and icon/plus, drawn on the 24 px grid like icon/x (M6 12h12 and M12 6v12 M6 12h12, stroke 2) and scaled to 20 in the stepper, as the app draws them. - Settings sheet, Dark and Light pages: a third section, REFERENCE PITCH, with the stepper at "A4 = 440 Hz". The sheet grows by 92 pt and keeps its bottom edge. - The Foundations PNGs are exported again at 1x, and mockup/README.md describes the new row, the component and the sheet. Only the file's own variables are used: no new colours or sizes.
docs/screenshots/sheets.webp showed the settings sheet before the reference-pitch section. It is made again the way PR #6 made it: the production build in headless Chrome (390 x 844 at 2x), with an oscillator in place of the microphone. - Left phone, dark: the list of tunings, as before. - Right phone, light: Settings with Theme, Language and Reference pitch ("A4 = 440 Hz"), over a tuner that has confirmed E2, A2 and D3 and hears G3 flat. Same composition as before: the dark resonance background under a 45 % veil of bg-base, the screens at 0.9x in a 10 px bezel at the same places, 1100 x 920, encoded by Chrome as WebP (44 KB).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #9 added the reference-pitch setting with a new
UiStepperand theminus/plusicons written straight into code. This brings the design file, the Foundations boards and the README screenshot up to date. Nothing insrc/changes.Design file (
mockup/string-tuner-liquid-glass.figcraft)stepper, variantsState=Default / Hover / Pressed / Focus / Disabled, in a new Stepper row of the states matrix on Foundations, under Segmento. The dark board holds the main set; the light board uses instances.fill/secondary, padding and gapspace/1, tracksize/control-lg(52), buttonssize/control-md(44) withradius/capsule, icons intext/secondary, the value intext/primary, 16 Bold.state/hover,state/pressed; pressed swells like the other rows), focus as the 3 ptaccentring on the value, disabled as − at 40 % at the 436 Hz bound.icon/minusandicon/plus, drawn on the 24 px grid likeicon/x(M6 12h12,M12 6v12M6 12h12, stroke 2, round caps) and scaled to 20 in the stepper, asUiIcondraws them there. The file has no separate icon board (every icon is a vector where it is used), so they live in the stepper.settings-dark-phone-portrait,settings-light-phone-portrait): a third section, REFERENCE PITCH, with a stepper instance at "A4 = 440 Hz". The sheet grows by 92 pt upwards and keeps its bottom edge.mockup/tokens/stays as it is.mockup/README.mddescribes the new row, the component, the stepper's disabled state and the sheet.Foundations PNGs
mockup/png/foundations-dark.pngandfoundations-light.pngare exported again at 1x: 1440 × 2983 (was 2892), for the new row and a second line in the note under the matrix. Before editing, a re-export of the untouched file matched the committed PNGs apart from about 1,000 anti-aliased pixels, so the rest of the boards is unchanged.README screenshot (
docs/screenshots/sheets.webp)The script behind PR #6 is not in the repository, so the picture was made again from that PR's description and from the old image:
vite preview, headless Chrome at 390 × 844 at 2x, withgetUserMediaanswered by an oscillator taken through E2, A2 and D3 (each confirmed) to a flat G3;resonance-dark.jpgunder a 45 % veil ofbg-base, screens at 0.9x in a 10 px bezel at the same places, 1100 × 920, encoded by Chrome as WebP at quality 90 (44 KB, was 43 KB, same colour profile).The left phone did not change, and it matches the old image to within WebP noise (mean difference 2/255).
Checks
@fontsource-variable/nunitofile, converted from WOFF2 to TTF, so they render like the committed ones; nothing was downloaded.