Repository navigation
Lay the text style menu out like Figma's - #1696
Merged
Merged
Conversation
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.
Summary
The Design panel's text style menu takes the layout of Figma's text style menu.
SelectItemtakescheck,"end"by default, so every other select keeps its tick on the right.Figma's edit-style popover and its add and library buttons are left out: a deck has eight fixed text styles, and the theme's font fields left the panel earlier.
Before / after
Evidence
tests/browser/control-typography.spec.tsfails on main's menu: the rows have more than one font size.After: it passes 3 of 3. It checks one font size across the eight rows, the tick before the chosen name, one grey for every size while a row is highlighted, and the menu's left edge and width equal to the field's.
verify-airdesign look design-text-stylereports 0 findings.Reviewed with sol-loop: 2 rounds with gpt-6.2-sol. Sol verdict: approved
Merge Danger
Door: two-way
Blast Radius: small
One menu in the Design panel. No stored data, agent tool or canvas paint changes.