Skip to content

[FEAT] Dimension labels next to a selection #97

@drfarrell

Description

@drfarrell

Add a small label outside of the selection outline to indicate to the user what the dimensions of the selection are.

  • The label contents should reflect the labels in the property panel on the right side.
  • The label should have 2px padding on the top and bottom, and 4px padding on the left and right. The corner rounding is 2px.
  • The fill color is Onlook's custom bg-red-600, and the label color is text-red-100. You should be able to reference those numbers in the project.
Screenshot 2024-07-31 at 7 38 30 PM Screenshot 2024-07-31 at 7 38 38 PM image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershacktoberfestGreat issues to tackle during hacktoberfest

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions