From c54adcc2697cfefd1fdb836b58cd131570798b7e Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Mon, 4 Nov 2024 21:49:51 +0000
Subject: [PATCH 1/9] Add Typography documentation
---
.../Foundation/Design tokens/Typography.md | 59 +++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 VAMobile/documentation/design/Foundation/Design tokens/Typography.md
diff --git a/VAMobile/documentation/design/Foundation/Design tokens/Typography.md b/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
new file mode 100644
index 00000000000..e02b31869fb
--- /dev/null
+++ b/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
@@ -0,0 +1,59 @@
+---
+title: Typography
+sidebar_position: 4
+---
+
+# Typography
+
+Typographical selections intended to meet the highest standards of usability and accessibility, while setting a consistent look and feel in order to convey credibility.
+
+## Typography tokens
+
+Add intro text
+- Family
+- Style
+- Letter spacing
+ - Default
+ - Headings
+- Size
+- Line height
+ - Default
+ - Headings
+
+### Primitive
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#primitive)
+
+
+### Semantic
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#semantic)
+
+
+## Text styles
+
+Add intro text
+- Combine tokens into styles
+- Paragraph spacing uses spacing tokens
+
+### Headings
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#headings)
+
+
+### Body
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#body)
+
+
+### Other
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#other)
+
+
+## How to use typography tokens
+
+Designers and engineers are encouraged to use typography tokens to ensure a consistent look and feel throughout the app. Multiple typography tokens are combined to create composite tokens (aka text styles). To use typography tokens and text styles in the app, we recommend a few different approaches:
+
+- For Headings and Body copy, use the Text component.
+- For larger Display copy, use the Text component.
+- For smaller Navigation copy (such as the bottom tab bar), apply the Navigation text style directly to a text box.
+
+**Coming soon**
+- For bulleted/numbered lists, there will be a separate component in the future.
+- For inline links and styling (bold, italics, etc.), there will be a separate component in the future.
\ No newline at end of file
From 76e023bb718001fc7bffe88260ce30288531844e Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Tue, 5 Nov 2024 17:13:06 +0000
Subject: [PATCH 2/9] Updated content
---
.../Foundation/Design tokens/Typography.md | 24 +++++++------------
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/VAMobile/documentation/design/Foundation/Design tokens/Typography.md b/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
index e02b31869fb..9c0496d6c3f 100644
--- a/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
+++ b/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
@@ -9,16 +9,10 @@ Typographical selections intended to meet the highest standards of usability and
## Typography tokens
-Add intro text
-- Family
-- Style
-- Letter spacing
- - Default
- - Headings
-- Size
-- Line height
- - Default
- - Headings
+Typography tokens define each property of a text style. They include font family, style, size, line height, and letter spacing. Math is used to calculate values for size and line height.
+
+- The base font size is 16. Additional sizes are created using a scale of 1.125
+- The default line height is set to 1.5x the font size. For headings, the line height is set to 1.2x.
### Primitive
**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#primitive)
@@ -30,9 +24,7 @@ Add intro text
## Text styles
-Add intro text
-- Combine tokens into styles
-- Paragraph spacing uses spacing tokens
+Text styles (also known as composite tokens) combine each individual typography token into a defined style. They include styles for headings, body copy, and more. All properties are set using typography tokens, except for paragraph spacing. In the mobile app, spacing tokens are used to define paragraph spacing in a text style.
### Headings
**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#headings)
@@ -44,14 +36,14 @@ Add intro text
### Other
**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#other)
-
+
## How to use typography tokens
Designers and engineers are encouraged to use typography tokens to ensure a consistent look and feel throughout the app. Multiple typography tokens are combined to create composite tokens (aka text styles). To use typography tokens and text styles in the app, we recommend a few different approaches:
-- For Headings and Body copy, use the Text component.
-- For larger Display copy, use the Text component.
+- For Headings and Body copy, use the [Text component](/va-mobile-app/design/Components/Text/Text).
+- For larger Display copy, use the [Text component](/va-mobile-app/design/Components/Text/Text).
- For smaller Navigation copy (such as the bottom tab bar), apply the Navigation text style directly to a text box.
**Coming soon**
From df636ed7648a556af8198ee2cc81e7915437b8ad Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Tue, 5 Nov 2024 20:10:48 +0000
Subject: [PATCH 3/9] Add Text component
---
.../design/Components/Typography/Text.md | 35 +++++++++++++++++++
VAMobile/documentation/design/intro.md | 3 ++
2 files changed, 38 insertions(+)
create mode 100644 VAMobile/documentation/design/Components/Typography/Text.md
diff --git a/VAMobile/documentation/design/Components/Typography/Text.md b/VAMobile/documentation/design/Components/Typography/Text.md
new file mode 100644
index 00000000000..d276719e6a8
--- /dev/null
+++ b/VAMobile/documentation/design/Components/Typography/Text.md
@@ -0,0 +1,35 @@
+---
+title: Text
+---
+
+Text is a typography component for headings, body copy, and display text.
+
+## Examples
+
+### Default
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/snackbar--default) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=263-702&t=1BgtKDvOeoxfzmzR-4)
+
+
+### Variations
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/snackbar--with-action) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=263-702&t=1BgtKDvOeoxfzmzR-4)
+
+
+## Usage
+
+### When to use Text
+*
+
+### How this component works
+-
+
+## Code usage
+[Open Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/snackbar--docs)
+
+## Content considerations
+-
+
+## Accessibility considerations
+-
+
+### Related
+* [Snackbar - Material Design](https://m3.material.io/components/snackbar/overview)
diff --git a/VAMobile/documentation/design/intro.md b/VAMobile/documentation/design/intro.md
index 1ac79477e1d..63994bc2641 100644
--- a/VAMobile/documentation/design/intro.md
+++ b/VAMobile/documentation/design/intro.md
@@ -35,6 +35,9 @@ A system to help you write, design, and build digital services on the VA Mobile
### Selection and input
- [Checkbox](/va-mobile-app/design/Components/Selection%20and%20input/Checkbox)
+### Typography
+- [Text](/va-mobile-app/design/Components/Text/Text)
+
-----
## Design system team
From 3f74735cd63e615861615bd50624172592ca7342 Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Tue, 5 Nov 2024 20:38:03 +0000
Subject: [PATCH 4/9] Update Text documentation
---
.../design/Components/Typography/Text.md | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/VAMobile/documentation/design/Components/Typography/Text.md b/VAMobile/documentation/design/Components/Typography/Text.md
index d276719e6a8..fb78e206376 100644
--- a/VAMobile/documentation/design/Components/Typography/Text.md
+++ b/VAMobile/documentation/design/Components/Typography/Text.md
@@ -17,19 +17,16 @@ Text is a typography component for headings, body copy, and display text.
## Usage
### When to use Text
-*
+-
+
+### When to consider something else
+-
### How this component works
-
## Code usage
-[Open Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/snackbar--docs)
-
-## Content considerations
--
+[Open Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--docs)
## Accessibility considerations
--
-
-### Related
-* [Snackbar - Material Design](https://m3.material.io/components/snackbar/overview)
+- Paragraph spacing
\ No newline at end of file
From 7d1f559677207b1ccb5e5e831395cedf8532759e Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Thu, 7 Nov 2024 17:04:17 +0000
Subject: [PATCH 5/9] Update component documentation
---
.../Alerts and progress/Snackbar.md | 2 +-
.../Selection and input/Checkbox.md | 2 +-
.../design/Components/Typography/Text.md | 64 ++++++++++++++++---
3 files changed, 56 insertions(+), 12 deletions(-)
diff --git a/VAMobile/documentation/design/Components/Alerts and progress/Snackbar.md b/VAMobile/documentation/design/Components/Alerts and progress/Snackbar.md
index 7bd8620b2b7..055ace12bee 100644
--- a/VAMobile/documentation/design/Components/Alerts and progress/Snackbar.md
+++ b/VAMobile/documentation/design/Components/Alerts and progress/Snackbar.md
@@ -57,5 +57,5 @@ Snackbars provide feedback regarding API interactions at the bottom of the scree
- If a screen has bottom navigation, the snackbar should open above the navigation.
- There should only ever be one snackbar on the screen. Opening a new snackbar will close the previous snackbar.
-### Related
+## Related
* [Snackbar - Material Design](https://m3.material.io/components/snackbar/overview)
diff --git a/VAMobile/documentation/design/Components/Selection and input/Checkbox.md b/VAMobile/documentation/design/Components/Selection and input/Checkbox.md
index a90b5f6f822..c57638331d0 100644
--- a/VAMobile/documentation/design/Components/Selection and input/Checkbox.md
+++ b/VAMobile/documentation/design/Components/Selection and input/Checkbox.md
@@ -47,7 +47,7 @@ Allows users to select one or more items from a list. Checkboxes are an easily u
* Refer to the [VA Design System for accessibility considerations](https://design.va.gov/components/form/checkbox#accessibility-considerations)
* Screenreaders should announce the name, role, and state of each checkbox.
-### Related
+## Related
* [Checkbox - VA Design System](https://design.va.gov/components/form/checkbox)
* [Checkbox - USWDS](https://designsystem.digital.gov/components/checkbox/)
* [Checkbox - Material Design](https://m3.material.io/components/checkbox/overview)
\ No newline at end of file
diff --git a/VAMobile/documentation/design/Components/Typography/Text.md b/VAMobile/documentation/design/Components/Typography/Text.md
index fb78e206376..0dc5b563de5 100644
--- a/VAMobile/documentation/design/Components/Typography/Text.md
+++ b/VAMobile/documentation/design/Components/Typography/Text.md
@@ -6,27 +6,71 @@ Text is a typography component for headings, body copy, and display text.
## Examples
-### Default
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/snackbar--default) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=263-702&t=1BgtKDvOeoxfzmzR-4)
-
+### Headings
-### Variations
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/snackbar--with-action) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=263-702&t=1BgtKDvOeoxfzmzR-4)
-
+#### Large
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading-large) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
+
+#### Medium
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading-medium) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
+
+#### Small
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading-small) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
+
+#### X-small
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading-x-small) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
+
+### Body
+
+#### Large
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body-large) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
+
+#### Medium
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body-medium) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
+
+#### Small
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body-small) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
+
+#### X-small
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body-x-small) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
+
+### Display
+
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--display) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
+
## Usage
### When to use Text
--
+- To add content to a screen.
### When to consider something else
--
+- For bulleted or numbered lists, use the Text list component (coming soon).
+- For smaller Navigation copy (such as the bottom tab bar), apply the Navigation text style directly to a text box.
### How this component works
--
+- This component is built using the [composite typography tokens](/va-mobile-app/design/Foundation/Design%20tokens/Typography#text-styles).
+- Paragraph spacing is set to the recommended values based on WCAG. If needed, you may increase/decrease the spacing to meet your needs.
+
+### Choosing between variations
+There are 9 variations of the Text component.
+- Use a Heading variation (large, medium, small, x-small) for headings.
+- Use a Body variation (large, medium, small, x-small) for body copy.
+- Use the Display variation for larger display text.
## Code usage
[Open Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--docs)
## Accessibility considerations
-- Paragraph spacing
\ No newline at end of file
+- Should we mention anything about paragraph spacing or line height or anything?
+
+## Related
+- Text list (coming soon)
\ No newline at end of file
From 5e4c0283078590226699686f250e1073d56f2fc0 Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Mon, 18 Nov 2024 20:29:38 +0000
Subject: [PATCH 6/9] Update link
---
VAMobile/documentation/design/intro.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/VAMobile/documentation/design/intro.md b/VAMobile/documentation/design/intro.md
index 63994bc2641..b4a34b40c8f 100644
--- a/VAMobile/documentation/design/intro.md
+++ b/VAMobile/documentation/design/intro.md
@@ -36,7 +36,7 @@ A system to help you write, design, and build digital services on the VA Mobile
- [Checkbox](/va-mobile-app/design/Components/Selection%20and%20input/Checkbox)
### Typography
-- [Text](/va-mobile-app/design/Components/Text/Text)
+- [Text](/va-mobile-app/design/Components/Typography/Text)
-----
From 61dc55731b3d7efe092d7ebcd6b1928e4b202ed3 Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Thu, 21 Nov 2024 16:33:36 +0000
Subject: [PATCH 7/9] Update accessibility documentation
---
VAMobile/documentation/design/Components/Typography/Text.md | 5 +----
.../design/Foundation/Design tokens/Typography.md | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/VAMobile/documentation/design/Components/Typography/Text.md b/VAMobile/documentation/design/Components/Typography/Text.md
index 0dc5b563de5..4da7aa7c83f 100644
--- a/VAMobile/documentation/design/Components/Typography/Text.md
+++ b/VAMobile/documentation/design/Components/Typography/Text.md
@@ -58,7 +58,7 @@ Text is a typography component for headings, body copy, and display text.
### How this component works
- This component is built using the [composite typography tokens](/va-mobile-app/design/Foundation/Design%20tokens/Typography#text-styles).
-- Paragraph spacing is set to the recommended values based on WCAG. If needed, you may increase/decrease the spacing to meet your needs.
+- Paragraph spacing is set to the minimum recommended values to align with accessibility guidelines ([WCAG SC 1.4.12](https://www.w3.org/WAI/WCAG22/Understanding/text-spacing.html)). While you can increase the amount of paragraph spacing, you should not decrease without consulting an accessibility specialist.
### Choosing between variations
There are 9 variations of the Text component.
@@ -69,8 +69,5 @@ There are 9 variations of the Text component.
## Code usage
[Open Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--docs)
-## Accessibility considerations
-- Should we mention anything about paragraph spacing or line height or anything?
-
## Related
- Text list (coming soon)
\ No newline at end of file
diff --git a/VAMobile/documentation/design/Foundation/Design tokens/Typography.md b/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
index 9c0496d6c3f..1e6805f15eb 100644
--- a/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
+++ b/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
@@ -12,7 +12,7 @@ Typographical selections intended to meet the highest standards of usability and
Typography tokens define each property of a text style. They include font family, style, size, line height, and letter spacing. Math is used to calculate values for size and line height.
- The base font size is 16. Additional sizes are created using a scale of 1.125
-- The default line height is set to 1.5x the font size. For headings, the line height is set to 1.2x.
+- The default line height is set to 1.5x the font size. For headings, the line height is set to 1.2x. Line heights follow [accessibility best practices](https://department-of-veterans-affairs.github.io/va-mobile-app/docs/QA/QualityAssuranceProcess/Accessibility/a11y-checklist-ux-designers) and should not be decreased without consulting an accessibility specialist.
### Primitive
**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#primitive)
From 76a503d2b8fd905c5252c20456c07e15e3b85216 Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Mon, 9 Dec 2024 16:15:59 +0000
Subject: [PATCH 8/9] Update links
---
.../design/Components/Typography/Text.md | 41 +++----------------
1 file changed, 6 insertions(+), 35 deletions(-)
diff --git a/VAMobile/documentation/design/Components/Typography/Text.md b/VAMobile/documentation/design/Components/Typography/Text.md
index 4da7aa7c83f..7a2507c193b 100644
--- a/VAMobile/documentation/design/Components/Typography/Text.md
+++ b/VAMobile/documentation/design/Components/Typography/Text.md
@@ -7,45 +7,16 @@ Text is a typography component for headings, body copy, and display text.
## Examples
### Headings
-
-#### Large
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading-large) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
-
-#### Medium
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading-medium) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
-
-#### Small
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading-small) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
-
-#### X-small
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading-x-small) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--heading) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=7101-3675&t=iL0TKvx4LGQO6STF-4)
+
### Body
-
-#### Large
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body-large) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
-
-#### Medium
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body-medium) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
-
-#### Small
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body-small) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
-
-#### X-small
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body-x-small) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=7101-3675&t=iL0TKvx4LGQO6STF-4)
+
### Display
-
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--display) | [Figma](https://www.figma.com/design/RMsIAU4649EL4OzVvbfRth/%5BNEW%5D-Text---%23548?node-id=7101-3675&t=SFNnvjSBDAIU4UWR-4)
-
+**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--display) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=7101-3675&t=iL0TKvx4LGQO6STF-4)
+
## Usage
From ec25902767cfd57bf3b8d2f82327dd696b636ab4 Mon Sep 17 00:00:00 2001
From: Jessica Woodin <82840483+jessicawoodin@users.noreply.github.com>
Date: Mon, 9 Dec 2024 16:26:24 +0000
Subject: [PATCH 9/9] Fix links
---
.../documentation/design/Components/Typography/Text.md | 2 +-
.../design/Foundation/Design tokens/Typography.md | 9 ++-------
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/VAMobile/documentation/design/Components/Typography/Text.md b/VAMobile/documentation/design/Components/Typography/Text.md
index 7a2507c193b..4c57c965f81 100644
--- a/VAMobile/documentation/design/Components/Typography/Text.md
+++ b/VAMobile/documentation/design/Components/Typography/Text.md
@@ -12,7 +12,7 @@ Text is a typography component for headings, body copy, and display text.
### Body
**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--body) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=7101-3675&t=iL0TKvx4LGQO6STF-4)
-
+
### Display
**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/text--display) | [Figma](https://www.figma.com/design/Zzt8z60hCtdEzXx2GFWghH/%F0%9F%93%90-Component-Library---Design-System---VA-Mobile?node-id=7101-3675&t=iL0TKvx4LGQO6STF-4)
diff --git a/VAMobile/documentation/design/Foundation/Design tokens/Typography.md b/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
index 1e6805f15eb..d31bd87cfb1 100644
--- a/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
+++ b/VAMobile/documentation/design/Foundation/Design tokens/Typography.md
@@ -15,11 +15,9 @@ Typography tokens define each property of a text style. They include font family
- The default line height is set to 1.5x the font size. For headings, the line height is set to 1.2x. Line heights follow [accessibility best practices](https://department-of-veterans-affairs.github.io/va-mobile-app/docs/QA/QualityAssuranceProcess/Accessibility/a11y-checklist-ux-designers) and should not be decreased without consulting an accessibility specialist.
### Primitive
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#primitive)
### Semantic
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#semantic)
## Text styles
@@ -27,23 +25,20 @@ Typography tokens define each property of a text style. They include font family
Text styles (also known as composite tokens) combine each individual typography token into a defined style. They include styles for headings, body copy, and more. All properties are set using typography tokens, except for paragraph spacing. In the mobile app, spacing tokens are used to define paragraph spacing in a text style.
### Headings
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#headings)
### Body
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#body)
### Other
-**Open in**: [Storybook](https://department-of-veterans-affairs.github.io/va-mobile-library/?path=/docs/design-tokens-typography--docs#other)
## How to use typography tokens
Designers and engineers are encouraged to use typography tokens to ensure a consistent look and feel throughout the app. Multiple typography tokens are combined to create composite tokens (aka text styles). To use typography tokens and text styles in the app, we recommend a few different approaches:
-- For Headings and Body copy, use the [Text component](/va-mobile-app/design/Components/Text/Text).
-- For larger Display copy, use the [Text component](/va-mobile-app/design/Components/Text/Text).
+- For Headings and Body copy, use the [Text component](/va-mobile-app/design/Components/Typography/Text).
+- For larger Display copy, use the [Text component](/va-mobile-app/design/Components/Typography/Text).
- For smaller Navigation copy (such as the bottom tab bar), apply the Navigation text style directly to a text box.
**Coming soon**