NCIOCPL / ncids

NCI Design System
10 stars 5 forks source link

CR: NCIDS Card Font Sizes for Consistency on NCIDS #1839

Closed andyvanavery31 closed 1 month ago

andyvanavery31 commented 2 months ago

Request Description

The change to Cards has been approved by the client as of 26AUG2024. This request is to update the NCIDS Cards with the changes to the font. The result of the change will have the description text be token size xs (16px), the card title will be token size md (20px), and the group/row heading will be size xl (24px).

What's the expected change?

What's the current functionality?

What's the updated acceptance criteria?

Scenario: A site visitor views an NCIDS Feature Card component
  Given the site visitor is on the NCIDS Documentation Site or the NCIDS Storybook
    And the NCIDS Card font sizes have been updated
  When the visitor views the NCIDS Card
  Then the description text size of the card will be token size xs (16px)
    And the card title text size will be token size md (20px)
    And the card row heading text size will be token size xl (24px)
  When the visitor views the NCIDS Card on the 3-Card Row Page
  Then the description text size of the card will be token size xs (16px)
    And the card title text size will be token size md (20px)
    And the card row heading text size will be token size xl (24px)
monika-jaeger commented 1 month ago

Attached is the updated single card image and card row pattern image.

card-row_pattern card

cc: @andyvanavery31 @blilianyu @karlikpj