Skip to content

Commit 22c7468

Browse files
authored
Merge pull request #640 from dxc-technology/principles-type
[Principles] Type tokens for code tags and accessibility
2 parents aecb74a + 2471725 commit 22c7468

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

guidelines/principles/typography/README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ Make sure you include all the different typographic variants in order to enhance
1616

1717
For our sans-serif `font-family`, we use the humanist typeface Open Sans, designed by Steve Matteson and licensed under the [Apache License, Version 2.0.](https://www.apache.org/licenses/LICENSE-2.0.html)
1818

19-
| Token | Description | Property | Value |
20-
| :--- | :--- | :--- | :--- |
21-
| `font-family-sans` | _Default font family sans-serif_ | `font-family` | 'Open Sans', sans-serif |
19+
| Token | Description | Property | Value |
20+
| :--- | :--- | :--- | :--- |
21+
| `font-family-sans` | _Default font family sans-serif_ | `font-family` | 'Open Sans', sans-serif |
22+
| `font-family-mono` | _Default font family monospaced_ | `font-family` | Source Code Pro', monospace |
23+
2224

2325
## Weight
2426

@@ -201,6 +203,14 @@ _Additional caption and overline styles_
201203
| `line-height` | `font-leading-normal` | 1.5em |
202204

203205

206+
## Accesibility
207+
208+
### WCAG
209+
210+
* Understanding WCAG 2.2 - [SC 1.4.6: Contrast (Enhanced)](https://www.w3.org/WAI/WCAG21/Understanding/contrast-enhanced.html)
211+
* Understanding WCAG 2.2 - [SC 1.4.12: Text Spacing](https://www.w3.org/WAI/WCAG22/Understanding/text-spacing)
212+
213+
204214
____________________________________________________________
205215

206216
[Edit this page on Github](https://github.com/dxc-technology/halstack-style-guide/blob/master/guidelines/principles/typography/README.md)

0 commit comments

Comments
 (0)