vf-core icon indicating copy to clipboard operation
vf-core copied to clipboard

Design smaller variant of Vf-blockquote

Open Adedoyinebi opened this issue 1 year ago • 1 comments

The last blockquote design update focused on the use case for Articles in which an external quote needs emphasis in a sea of texts. Recent discussions with the comms team has shown that a smaller variant is needed for cases like microsites where emphasis is not required on the quote.

Examples https://wwwdev.ebi.ac.uk/about/our-impact/biodiversity-and-climate-change/ https://www.ebi.ac.uk/research/research-group-leaders-at-embl-ebi https://www.ebi.ac.uk/about/jobs/tech-careers - This uses cards https://www.ebi.ac.uk/about/public-engagement

Consider use case where a blockquote is used close to a section header of 24 px or 21px the current blockquote font size of 28px would overwhelm the section header.

Task

Useful links

Adedoyinebi avatar Jul 01 '24 08:07 Adedoyinebi

Image

We discussed the proposed solution with the team on Wednesday 7th August and agreed to use the small blockquote variant with a font size of 21px as this variant provides a font size which is smaller that the commonly used section headers while also being larger than the default body paragraph font.

Useful links

- Vf-blockquote - Proposed design for the smaller variant - Slides

Next steps

  • Create responsive variant
  • Add design in figma library
  • Develop the small variant and responsive blockquote variants

Adedoyinebi avatar Aug 07 '24 13:08 Adedoyinebi

Image

The responsive variant of the vf-blockquote has been designed as discussed. Here’s the link to the design in figma.

Highlights of the responsive design

  • Blockquote design and layout is more compact on mobile placing prominence on the quotation
  • Text aligned to the right for good readability
  • Related components of the attribution are grouped together. This also reads better for screen readers.
  • Small avatar variant (64px by 64px) used on mobile for the both large and small variants of the blockquote
  • Recommended breaking point of 768px

Useful links

Next steps

Adedoyinebi avatar Aug 16 '24 12:08 Adedoyinebi

The responsive and small vf-blockquote has been added to the visual framework library in figma. @stefangutnick kindly review the published updates.

Adedoyinebi avatar Sep 09 '24 12:09 Adedoyinebi

@Adedoyinebi Looks very well thought out, I don't have any comments. Great work!

stefangutnick avatar Sep 09 '24 13:09 stefangutnick

Thank you for reviewing this @stefangutnick

@bhushan-ebi A follow up task has been created for the development of the enhancements #2114. Closing this task.

Adedoyinebi avatar Sep 09 '24 13:09 Adedoyinebi