Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/developer-guide/Design-Import.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This opens the import wizard. It takes four steps:
. *Write*: confirm the package, and the forms go into the project, each named after its
screen.

image::img/design-import/wizard.png["The wizard's screens step: a card for each screen of the design with its thumbnail, all of them chosen",role="text-center"]
image::img/design-import/wizard.png["The wizard's screens step: a card for each screen of the design with its thumbnail, every one chosen",role="text-center"]

The screens shown here and below come from the Laza E-commerce UI Kit, a Figma Community file
published under CC BY 4.0.
Expand Down Expand Up @@ -156,7 +156,7 @@ list of issues is under the guide. Hover over one to read it whole, and click it
The form pane is a live form, not a picture of one. Pick a device from the size menu, a phone, a
tablet, a laptop or a desktop window, or type a width and height, and the form is built again at
that size. Drag the handles at the right and bottom edges to resize it continuously and watch
components stretch, wrap and move. The rotate button swaps width and height. Three modes decide
components stretch, wrap, and move. The rotate button swaps width and height. Three modes decide
what a click does:

Inspect:: Selects the element under the pointer, in the form and in the design.
Expand Down Expand Up @@ -196,10 +196,10 @@ Scope:: Picks the frame to import. A document with several frames gets the most
one. A phone frame and a tablet frame with the same name, such as `Login / Phone` and
`Login / Tablet`, become two variants of one form. A screen pasted into a device mockup is
found inside the bezel and imported without it.
Detect and classify:: Decides what each layer is: a button, a text field, a check box, a
Detect and classify:: Decides what each layer is: a button, a text field, a checkbox, a
label, an image, a title bar. Layer names help when they mean something, but the shapes
decide: a filled box with one centred line of text is a button whether it's called
`Button` or `Rectangle 9`, and a tall box with one grey line at its top left is a text field
decide: a filled box with one centered line of text is a button whether it's called
`Button` or `Rectangle 9`, and a tall box with one gray line at its top left is a text field
that takes several lines.
Structure and layout:: Groups layers into rows and columns and picks a layout for each
container. Figma auto layout carries over unchanged.
Expand All @@ -209,7 +209,7 @@ bottom edge becomes a bottom sheet. A screen drawn taller than a device is a scr
title bar stays at the top, the tab bar at the bottom, and the rest scrolls. A row that runs past
the right edge, such as a strip of chips, scrolls sideways.
Responsive:: With one frame, the form adapts by default: wide components stretch, content is
capped at a maximum width and centred on large screens, and the content scrolls. With two
capped at a maximum width and centered on large screens, and the content scrolls. With two
variants, the form switches between their layouts at a width breakpoint.
Style:: Writes the stylesheet. Colors, fonts, corner radii, borders and gradients map to CSS.
Effects that have no CSS form, such as blend modes and inner shadows, are rendered to an
Expand Down Expand Up @@ -242,7 +242,7 @@ against the design and emit the sources:
|`designimport_open` |Opens a design from a path or from base64 data.
|`designimport_frames` |Lists the frames that look like screens.
|`designimport_options` |Reads or sets the import options: the class and package names, the frames to import and the responsive settings.
|`designimport_run` |Runs the stages, all of them or up to a named one (`scope`, `detect`, `structure`, `classify`, `layout`, `responsive`, `style`, `emit`).
|`designimport_run` |Runs every stage, or the stages up to a named one (`scope`, `detect`, `structure`, `classify`, `layout`, `responsive`, `style`, `emit`).
|`designimport_tree` |Returns the classified layer tree.
|`designimport_issues` |Returns the open issues.
|`designimport_set` |Overrides a layer's role, layout, alignment or UIID.
Expand Down
1 change: 1 addition & 0 deletions docs/developer-guide/languagetool-accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -966,3 +966,4 @@ EdXposed
Shamiko
callees
supertypes
Laza
Loading