Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Update Shortcode design elements from design review #1810

Closed
WordPress/gutenberg
#19852

Description

@chipsnyder

Describe the bug
From the design review with @iamthomasbishop:

  • Top Label:
    • Use system font "sans-serif" for ios
    • Set font color to be $gray in light mode and $gray-50 in dark mode
    • Increase margin between the label and input field

Screenshots

Screenshots

Placeholder

iOS

Default Dark mode
Placeholder-iOS iOS Dark - Placeholder
iPad Default iPad Dark mode
iPad - Placeholder iPad Dark - Placeholder

Android

Default
Android - Placeholder

Static

iOS

Default Dark mode
Static-iOS iOS Dark - Static
iPad Default iPad Dark mode
iPad - Static iPad Dark - Static

Android

Default
Android - Static

Selected

iOS

Default Dark mode
Selected-iOS iOS Dark - Selected
iPad Default iPad Dark mode
iPad - Selected iPad Dark - Selected

Android

Default
Android - Selected

Additional context
This is to make up for not performing design review before WordPress/gutenberg#19534 was merged

Activity

  1. added this to the 1.22 milestone on Jan 23, 2020
  2. self-assigned this
    on Jan 23, 2020
  3. iamthomasbishop commented on Jan 23, 2020

    @iamthomasbishop
    Contributor

    Thanks, Chip! To clarify by “Set font color to match $gray in light mode and $gray-50 in dark mode” I was referring to the top label (“Shortcode” above the input). I believe the placeholder text on the input was fine.

  4. iamthomasbishop commented on Jan 23, 2020

    @iamthomasbishop
    Contributor

    Increase margin between the label and input field

    Fwiw, I think the spacing should be 4px, but it might be slightly different if the design is using a different line-height than the implementation.

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions