Skip to content

[v4] update input and results styles #209

Closed

Description

@katydecorah

Tracking the design updates we’ll be making in v4 #197 (This ticket is not tracking the mobile styles #89 , we’ll accomplish after we come to a consensus on the design updates made here.)

The goal is to bring the UI up-to-date with Assembly, while maintaining minimal styling so developers can readily theme the controls.

Current Proposed
image image

Proposed updates to: Input

  • Use Assembly icons for search 🔍, close ❌, and loader ♻️
  • Add “Open Sans” to font stack
  • Increase input font-size to at least 15px to improve legibility
  • Adjust input padding to match Assembly 6px 12px
  • Use border-radius 4px to match Assembly, this is also the same border-radius used by GL buttons

Proposed updates to: Results

  • Increase font-size to at least 13px to improve legibility
  • Adjust padding to match Assembly 6px 12px or add more y padding and remove border-bottom.
  • Add 3px or 6px between the bottom of input and top of search results or turn off border-bottom on input when displaying results to join the input and the results seamlessly (ref Minor styling suggestion when dropdown is open #167).

These changes will be light, but barring other suggestions, I think that's ok. I want to be mindful that the results don't take up too much more space than they currently do and are still theme-able.

Styles that bump against other GL controls

  • Relax box-shadow so it provides depth without giving the appearance of a transparent border. Other GL controls have the same box-shadow. Should we consider updating their box-shadow to match? I updated the box-shadow on the GL controls in the Propose screenshot.

Questions

  • Am I missing any other important GL controls that we should compare against?
  • Should we provide a dark theme?

Ready for your thoughts and happy to take suggestions at any questions above.

cc @samanpwbb @kbauhaus @scottsfarley93 @yuletide

Activity

  1. added this to the v4.0.0 milestone on Mar 18, 2019
  2. katydecorah commented on Mar 22, 2019

    @katydecorah
    ContributorAuthor

    This is done in #211

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions