Repository navigation
Closed
Milestone
Description
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 |
|---|---|
![]() |
![]() |
Proposed updates to: Input
- Use Assembly icons for search 🔍, close ❌, and loader ♻️
- run icons through svgo to squeeze out excess characters (possible this was already done in Assembly)
- 🔍 make the same color as the input font color
- ❌ add a hover state
- ❌ consider making it display only when the user hovers over the input box, like how the native search input works https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search
- ♻️ add the same animation (spin) as Assembly
- 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
4pxto 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 12pxor add more y padding and remove border-bottom. - Add
3pxor6pxbetween 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
Reacted by Andrew Harvey and Saman Bemel-Benrud
Metadata
Metadata
Assignees
Labels
No labels


Activity
katydecorah commentedon Mar 22, 2019
This is done in #211