@czi-sds/mcp 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/README.md +2 -1
  2. package/data/component-docs/Accordion.md +291 -0
  3. package/data/component-docs/Autocomplete.md +525 -0
  4. package/data/component-docs/Banner.md +231 -0
  5. package/data/component-docs/Button.md +224 -0
  6. package/data/component-docs/ButtonDropdown.md +256 -0
  7. package/data/component-docs/ButtonGroup.md +320 -0
  8. package/data/component-docs/ButtonToggle.md +397 -0
  9. package/data/component-docs/Callout.md +268 -0
  10. package/data/component-docs/CellBasic.md +122 -0
  11. package/data/component-docs/CellComponent.md +63 -0
  12. package/data/component-docs/CellHeader.md +128 -0
  13. package/data/component-docs/ComplexFilter.md +294 -0
  14. package/data/component-docs/ContentCard.md +406 -0
  15. package/data/component-docs/Dialog.md +651 -0
  16. package/data/component-docs/Dropdown.md +155 -0
  17. package/data/component-docs/DropdownMenu.md +949 -0
  18. package/data/component-docs/HeatmapChart.md +782 -0
  19. package/data/component-docs/Hero.md +363 -0
  20. package/data/component-docs/Icon.md +283 -0
  21. package/data/component-docs/InputCheckbox.md +205 -0
  22. package/data/component-docs/InputDropdown.md +482 -0
  23. package/data/component-docs/InputRadio.md +173 -0
  24. package/data/component-docs/InputSearch.md +81 -0
  25. package/data/component-docs/InputSlider.md +189 -0
  26. package/data/component-docs/InputText.md +110 -0
  27. package/data/component-docs/InputToggle.md +141 -0
  28. package/data/component-docs/IntentMessage.md +293 -0
  29. package/data/component-docs/Legend.md +442 -0
  30. package/data/component-docs/Link.md +23 -0
  31. package/data/component-docs/List.md +300 -0
  32. package/data/component-docs/LoadingIndicator.md +198 -0
  33. package/data/component-docs/Menu.md +298 -0
  34. package/data/component-docs/MenuItem.md +100 -0
  35. package/data/component-docs/NavigationFooter.md +165 -0
  36. package/data/component-docs/NavigationHeader.md +500 -0
  37. package/data/component-docs/NavigationJumpTo.md +414 -0
  38. package/data/component-docs/Notification.md +288 -0
  39. package/data/component-docs/Pagination.md +67 -0
  40. package/data/component-docs/Panel.md +636 -0
  41. package/data/component-docs/Popover.md +448 -0
  42. package/data/component-docs/PreComposedTable.md +2947 -0
  43. package/data/component-docs/SegmentedControl.md +396 -0
  44. package/data/component-docs/StackedBarChart.md +475 -0
  45. package/data/component-docs/Table.md +2000 -0
  46. package/data/component-docs/TableHeader.md +53 -0
  47. package/data/component-docs/TableRow.md +74 -0
  48. package/data/component-docs/Tabs.md +455 -0
  49. package/data/component-docs/Tag.md +647 -0
  50. package/data/component-docs/TagFilter.md +131 -0
  51. package/data/component-docs/Tooltip.md +561 -0
  52. package/data/component-docs/TooltipCondensed.md +203 -0
  53. package/data/component-docs/TooltipTable.md +145 -0
  54. package/data/component-docs/index.json +262 -0
  55. package/data/component-list.json +2 -5
  56. package/data/component-props/Accordion.json +31 -11
  57. package/data/component-props/Alert.json +3 -3
  58. package/data/component-props/Autocomplete.json +150 -15
  59. package/data/component-props/Banner.json +31 -17
  60. package/data/component-props/Button.json +45 -20
  61. package/data/component-props/ButtonDropdown.json +36 -17
  62. package/data/component-props/ButtonDropdownLegacy.json +11 -11
  63. package/data/component-props/ButtonGroup.json +32 -11
  64. package/data/component-props/ButtonIcon.json +10 -10
  65. package/data/component-props/ButtonLegacy.json +19 -19
  66. package/data/component-props/ButtonToggle.json +32 -19
  67. package/data/component-props/ButtonToggleLegacy.json +11 -11
  68. package/data/component-props/Callout.json +58 -17
  69. package/data/component-props/CellBasic.json +94 -41
  70. package/data/component-props/CellComponent.json +23 -7
  71. package/data/component-props/CellHeader.json +62 -19
  72. package/data/component-props/ComplexFilter.json +52 -21
  73. package/data/component-props/ContentCard.json +70 -47
  74. package/data/component-props/Dialog.json +47 -14
  75. package/data/component-props/Dropdown.json +67 -31
  76. package/data/component-props/DropdownMenu.json +128 -23
  77. package/data/component-props/HeatmapChart.json +88 -12
  78. package/data/component-props/Hero.json +80 -39
  79. package/data/component-props/Icon.json +20 -9
  80. package/data/component-props/InputCheckbox.json +36 -14
  81. package/data/component-props/InputDropdown.json +75 -27
  82. package/data/component-props/InputRadio.json +31 -13
  83. package/data/component-props/InputSearch.json +41 -18
  84. package/data/component-props/InputSlider.json +46 -19
  85. package/data/component-props/InputText.json +26 -19
  86. package/data/component-props/InputToggle.json +26 -9
  87. package/data/component-props/IntentMessage.json +38 -9
  88. package/data/component-props/Link.json +13 -7
  89. package/data/component-props/LoadingIndicator.json +11 -3
  90. package/data/component-props/MenuItem.json +38 -19
  91. package/data/component-props/MenuSelect.json +8 -8
  92. package/data/component-props/NavigationFooter.json +49 -19
  93. package/data/component-props/NavigationHeader.json +150 -37
  94. package/data/component-props/NavigationJumpTo.json +33 -7
  95. package/data/component-props/Notification.json +39 -21
  96. package/data/component-props/Pagination.json +39 -11
  97. package/data/component-props/Panel.json +62 -9
  98. package/data/component-props/Popover.json +80 -7
  99. package/data/component-props/PreComposedTable.json +99 -27
  100. package/data/component-props/SegmentedControl.json +42 -3
  101. package/data/component-props/StackedBarChart.json +116 -42
  102. package/data/component-props/TableRow.json +38 -19
  103. package/data/component-props/Tabs.json +66 -9
  104. package/data/component-props/Tag.json +34 -17
  105. package/data/component-props/TagFilter.json +10 -3
  106. package/data/component-props/Tooltip.json +49 -18
  107. package/data/component-props/TooltipCondensed.json +18 -9
  108. package/data/component-props/TooltipTable.json +17 -7
  109. package/data/resources/{zeroheight-rules.md → documentation-rules.md} +43 -30
  110. package/data/resources/figma-rules.md +2 -2
  111. package/dist/stdio.js +483 -780
  112. package/package.json +12 -8
  113. package/data/component-props/ButtonDropdownV2.json +0 -34
  114. package/data/component-props/ButtonNew.json +0 -47
  115. package/data/component-props/ButtonToggleV2.json +0 -44
  116. package/data/component-props/ButtonV2.json +0 -43
  117. package/data/zeroheight-cache.json +0 -10259
  118. package/data/zeroheight-exports/Accordion.md +0 -774
  119. package/data/zeroheight-exports/Banner.md +0 -691
  120. package/data/zeroheight-exports/Borders.md +0 -117
  121. package/data/zeroheight-exports/Buttons.md +0 -1854
  122. package/data/zeroheight-exports/Callout.md +0 -931
  123. package/data/zeroheight-exports/Colors.md +0 -1755
  124. package/data/zeroheight-exports/Content-Card.md +0 -309
  125. package/data/zeroheight-exports/Contributing-to-SDS.md +0 -98
  126. package/data/zeroheight-exports/Control-Inputs.md +0 -2818
  127. package/data/zeroheight-exports/Corners.md +0 -104
  128. package/data/zeroheight-exports/Cover-page.md +0 -3
  129. package/data/zeroheight-exports/Dialog.md +0 -1367
  130. package/data/zeroheight-exports/Downloads.md +0 -236
  131. package/data/zeroheight-exports/Drop-Shadows.md +0 -79
  132. package/data/zeroheight-exports/Dropdown-Input.md +0 -1776
  133. package/data/zeroheight-exports/Dropdown-Menus.md +0 -913
  134. package/data/zeroheight-exports/Element-Status-Tracker.md +0 -267
  135. package/data/zeroheight-exports/Field-Inputs.md +0 -1405
  136. package/data/zeroheight-exports/Filters.md +0 -1111
  137. package/data/zeroheight-exports/Getting-Started.md +0 -1157
  138. package/data/zeroheight-exports/Hero.md +0 -414
  139. package/data/zeroheight-exports/Icons.md +0 -2067
  140. package/data/zeroheight-exports/Intent.md +0 -86
  141. package/data/zeroheight-exports/Introduction-to-Bases.md +0 -35
  142. package/data/zeroheight-exports/Introduction-to-Cells.md +0 -35
  143. package/data/zeroheight-exports/Introduction-to-DNA.md +0 -35
  144. package/data/zeroheight-exports/Introduction-to-Genes.md +0 -35
  145. package/data/zeroheight-exports/Introduction.md +0 -115
  146. package/data/zeroheight-exports/Link.md +0 -432
  147. package/data/zeroheight-exports/Lists.md +0 -986
  148. package/data/zeroheight-exports/Loading-Indicator.md +0 -41
  149. package/data/zeroheight-exports/Navigation.md +0 -1190
  150. package/data/zeroheight-exports/Notification.md +0 -1038
  151. package/data/zeroheight-exports/Panel.md +0 -1030
  152. package/data/zeroheight-exports/README.md +0 -122
  153. package/data/zeroheight-exports/Responsive-Design.md +0 -330
  154. package/data/zeroheight-exports/Search-Input.md +0 -91
  155. package/data/zeroheight-exports/Search.md +0 -822
  156. package/data/zeroheight-exports/Segmented-Control.md +0 -609
  157. package/data/zeroheight-exports/Spacing.md +0 -297
  158. package/data/zeroheight-exports/Table.md +0 -5345
  159. package/data/zeroheight-exports/Tabs.md +0 -1324
  160. package/data/zeroheight-exports/Tags.md +0 -1545
  161. package/data/zeroheight-exports/Text-Link.md +0 -268
  162. package/data/zeroheight-exports/Theming.md +0 -362
  163. package/data/zeroheight-exports/Tooltips.md +0 -2015
  164. package/data/zeroheight-exports/Typography.md +0 -800
@@ -1,800 +0,0 @@
1
- # Typography
2
-
3
- Typography encompasses font style, appearance, and structure which together deliver a consistent aesthetic while providing easily readable copy
4
-
5
- ## Wide
6
-
7
- ### Typefaces
8
-
9
- Inter is the primary typeface to be used throughout product and marketing materials. IBM Plex Mono should only be used when referring to code snippets.
10
-
11
- | **Visual** | | **Typeface** | | **Usage** |
12
- | ---------- | --- | ------------------- | --- | ---------------------------------------------------------------------------------------------------------------------------- |
13
- | | | Inter (600) | | All headers throughout the product and marketing materials, and emphasized body copy. |
14
- | | | Inter (500) | | For text that needs slight emphasis. |
15
- | | | Inter (400) | | All body copy throughout the product and marketing materials. If emphasized copy is needed, use a font weight of 500 or 600. |
16
- | | | IBM Plex Mono (400) | | Use only when referring to code snippets. |
17
-
18
- ### Font Weights
19
-
20
- Regular (400) and SemiBold (600) are the two font weights primarily used across the product, however additional font weights are available to be selectively used if needed.
21
-
22
- | **Visual** | | **Variable** | | **Value** |
23
- | ---------- | --- | -------------------- | --- | ------------------- |
24
- | | | `fontWeightHeavy` | | `font-weight: 800;` |
25
- | | | `fontWeightBold` | | `font-weight: 700;` |
26
- | | | `fontWeightSemibold` | | `font-weight: 600;` |
27
- | | | `fontWeightRegular` | | `font-weight: 400;` |
28
- | | | `fontWeightThin` | | `font-weight: 300;` |
29
-
30
- ---
31
-
32
- ### Typography Variables
33
-
34
- #### TItle
35
-
36
- For use with Hero component.
37
-
38
- | **Font Title L** | | |
39
- | ----------------------------------------------------------------------------------------------------------------------------------------- | --- | ----------------------------------------------------------------- |
40
- | _Visual_ | | _Figma Variable_ |
41
- | | | `wide/fontTitleL/700` |
42
- | _CSS / SCSS Variables_ | | _Values_ |
43
- | `--sds-font-title-l-700-font` `$sds-font-title-l-700-font` `--sds-font-title-l-700-letter-spacing` `$sds-font-title-l-700-letter-spacing` | | `font: 700 52px/64px "Inter", sans-serif;` `letter-spacing: 0px;` |
44
- | | | |
45
- | **Font Title M** | | |
46
- | _Visual_ | | _Figma Variable_ |
47
- | | | `wide/fontTitleM/700` |
48
- | _CSS / SCSS Variables_ | | _Values_ |
49
- | `--sds-font-title-m-700-font` `$sds-font-title-m-700-font` `--sds-font-title-m-700-letter-spacing` `$sds-font-title-m-700-letter-spacing` | | `font: 700 40px/50px "Inter", sans-serif;` `letter-spacing: 0px;` |
50
- | | | |
51
- | **Font Tile S** | | |
52
- | _Visual_ | | _Figma Variable_ |
53
- | | | `wide/fontTitleS/700` |
54
- | _CSS / SCSS Variables_ | | _Values_ |
55
- | `--sds-font-title-s-700-font` `$sds-font-title-s-700-font` `--sds-font-title-s-700-letter-spacing` `$sds-font-title-s-700-letter-spacing` | | `font: 700 32px/40px "Inter", sans-serif;` `letter-spacing: 0px;` |
56
-
57
- #### Header
58
-
59
- For use with `<H1>`, `<H2>`, `<H3>`, `<H4>`, `<H5>`, `<H6>` tags.
60
-
61
- | **Font Header XXL** | | |
62
- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | -------------------------------------------------------------------- |
63
- | _Visual_ | | _Figma Variable_ |
64
- | | | `wide/fontHeaderXxl/600` |
65
- | _CSS / SCSS Variables_ | | _Values_ |
66
- | `--sds-font-header-xxl-600-font` `$sds-font-header-xxl-600-font` `--sds-font-header-xxl-600-letter-spacing` `$sds-font-header-xxl-600-letter-spacing` | | `font: 600 26px/34px "Inter", sans-serif;` `letter-spacing: 0px;` |
67
- | | | |
68
- | **Font Header XL** | | |
69
- | _Visual_ | | _Figma Variable_ |
70
- | | | `wide/fontHeaderXl/600` |
71
- | _CSS / SCSS Variables_ | | _Values_ |
72
- | `--sds-font-header-xl-600-font` `$sds-font-header-xl-600-font` `--sds-font-header-xl-600-letter-spacing` `$sds-font-header-xl-600-letter-spacing` | | `font: 600 22px/30px "Inter", sans-serif;` `letter-spacing: 0px;` |
73
- | | | |
74
- | **Font Header L** | | |
75
- | _Visual_ | | _Figma Variable_ |
76
- | | | `wide/fontHeaderL/600` |
77
- | _CSS / SCSS Variables_ | | _Values_ |
78
- | `--sds-font-header-l-600-font` `$sds-font-header-l-600-font` `--sds-font-header-l-600-letter-spacing` `$sds-font-header-l-600-letter-spacing` | | `font: 600 18px/24px "Inter", sans-serif;` `letter-spacing: 0px;` |
79
- | | | |
80
- | **Font Header M** | | |
81
- | _Visual_ | | _Figma Variable_ |
82
- | | | `wide/fontHeaderM/600` |
83
- | _CSS / SCSS Variables_ | | _Values_ |
84
- | `--sds-font-header-m-600-font` `$sds-font-header-m-600-font` `--sds-font-header-m-600-letter-spacing` `$sds-font-header-m-600-letter-spacing` | | `font: 600 16px/22px "Inter", sans-serif;` `letter-spacing: 0px;` |
85
- | | | |
86
- | **Font Header S** | | |
87
- | _Visual_ | | _Figma Variable_ |
88
- | | | `wide/fontHeaderS/600` |
89
- | _CSS / SCSS Variables_ | | _Values_ |
90
- | `--sds-font-header-s-600-font` `$sds-font-header-s-600-font` `--sds-font-header-s-600-letter-spacing` `$sds-font-header-s-600-letter-spacing` | | `font: 600 14px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
91
- | | | |
92
- | **Font Header XS** | | |
93
- | _Visual_ | | _Figma Variable_ |
94
- | | | `wide/fontHeaderXs/600` |
95
- | _CSS / SCSS Variables_ | | _Values_ |
96
- | `--sds-font-header-xs-600-font` `$sds-font-header-xs-600-font` `--sds-font-header-xs-600-letter-spacing` `$sds-font-header-xs-600-letter-spacing` | | `font: 600 13px/18px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
97
- | | | |
98
- | **Font Header XXS** | | |
99
- | _Visual_ | | _Figma Variable_ |
100
- | | | `wide/fontHeaderXxs/600` |
101
- | _CSS / SCSS Variables_ | | _Values_ |
102
- | `--sds-font-header-xxs-600-font` `$sds-font-header-xxs-600-font` `--sds-font-header-xxs-600-letter-spacing` `$sds-font-header-xxs-600-letter-spacing` | | `font: 600 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
103
- | | | |
104
- | **Font Header XXXS** | | |
105
- | _Visual_ | | _Figma Variable_ |
106
- | | | `wide/fontHeaderXxxs/600` |
107
- | _CSS / SCSS Variables_ | | _Values_ |
108
- | `--sds-font-header-xxxs-600-font` `$sds-font-header-xxxs-600-font` `--sds-font-header-xxxs-600-letter-spacing` `$sds-font-header-xxxs-600-letter-spacing` | | `font: 600 11px/16px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
109
-
110
- #### Body
111
-
112
- For use with `<p>` tags.
113
-
114
- | **Font Body L** | | |
115
- | ------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ----------------------------------------------------------------------- |
116
- | _Visual_ | | _Figma Variables_ |
117
- | | | `wide/fontBodyL/600` `wide/fontBodyL/500` `wide/fontBodyL/400` |
118
- | _CSS / SCSS Variables_ | | _Values_ |
119
- | `--sds-font-body-l-600-font` `$sds-font-body-l-600-font` `--sds-font-body-l-600-letter-spacing` `$sds-font-body-l-600-letter-spacing` | | `font: 600 18px/28px "Inter", sans-serif;` `letter-spacing: 0px;` |
120
- | `--sds-font-body-l-500-font` `$sds-font-body-l-500-font` `--sds-font-body-l-500-letter-spacing` `$sds-font-body-l-500-letter-spacing` | | `font: 500 18px/28px "Inter", sans-serif;` `letter-spacing: 0px;` |
121
- | `--sds-font-body-l-400-font` `$sds-font-body-l-400-font` `--sds-font-body-l-400-letter-spacing` `$sds-font-body-l-400-letter-spacing` | | `font: 400 18px/28px "Inter", sans-serif;` `letter-spacing: 0px;` |
122
- | | | |
123
- | **Font Body M** | | |
124
- | _Visual_ | | _Figma Variables_ |
125
- | | | `wide/fontBodyM/600` `wide/fontBodyM/500` `wide/fontBodyM/400` |
126
- | _CSS / SCSS Variables_ | | _Values_ |
127
- | `--sds-font-body-m-600-font` `$sds-font-body-m-600-font``--sds-font-body-m-600-letter-spacing``$sds-font-body-m-600-letter-spacing` | | `font: 600 16px/26px "Inter", sans-serif;` `letter-spacing: 0px;` |
128
- | `--sds-font-body-m-500-font` `$sds-font-body-m-500-font``--sds-font-body-m-500-letter-spacing``$sds-font-body-m-500-letter-spacing` | | `font: 500 16px/26px "Inter", sans-serif;` `letter-spacing: 0px;` |
129
- | `--sds-font-body-m-400-font` `$sds-font-body-m-400-font` `--sds-font-body-m-400-letter-spacing` `$sds-font-body-m-400-letter-spacing` | | `font: 400 16px/26px "Inter", sans-serif;` `letter-spacing: 0px;` |
130
- | | | |
131
- | **Font Body S** | | |
132
- | _Visual_ | | _Figma Variables_ |
133
- | | | `wide/fontBodyS/600` `wide/fontBodyS/500` `wide/fontBodyS/400` |
134
- | _CSS / SCSS Variables_ | | _Values_ |
135
- | `--sds-font-body-s-600-font` `$sds-font-body-s-600-font` `--sds-font-body-s-600-letter-spacing` `$sds-font-body-s-600-letter-spacing` | | `font: 600 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
136
- | `--sds-font-body-s-500-font` `$sds-font-body-s-500-font` `--sds-font-body-s-500-letter-spacing` `$sds-font-body-s-500-letter-spacing` | | `font: 500 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
137
- | `--sds-font-body-s-400-font` `$sds-font-body-s-400-font` `--sds-font-body-s-400-letter-spacing` `$sds-font-body-s-400-letter-spacing` | | `font: 400 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
138
- | | | |
139
- | **Font Body XS** | | |
140
- | _Visual_ | | _Figma Variables_ |
141
- | | | `wide/fontBodyXs/600` `wide/fontBodyXs/500` `wide/fontBodyXs/400` |
142
- | _CSS / SCSS Variables_ | | _Values_ |
143
- | `--sds-font-body-xs-600-font` `$sds-font-body-xs-600-font` `--sds-font-body-xs-600-letter-spacing` `$sds-font-body-xs-600-letter-spacing` | | `font: 600 13px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
144
- | `--sds-font-body-xs-500-font` `$sds-font-body-xs-500-font` `--sds-font-body-xs-500-letter-spacing` `$sds-font-body-xs-500-letter-spacing` | | `font: 500 13px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
145
- | `--sds-font-body-xs-400-font` `$sds-font-body-xs-400-font` `--sds-font-body-xs-400-letter-spacing` `$sds-font-body-xs-400-letter-spacing` | | `font: 400 13px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
146
- | | | |
147
- | **Font Body XXS** | | |
148
- | _Visual_ | | _Figma Variables_ |
149
- | | | `wide/fontBodyXxs/600` `wide/fontBodyXxs/500` `wide/fontBodyXxs/400` |
150
- | _CSS / SCSS Variables_ | | _Values_ |
151
- | `--sds-font-body-xxs-600-font` `$sds-font-body-xxs-600-font` `--sds-font-body-xxs-600-letter-spacing` `$sds-font-body-xxs-600-letter-spacing` | | `font: 600 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
152
- | `--sds-font-body-xxs-500-font` `$sds-font-body-xxs-500-font` `--sds-font-body-xxs-500-letter-spacing` `$sds-font-body-xxs-500-letter-spacing` | | `font: 500 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
153
- | `--sds-font-body-xxs-400-font` `$sds-font-body-xxs-400-font` `--sds-font-body-xxs-400-letter-spacing` `$sds-font-body-xxs-400-letter-spacing` | | `font: 400 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
154
- | | | |
155
- | **Font Body XXXS** | | |
156
- | _Visual_ | | _Figma Variables_ |
157
- | | | `wide/fontBodyXxxs/600` `wide/fontBodyXxxs/500` `wide/fontBodyXxxs/400` |
158
- | _CSS / SCSS Variables_ | | _Values_ |
159
- | `--sds-font-body-xxxs-600-font` `$sds-font-body-xxxs-600-font` `--sds-font-body-xxxs-600-letter-spacing` `$sds-font-body-xxxs-600-letter-spacing` | | `font: 600 11px/16px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
160
- | `--sds-font-body-xxxs-500-font` `$sds-font-body-xxxs-500-font` `--sds-font-body-xxxs-500-letter-spacing` `$sds-font-body-xxxs-500-letter-spacing` | | `font: 500 11px/16px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
161
- | `--sds-font-body-xxxs-400-font` `$sds-font-body-xxxs-400-font` `--sds-font-body-xxxs-400-letter-spacing` `$sds-font-body-xxxs-400-letter-spacing` | | `font: 400 11px/16px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
162
-
163
- #### All-caps
164
-
165
- Use for emphasis or when there is a need for distinction between fonts on a page or in a component, such as in Minimal Buttons.
166
-
167
- | **Font Caps XXS** | | |
168
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- | ------------------------------------------------------------------------------------------------ |
169
- | _Visual_ | | _Figma Variable_ |
170
- | | | `wide/fontCapsXxs/600` |
171
- | _CSS / SCSS Variables_ | | _Values_ |
172
- | `--sds-font-caps-xxs-600-font` `$sds-font-caps-xxs-600-font` `--sds-font-caps-xxs-600-letter-spacing` `$sds-font-caps-xxs-600-letter-spacing` `--sds-font-caps-xxs-600-text-transform``$sds-font-caps-xxs-600-text-transform` | | `font: 600 12px/18px "Inter", sans-serif;` `letter-spacing: 0.5px;` `text-transform: uppercase;` |
173
- | | | |
174
- | **Font Caps XXXS** | | |
175
- | _Visual_ | | _Figma Variable_ |
176
- | | | `wide/fontCapsXxxs/600` |
177
- | _CSS / SCSS Variables_ | | _Values_ |
178
- | `--sds-font-caps-xxxs-600-font` `$sds-font-caps-xxxs-600-font` `--sds-font-caps-xxxs-600-letter-spacing` `$sds-font-caps-xxxs-600-letter-spacing` `--sds-font-caps-xxxs-600-text-transform` `$sds-font-caps-xxxs-600-text-transform` | | `font: 600 11px/16px "Inter", sans-serif;` `letter-spacing: 0.5px;` `text-transform: uppercase;` |
179
- | | | |
180
- | **Font Caps XXXXS** | | |
181
- | _Visual_ | | _Figma Variable_ |
182
- | | | `wide/fontCapsXxxxs/600` |
183
- | _CSS / SCSS Variables_ | | _Values_ |
184
- | `--sds-font-caps-xxxxs-600-font` `$sds-font-caps-xxxxs-600-font` `--sds-font-caps-xxxxs-600-letter-spacing` `$sds-font-caps-xxxxs-600-letter-spacing` `--sds-font-caps-xxxxs-600-text-transform` `$sds-font-caps-xxxxs-600-text-transform` | | `font: 600 10px/14px "Inter", sans-serif;` `letter-spacing: 0.5px;` `text-transform: uppercase;` |
185
-
186
- #### Tabular
187
-
188
- Use when there is a need for numbers to be an equal width such as in Tables.
189
-
190
- | **Font Tabular S** | | |
191
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- | ----------------------------------------------------------------------------------------------------------- |
192
- | _Visual_ | | _Figma Variables_ |
193
- | | | `wide/fontTabularS/600` `wide/fontTabularS/500` `wide/fontTabularS/400` |
194
- | _CSS / SCSS Variables_ | | _Values_ |
195
- | `--sds-font-tabular-s-600-font` `$sds-font-tabular-s-600-font` `--sds-font-tabular-s-600-font-variant-numeric` `$sds-font-tabular-s-600-font-variant-numeric` `--sds-font-tabular-s-600-letter-spacing` `$sds-font-tabular-s-600-letter-spacing` | | `font: 600 14px/24px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
196
- | `--sds-font-tabular-s-500-font` `$sds-font-tabular-s-500-font` `--sds-font-tabular-s-500-font-variant-numeric` `$sds-font-tabular-s-500-font-variant-numeric` `--sds-font-tabular-s-500-letter-spacing` `$sds-font-tabular-s-500-letter-spacing` | | `font: 500 14px/24px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
197
- | `--sds-font-tabular-s-400-font` `$sds-font-tabular-s-400-font` `--sds-font-tabular-s-400-font-variant-numeric` `$sds-font-tabular-s-400-font-variant-numeric` `--sds-font-tabular-s-400-letter-spacing` `$sds-font-tabular-s-400-letter-spacing` | | `font: 400 14px/24px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
198
- | | | |
199
- | **Font Tabular XS** | | |
200
- | _Visual_ | | _Figma Variables_ |
201
- | | | `wide/fontTabularXs/600` `wide/fontTabularXs/500` `wide/fontTabularXs/400` |
202
- | _CSS / SCSS Variables_ | | _Values_ |
203
- | `--sds-font-tabular-xs-600-font` `$sds-font-tabular-xs-600-font` `--sds-font-tabular-xs-600-font-variant-numeric` `$sds-font-tabular-xs-600-font-variant-numeric` `--sds-font-tabular-xs-600-letter-spacing` `$sds-font-tabular-xs-600-letter-spacing` | | `font: 600 13px/20px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
204
- | `--sds-font-tabular-xs-500-font` `$sds-font-tabular-xs-500-font` `--sds-font-tabular-xs-500-font-variant-numeric` `$sds-font-tabular-xs-500-font-variant-numeric` `--sds-font-tabular-xs-500-letter-spacing` `$sds-font-tabular-xs-500-letter-spacing` | | `font: 500 13px/20px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
205
- | `--sds-font-tabular-xs-400-font` `$sds-font-tabular-xs-400-font` `--sds-font-tabular-xs-400-font-variant-numeric` `$sds-font-tabular-xs-400-font-variant-numeric` `--sds-font-tabular-xs-400-letter-spacing` `$sds-font-tabular-xs-400-letter-spacing` | | `font: 400 13px/20px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
206
- | | | |
207
- | **Font Tabular XXS** | | |
208
- | _Visual_ | | _Figma Variables_ |
209
- | | | `wide/fontTabularXxs/600` `wide/fontTabularXxs/500` `wide/fontTabularXxs/400` |
210
- | _CSS / SCSS Variables_ | | _Values_ |
211
- | `--sds-font-tabular-xxs-600-font` `$sds-font-tabular-xxs-600-font` `--sds-font-tabular-xxs-600-font-variant-numeric` `$sds-font-tabular-xxs-600-font-variant-numeric` `--sds-font-tabular-xxs-600-letter-spacing` `$sds-font-tabular-xxs-600-letter-spacing` | | `font: 600 12px/18px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
212
- | `--sds-font-tabular-xxs-500-font` `$sds-font-tabular-xxs-500-font` `--sds-font-tabular-xxs-500-font-variant-numeric` `$sds-font-tabular-xxs-500-font-variant-numeric` `--sds-font-tabular-xxs-500-letter-spacing` `$sds-font-tabular-xxs-500-letter-spacing` | | `font: 500 12px/18px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
213
- | `--sds-font-tabular-xxs-400-font` `$sds-font-tabular-xxs-400-font` `--sds-font-tabular-xxs-400-font-variant-numeric` `$sds-font-tabular-xxs-400-font-variant-numeric` `--sds-font-tabular-xxs-400-letter-spacing` `$sds-font-tabular-xxs-400-letter-spacing` | | `font: 400 12px/18px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
214
- | | | |
215
- | **Font Tabular XXXS** | | |
216
- | _Visual_ | | _Figma Variables_ |
217
- | | | `wide/fontTabularXxxs/600` `wide/fontTabularXxxs/500` `wide/fontTabularXxxs/400` |
218
- | _CSS / SCSS Variables_ | | _Values_ |
219
- | `--sds-font-tabular-xxxs-600-font` `$sds-font-tabular-xxxs-600-font` `--sds-font-tabular-xxxs-600-font-variant-numeric` `$sds-font-tabular-xxxs-600-font-variant-numeric` `--sds-font-tabular-xxxs-600-letter-spacing` `$sds-font-tabular-xxxs-600-letter-spacing` | | `font: 600 11px/16px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
220
- | `--sds-font-tabular-xxxs-500-font` `$sds-font-tabular-xxxs-500-font` `--sds-font-tabular-xxxs-500-font-variant-numeric` `$sds-font-tabular-xxxs-500-font-variant-numeric` `--sds-font-tabular-xxxs-500-letter-spacing` `$sds-font-tabular-xxxs-500-letter-spacing` | | `font: 500 11px/16px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
221
- | `--sds-font-tabular-xxxs-400-font` `$sds-font-tabular-xxxs-400-font` `--sds-font-tabular-xxxs-400-font-variant-numeric` `$sds-font-tabular-xxxs-400-font-variant-numeric` `--sds-font-tabular-xxxs-400-letter-spacing` `$sds-font-tabular-xxxs-400-letter-spacing` | | `font: 400 11px/16px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
222
-
223
- #### Code
224
-
225
- Use only when referring to code snippets.
226
-
227
- | **Font Code S** | | |
228
- | ----------------------------------------------------------------------------------------------------------------------------------------- | --- | ------------------------------------------------------------------------ |
229
- | _Visual_ | | _Figma Variables_ |
230
- | | | `wide/fontCodeS/600` `wide/fontCodeS/500` `wide/fontCodeS/400` |
231
- | _CSS / SCSS Variables_ | | _Values_ |
232
- | `--sds-font-code-s-600-font` `$sds-font-code-s-600-font` `--sds-font-code-s-600-letter-spacing` `$sds-font-code-s-600-letter-spacing` | | `font: 600 14px/24px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
233
- | `--sds-font-code-s-500-font` `$sds-font-code-s-500-font` `--sds-font-code-s-500-letter-spacing` `$sds-font-code-s-500-letter-spacing` | | `font: 500 14px/24px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
234
- | `--sds-font-code-s-400-font` `$sds-font-code-s-400-font` `--sds-font-code-s-400-letter-spacing` `$sds-font-code-s-400-letter-spacing` | | `font: 400 14px/24px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
235
- | | | |
236
- | **Font Code XS** | | |
237
- | _Visual_ | | _Figma Variables_ |
238
- | | | `wide/fontCodeXs/600` `wide/fontCodeXs/500` `wide/fontCodeXs/400` |
239
- | _CSS / SCSS Variables_ | | _Values_ |
240
- | `--sds-font-code-xs-600-font` `$sds-font-code-xs-600-font` `--sds-font-code-xs-600-letter-spacing` `$sds-font-code-xs-600-letter-spacing` | | `font: 600 13px/20px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
241
- | `--sds-font-code-xs-500-font` `$sds-font-code-xs-500-font` `--sds-font-code-xs-500-letter-spacing` `$sds-font-code-xs-500-letter-spacing` | | `font: 500 13px/20px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
242
- | `--sds-font-code-xs-400-font` `$sds-font-code-xs-400-font` `--sds-font-code-xs-400-letter-spacing` `$sds-font-code-xs-400-letter-spacing` | | `font: 400 13px/20px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
243
-
244
- ## Narrow
245
-
246
- ### Typefaces
247
-
248
- Inter is the primary typeface to be used throughout product and marketing materials. IBM Plex Mono should only be used when referring to code snippets.
249
-
250
- | **Visual** | | **Typeface** | | **Usage** |
251
- | ---------- | --- | ------------------- | --- | --------------------------------------------------------------------------------------------------------------------- |
252
- | | | Inter (600) | | All headers throughout the product and marketing materials, and emphasized body copy. |
253
- | | | Inter (500) | | For text that needs slight emphasis. |
254
- | | | Inter (400) | | All body copy throughout the product and marketing materials. If emphasized copy is needed, use a font weight of 600. |
255
- | | | IBM Plex Mono (400) | | Use only when referring to code snippets. |
256
-
257
- ### Font Weights
258
-
259
- Regular (400) and SemiBold (600) are the two font weights primarily used across the product, however additional font weights are available to be selectively used if needed.
260
-
261
- | **Visual** | | **Variable** | | **Value** |
262
- | ---------- | --- | -------------------- | --- | ------------------- |
263
- | | | `fontWeightHeavy` | | `font-weight: 800;` |
264
- | | | `fontWeightBold` | | `font-weight: 700;` |
265
- | | | `fontWeightSemibold` | | `font-weight: 600;` |
266
- | | | `fontWeightRegular` | | `font-weight: 400;` |
267
- | | | `fontWeightThin` | | `font-weight: 300;` |
268
-
269
- ---
270
-
271
- ### Typography Variables
272
-
273
- #### TItle
274
-
275
- For use with Hero component.
276
-
277
- | **Font Title L** | | |
278
- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ----------------------------------------------------------------- |
279
- | _Visual_ | | _Figma Variable_ |
280
- | | | `narrow/fontTitleL/700` |
281
- | _CSS / SCSS Variables_ | | _Values_ |
282
- | `--sds-font-title-l-700-font-narrow` `$sds-font-title-l-700-font-narrow` `--sds-font-title-l-700-letter-spacing-narrow` `$sds-font-title-l-700-letter-spacing-narrow` | | `font: 700 40px/50x "Inter", sans-serif;` `letter-spacing: 0px;` |
283
- | | | |
284
- | **Font Title M** | | |
285
- | _Visual_ | | _Figma Variable_ |
286
- | | | `narrow/fontTitleM/700` |
287
- | _CSS / SCSS Variables_ | | _Values_ |
288
- | `--sds-font-title-m-700-font-narrow` `$sds-font-title-m-700-font-narrow` `--sds-font-title-m-700-letter-spacing-narrow` `$sds-font-title-m-700-letter-spacing-narrow` | | `font: 700 32px/40px "Inter", sans-serif;` `letter-spacing: 0px;` |
289
- | | | |
290
- | **Font Tile S** | | |
291
- | _Visual_ | | _Figma Variable_ |
292
- | | | `narrow/fontTitleS/700` |
293
- | _CSS / SCSS Variables_ | | _Values_ |
294
- | `--sds-font-title-s-700-font-narrow` `$sds-font-title-s-700-font-narrow` `--sds-font-title-s-700-letter-spacing-narrow` `$sds-font-title-s-700-letter-spacing-narrow` | | `font: 700 26px/34px "Inter", sans-serif;` `letter-spacing: 0px;` |
295
-
296
- #### Header
297
-
298
- For use with `<H1>`, `<H2>`, `<H3>`, `<H4>`, `<H5>`, `<H6>` tags.
299
-
300
- | **Font Header XXL** | | |
301
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | -------------------------------------------------------------------- |
302
- | _Visual_ | | _Figma Variable_ |
303
- | | | `narrow/fontHeaderXxl/600` |
304
- | _CSS / SCSS Variables_ | | _Values_ |
305
- | `--sds-font-header-xxl-600-font-narrow` `$sds-font-header-xxl-600-font-narrow` `--sds-font-header-xxl-600-letter-spacing-narrow` `$sds-font-header-xxl-600-letter-spacing-narrow` | | `font: 600 22px/30px "Inter", sans-serif;` `letter-spacing: 0px;` |
306
- | | | |
307
- | **Font Header XL** | | |
308
- | _Visual_ | | _Figma Variable_ |
309
- | | | `narrow/fontHeaderXl/600` |
310
- | _CSS / SCSS Variables_ | | _Values_ |
311
- | `--sds-font-header-xl-600-font-narrow` `$sds-font-header-xl-600-font-narrow` `--sds-font-header-xl-600-letter-spacing-narrow` `$sds-font-header-xl-600-letter-spacing-narrow` | | `font: 600 18px/24px "Inter", sans-serif;` `letter-spacing: 0px;` |
312
- | | | |
313
- | **Font Header L** | | |
314
- | _Visual_ | | _Figma Variable_ |
315
- | | | `narrow/fontHeaderL/600` |
316
- | _CSS / SCSS Variables_ | | _Values_ |
317
- | `--sds-font-header-l-600-font-narrow` `$sds-font-header-l-600-font-narrow` `--sds-font-header-l-600-letter-spacing-narrow` `$sds-font-header-l-600-letter-spacing-narrow` | | `font: 600 16px/22px "Inter", sans-serif;` `letter-spacing: 0px;` |
318
- | | | |
319
- | **Font Header M** | | |
320
- | _Visual_ | | _Figma Variable_ |
321
- | | | `narrow/fontHeaderM/600` |
322
- | _CSS / SCSS Variables_ | | _Values_ |
323
- | `--sds-font-header-m-600-font-narrow` `$sds-font-header-m-600-font-narrow` `--sds-font-header-m-600-letter-spacing-narrow` `$sds-font-header-m-600-letter-spacing-narrow` | | `font: 600 14px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
324
- | | | |
325
- | **Font Header S** | | |
326
- | _Visual_ | | _Figma Variable_ |
327
- | | | `narrow/fontHeaderS/600` |
328
- | _CSS / SCSS Variables_ | | _Values_ |
329
- | `--sds-font-header-s-600-font-narrow` `$sds-font-header-s-600-font-narrow` `--sds-font-header-s-600-letter-spacing-narrow` `$sds-font-header-s-600-letter-spacing-narrow` | | `font: 600 14px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
330
- | | | |
331
- | **Font Header XS** | | |
332
- | _Visual_ | | _Figma Variable_ |
333
- | | | `narrow/fontHeaderXs/600` |
334
- | _CSS / SCSS Variables_ | | _Values_ |
335
- | `--sds-font-header-xs-600-font-narrow` `$sds-font-header-xs-600-font-narrow` `--sds-font-header-xs-600-letter-spacing-narrow` `$sds-font-header-xs-600-letter-spacing-narrow` | | `font: 600 13px/18px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
336
- | | | |
337
- | **Font Header XXS** | | |
338
- | _Visual_ | | _Figma Variable_ |
339
- | | | `narrow/fontHeaderXxs/600` |
340
- | _CSS / SCSS Variables_ | | _Values_ |
341
- | `--sds-font-header-xxs-600-font-narrow` `$sds-font-header-xxs-600-font-narrow` `--sds-font-header-xxs-600-letter-spacing-narrow` `$sds-font-header-xxs-600-letter-spacing-narrow` | | `font: 600 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
342
- | | | |
343
- | **Font Header XXXS** | | |
344
- | _Visual_ | | _Figma Variable_ |
345
- | | | `narrow/fontHeaderXxxs/600` |
346
- | _CSS / SCSS Variables_ | | _Values_ |
347
- | `--sds-font-header-xxxs-600-font-narrow` `$sds-font-header-xxxs-600-font-narrow` `--sds-font-header-xxxs-600-letter-spacing-narrow` `$sds-font-header-xxxs-600-letter-spacing-narrow` | | `font: 600 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
348
-
349
- #### Body
350
-
351
- For use with `<p>` tags.
352
-
353
- | **Font Body L** | | |
354
- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ----------------------------------------------------------------------------- |
355
- | _Visual_ | | _Figma Variables_ |
356
- | | | `narrow/fontBodyL/600` `narrow/fontBodyL/500` `narrow/fontBodyL/400` |
357
- | _CSS / SCSS Variables_ | | _Values_ |
358
- | `--sds-font-body-l-600-font-narrow` `$sds-font-body-l-600-font-narrow` `--sds-font-body-l-600-letter-spacing-narrow` `$sds-font-body-l-600-letter-spacing-narrow` | | `font: 600 16px/26px "Inter", sans-serif;` `letter-spacing: 0px;` |
359
- | `--sds-font-body-l-500-font-narrow` `$sds-font-body-l-500-font-narrow` `--sds-font-body-l-500-letter-spacing-narrow` `$sds-font-body-l-500-letter-spacing-narrow` | | `font: 500 16px/26px "Inter", sans-serif;` `letter-spacing: 0px;` |
360
- | `--sds-font-body-l-400-font-narrow` `$sds-font-body-l-400-font-narrow` `--sds-font-body-l-400-letter-spacing-narrow` `$sds-font-body-l-400-letter-spacing-narrow` | | `font: 400 16px/26px "Inter", sans-serif;` `letter-spacing: 0px;` |
361
- | | | |
362
- | **Font Body M** | | |
363
- | _Visual_ | | _Figma Variables_ |
364
- | | | `narrow/fontBodyM/600` `narrow/fontBodyM/500` `narrow/fontBodyM/400` |
365
- | _CSS / SCSS Variables_ | | _Values_ |
366
- | `--sds-font-body-m-600-font-narrow` `$sds-font-body-m-600-font-narrow``--sds-font-body-m-600-letter-spacing-narrow``$sds-font-body-m-600-letter-spacing-narrow` | | `font: 600 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
367
- | `--sds-font-body-m-500-font-narrow` `$sds-font-body-m-500-font-narrow``--sds-font-body-m-500-letter-spacing-narrow``$sds-font-body-m-500-letter-spacing-narrow` | | `font: 500 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
368
- | `--sds-font-body-m-400-font-narrow` `$sds-font-body-m-400-font-narrow` `--sds-font-body-m-400-letter-spacing-narrow` `$sds-font-body-m-400-letter-spacing-narrow` | | `font: 400 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
369
- | | | |
370
- | **Font Body S** | | |
371
- | _Visual_ | | _Figma Variables_ |
372
- | | | `narrow/fontBodyS/600` `narrow/fontBodyS/500` `narrow/fontBodyS/400` |
373
- | _CSS / SCSS Variables_ | | _Values_ |
374
- | `--sds-font-body-s-600-font-narrow` `$sds-font-body-s-600-font-narrow` `--sds-font-body-s-600-letter-spacing-narrow` `$sds-font-body-s-600-letter-spacing-narrow` | | `font: 600 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
375
- | `--sds-font-body-s-500-font-narrow` `$sds-font-body-s-500-font-narrow` `--sds-font-body-s-500-letter-spacing-narrow` `$sds-font-body-s-500-letter-spacing-narrow` | | `font: 500 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
376
- | `--sds-font-body-s-400-font-narrow` `$sds-font-body-s-400-font-narrow` `--sds-font-body-s-400-letter-spacing-narrow` `$sds-font-body-s-400-letter-spacing-narrow` | | `font: 400 14px/24px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
377
- | | | |
378
- | **Font Body XS** | | |
379
- | _Visual_ | | _Figma Variables_ |
380
- | | | `narrow/fontBodyXs/600` `narrow/fontBodyXs/500` `narrow/fontBodyXs/400` |
381
- | _CSS / SCSS Variables_ | | _Values_ |
382
- | `--sds-font-body-xs-600-font-narrow` `$sds-font-body-xs-600-font-narrow` `--sds-font-body-xs-600-letter-spacing-narrow` `$sds-font-body-xs-600-letter-spacing-narrow` | | `font: 600 13px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
383
- | `--sds-font-body-xs-500-font-narrow` `$sds-font-body-xs-500-font-narrow` `--sds-font-body-xs-500-letter-spacing-narrow` `$sds-font-body-xs-500-letter-spacing-narrow` | | `font: 500 13px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
384
- | `--sds-font-body-xs-400-font-narrow` `$sds-font-body-xs-400-font-narrow` `--sds-font-body-xs-400-letter-spacing-narrow` `$sds-font-body-xs-400-letter-spacing-narrow` | | `font: 400 13px/20px "Inter", sans-serif;` `letter-spacing: 0.08px;` |
385
- | | | |
386
- | **Font Body XXS** | | |
387
- | _Visual_ | | _Figma Variables_ |
388
- | | | `narrow/fontBodyXxs/600` `narrow/fontBodyXxs/500` `narrow/fontBodyXxs/400` |
389
- | _CSS / SCSS Variables_ | | _Values_ |
390
- | `--sds-font-body-xxs-600-font-narrow` `$sds-font-body-xxs-600-font-narrow` `--sds-font-body-xxs-600-letter-spacing-narrow` `$sds-font-body-xxs-600-letter-spacing-narrow` | | `font: 600 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
391
- | `--sds-font-body-xxs-500-font-narrow` `$sds-font-body-xxs-500-font-narrow` `--sds-font-body-xxs-500-letter-spacing-narrow` `$sds-font-body-xxs-500-letter-spacing-narrow` | | `font: 500 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
392
- | `--sds-font-body-xxs-400-font-narrow` `$sds-font-body-xxs-400-font-narrow` `--sds-font-body-xxs-400-letter-spacing-narrow` `$sds-font-body-xxs-400-letter-spacing-narrow` | | `font: 400 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
393
- | | | |
394
- | **Font Body XXXS** | | |
395
- | _Visual_ | | _Figma Variables_ |
396
- | | | `narrow/fontBodyXxxs/600` `narrow/fontBodyXxxs/500` `narrow/fontBodyXxxs/400` |
397
- | _CSS / SCSS Variables_ | | _Values_ |
398
- | `--sds-font-body-xxxs-600-font-narrow` `$sds-font-body-xxxs-600-font-narrow` `--sds-font-body-xxxs-600-letter-spacing-narrow` `$sds-font-body-xxxs-600-letter-spacing-narrow` | | `font: 600 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
399
- | `--sds-font-body-xxxs-500-font-narrow` `$sds-font-body-xxxs-500-font-narrow` `--sds-font-body-xxxs-500-letter-spacing-narrow` `$sds-font-body-xxxs-500-letter-spacing-narrow` | | `font: 500 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
400
- | `--sds-font-body-xxxs-400-font-narrow` `$sds-font-body-xxxs-400-font-narrow` `--sds-font-body-xxxs-400-letter-spacing-narrow` `$sds-font-body-xxxs-400-letter-spacing-narrow` | | `font: 400 12px/18px "Inter", sans-serif;` `letter-spacing: 0.1px;` |
401
-
402
- #### All-caps
403
-
404
- Use for emphasis or when there is a need for distinction between fonts on a page or in a component, such as in Minimal Buttons.
405
-
406
- | **Font Caps XXS** | | |
407
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- | ------------------------------------------------------------------------------------------------ |
408
- | _Visual_ | | _Figma Variable_ |
409
- | | | `narrow/fontCapsXxs/600` |
410
- | _CSS / SCSS Variables_ | | _Values_ |
411
- | `--sds-font-caps-xxs-600-font-narrow` `$sds-font-caps-xxs-600-font-narrow` `--sds-font-caps-xxs-600-letter-spacing-narrow` `$sds-font-caps-xxs-600-letter-spacing-narrow` `--sds-font-caps-xxs-600-text-transform-narrow``$sds-font-caps-xxs-600-text-transform-narrow` | | `font: 600 12px/18px "Inter", sans-serif;` `letter-spacing: 0.5px;` `text-transform: uppercase;` |
412
- | | | |
413
- | **Font Caps XXXS** | | |
414
- | _Visual_ | | _Figma Variable_ |
415
- | | | `narrow/fontCapsXxxs/600` |
416
- | _CSS / SCSS Variables_ | | _Values_ |
417
- | `--sds-font-caps-xxxs-600-font-narrow` `$sds-font-caps-xxxs-600-font-narrow` `--sds-font-caps-xxxs-600-letter-spacing-narrow` `$sds-font-caps-xxxs-600-letter-spacing-narrow` `--sds-font-caps-xxxs-600-text-transform-narrow` `$sds-font-caps-xxxs-600-text-transform-narrow` | | `font: 600 11px/16px "Inter", sans-serif;` `letter-spacing: 0.5px;` `text-transform: uppercase;` |
418
- | | | |
419
- | **Font Caps XXXXS** | | |
420
- | _Visual_ | | _Figma Variable_ |
421
- | | | `narrow/fontCapsXxxxs/600` |
422
- | _CSS / SCSS Variables_ | | _Values_ |
423
- | `--sds-font-caps-xxxxs-600-font-narrow` `$sds-font-caps-xxxxs-600-font-narrow` `--sds-font-caps-xxxxs-600-letter-spacing-narrow` `$sds-font-caps-xxxxs-600-letter-spacing-narrow` `--sds-font-caps-xxxxs-600-text-transform-narrow` `$sds-font-caps-xxxxs-600-text-transform-narrow` | | `font: 600 11px/16px "Inter", sans-serif;` `letter-spacing: 0.5px;` `text-transform: uppercase;` |
424
-
425
- #### Tabular
426
-
427
- Use when there is a need for numbers to be an equal width such as in Tables.
428
-
429
- | **Font Tabular S** | | |
430
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --- | ----------------------------------------------------------------------------------------------------------- |
431
- | _Visual_ | | _Figma Variables_ |
432
- | | | `narrow/fontTabularS/600` `narrow/fontTabularS/500` `narrow/fontTabularS/400` |
433
- | _CSS / SCSS Variables_ | | _Values_ |
434
- | `--sds-font-tabular-s-600-font-narrow` `$sds-font-tabular-s-600-font-narrow` `--sds-font-tabular-s-600-font-variant-numeric-narrow` `$sds-font-tabular-s-600-font-variant-numeric-narrow` `--sds-font-tabular-s-600-letter-spacing-narrow` `$sds-font-tabular-s-600-letter-spacing-narrow` | | `font: 600 14px/24px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
435
- | `--sds-font-tabular-s-500-font-narrow` `$sds-font-tabular-s-500-font-narrow` `--sds-font-tabular-s-500-font-variant-numeric-narrow` `$sds-font-tabular-s-500-font-variant-numeric-narrow` `--sds-font-tabular-s-500-letter-spacing-narrow` `$sds-font-tabular-s-500-letter-spacing-narrow` | | `font: 500 14px/24px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
436
- | `--sds-font-tabular-s-400-font-narrow` `$sds-font-tabular-s-400-font-narrow` `--sds-font-tabular-s-400-font-variant-numeric-narrow` `$sds-font-tabular-s-400-font-variant-numeric-narrow` `--sds-font-tabular-s-400-letter-spacing-narrow` `$sds-font-tabular-s-400-letter-spacing-narrow` | | `font: 400 14px/24px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
437
- | | | |
438
- | **Font Tabular XS** | | |
439
- | _Visual_ | | _Figma Variables_ |
440
- | | | `narrow/fontTabularXs/600` `narrow/fontTabularXs/500` `narrow/fontTabularXs/400` |
441
- | _CSS / SCSS Variables_ | | _Values_ |
442
- | `--sds-font-tabular-xs-600-font-narrow` `$sds-font-tabular-xs-600-font-narrow` `--sds-font-tabular-xs-600-font-variant-numeric-narrow` `$sds-font-tabular-xs-600-font-variant-numeric-narrow` `--sds-font-tabular-xs-600-letter-spacing-narrow` `$sds-font-tabular-xs-600-letter-spacing-narrow` | | `font: 600 13px/20px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
443
- | `--sds-font-tabular-xs-500-font-narrow` `$sds-font-tabular-xs-500-font-narrow` `--sds-font-tabular-xs-500-font-variant-numeric-narrow` `$sds-font-tabular-xs-500-font-variant-numeric-narrow` `--sds-font-tabular-xs-500-letter-spacing-narrow` `$sds-font-tabular-xs-500-letter-spacing-narrow` | | `font: 500 13px/20px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
444
- | `--sds-font-tabular-xs-400-font-narrow` `$sds-font-tabular-xs-400-font-narrow` `--sds-font-tabular-xs-400-font-variant-numeric-narrow` `$sds-font-tabular-xs-400-font-variant-numeric-narrow` `--sds-font-tabular-xs-400-letter-spacing-narrow` `$sds-font-tabular-xs-400-letter-spacing-narrow` | | `font: 400 13px/20px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: 0px;` |
445
- | | | |
446
- | **Font Tabular XXS** | | |
447
- | _Visual_ | | _Figma Variables_ |
448
- | | | `narrow/fontTabularXxs/600` `narrow/fontTabularXxs/500` `narrow/fontTabularXxs/400` |
449
- | _CSS / SCSS Variables_ | | _Values_ |
450
- | `--sds-font-tabular-xxs-600-font-narrow` `$sds-font-tabular-xxs-600-font-narrow` `--sds-font-tabular-xxs-600-font-variant-numeric-narrow` `$sds-font-tabular-xxs-600-font-variant-numeric-narrow` `--sds-font-tabular-xxs-600-letter-spacing-narrow` `$sds-font-tabular-xxs-600-letter-spacing-narrow` | | `font: 600 12px/18px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
451
- | `--sds-font-tabular-xxs-500-font-narrow` `$sds-font-tabular-xxs-500-font-narrow` `--sds-font-tabular-xxs-500-font-variant-numeric-narrow` `$sds-font-tabular-xxs-500-font-variant-numeric-narrow` `--sds-font-tabular-xxs-500-letter-spacing-narrow` `$sds-font-tabular-xxs-500-letter-spacing-narrow` | | `font: 500 12px/18px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
452
- | `--sds-font-tabular-xxs-400-font-narrow` `$sds-font-tabular-xxs-400-font-narrow` `--sds-font-tabular-xxs-400-font-variant-numeric-narrow` `$sds-font-tabular-xxs-400-font-variant-numeric-narrow` `--sds-font-tabular-xxs-400-letter-spacing-narrow` `$sds-font-tabular-xxs-400-letter-spacing-narrow` | | `font: 400 12px/18px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
453
- | | | |
454
- | **Font Tabular XXXS** | | |
455
- | _Visual_ | | _Figma Variables_ |
456
- | | | `narrow/fontTabularXxxs/600` `narrow/fontTabularXxxs/500` `narrow/fontTabularXxxs/400` |
457
- | _CSS / SCSS Variables_ | | _Values_ |
458
- | `--sds-font-tabular-xxxs-600-font-narrow` `$sds-font-tabular-xxxs-600-font-narrow` `--sds-font-tabular-xxxs-600-font-variant-numeric-narrow` `$sds-font-tabular-xxxs-600-font-variant-numeric-narrow` `--sds-font-tabular-xxxs-600-letter-spacing-narrow` `$sds-font-tabular-xxxs-600-letter-spacing-narrow` | | `font: 600 11px/16px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
459
- | `--sds-font-tabular-xxxs-500-font-narrow` `$sds-font-tabular-xxxs-500-font-narrow` `--sds-font-tabular-xxxs-500-font-variant-numeric-narrow` `$sds-font-tabular-xxxs-500-font-variant-numeric-narrow` `--sds-font-tabular-xxxs-500-letter-spacing-narrow` `$sds-font-tabular-xxxs-500-letter-spacing-narrow` | | `font: 500 11px/16px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
460
- | `--sds-font-tabular-xxxs-400-font-narrow` `$sds-font-tabular-xxxs-400-font-narrow` `--sds-font-tabular-xxxs-400-font-variant-numeric-narrow` `$sds-font-tabular-xxxs-400-font-variant-numeric-narrow` `--sds-font-tabular-xxxs-400-letter-spacing-narrow` `$sds-font-tabular-xxxs-400-letter-spacing-narrow` | | `font: 400 11px/16px "Inter", sans-serif;` `font-variant-numeric: tabular-nums;` `letter-spacing: -0.25px;` |
461
-
462
- #### Code
463
-
464
- Use only when referring to code snippets.
465
-
466
- | **Font Code S** | | |
467
- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------------------------------------------------------------------------ |
468
- | _Visual_ | | _Figma Variables_ |
469
- | | | `narrow/fontCodeS/600` `narrow/fontCodeS/500` `narrow/fontCodeS/400` |
470
- | _CSS / SCSS Variables_ | | _Values_ |
471
- | `--sds-font-code-s-600-font-narrow` `$sds-font-code-s-600-font-narrow` `--sds-font-code-s-600-letter-spacing-narrow` `$sds-font-code-s-600-letter-spacing-narrow` | | `font: 600 14px/24px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
472
- | `--sds-font-code-s-500-font-narrow` `$sds-font-code-s-500-font-narrow` `--sds-font-code-s-500-letter-spacing-narrow` `$sds-font-code-s-500-letter-spacing-narrow` | | `font: 500 14px/24px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
473
- | `--sds-font-code-s-400-font-narrow` `$sds-font-code-s-400-font-narrow` `--sds-font-code-s-400-letter-spacing-narrow` `$sds-font-code-s-400-letter-spacing-narrow` | | `font: 400 14px/24px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
474
- | | | |
475
- | **Font Code XS** | | |
476
- | _Visual_ | | _Figma Variables_ |
477
- | | | `narrow/fontCodeXs/600` `narrow/fontCodeXs/500` `narrow/fontCodeXs/400` |
478
- | _CSS / SCSS Variables_ | | _Values_ |
479
- | `--sds-font-code-xs-600-font-narrow` `$sds-font-code-xs-600-font-narrow` `--sds-font-code-xs-600-letter-spacing-narrow` `$sds-font-code-xs-600-letter-spacing-narrow` | | `font: 600 13px/20px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
480
- | `--sds-font-code-xs-500-font-narrow` `$sds-font-code-xs-500-font-narrow` `--sds-font-code-xs-500-letter-spacing-narrow` `$sds-font-code-xs-500-letter-spacing-narrow` | | `font: 500 13px/20px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
481
- | `--sds-font-code-xs-400-font-narrow` `$sds-font-code-xs-400-font-narrow` `--sds-font-code-xs-400-letter-spacing-narrow` `$sds-font-code-xs-400-letter-spacing-narrow` | | `font: 400 13px/20px "IBM Plex Mono", monospace;` `letter-spacing: 0px;` |
482
-
483
- ## Code
484
-
485
- **Using SDS Typography Variables with Tailwind CSS**
486
-
487
- The SDS design tokens for Tailwind are exported via **Style Dictionary** and can be found in the tailwind.json file. These tokens have been updated to adhere to Tailwind’s configuration standards and follow the correct format.
488
-
489
- The typography variables in the sds tailwind.json file are defined as objects with detailed CSS properties, for example:
490
-
491
- ```json
492
- {
493
- "fontFamily": {
494
- "sds-body": "\"Inter\", sans-serif",
495
- ...
496
- },
497
- "fontSize": {
498
- "sds-body-xxxs-400-narrow": "12px",
499
- "sds-body-xxxs-400-wide": "11px",
500
- ...
501
- },
502
- "fontVariantNumeric": {
503
- "sds-body-xxxs-400-narrow": "normal",
504
- "sds-body-xxxs-400-wide": "normal",
505
- ...
506
- },
507
- "letterSpacing": {
508
- "sds-body-xxxs-400-narrow": "0.1px",
509
- "sds-body-xxxs-400-wide": "0.1px",
510
- ...
511
- },
512
- "lineHeight": {
513
- "sds-body-xxxs-400-narrow": "18px",
514
- "sds-body-xxxs-400-wide": "16px",
515
- ...
516
- },
517
- "textTransform": {
518
- "sds-body-xxxs-400-narrow": "none",
519
- "sds-body-xxxs-400-wide": "none",
520
- ...
521
- },
522
- "typography": {
523
- "sds-body-xxxs-400-narrow": {
524
- "css": {
525
- "fontFamily": "Inter, sans-serif",
526
- "fontSize": "12px",
527
- "fontStyle": "normal",
528
- "fontVariantNumeric": "normal",
529
- "fontWeight": "400",
530
- "letterSpacing": "0.1px",
531
- "lineHeight": "18px",
532
- "textTransform": "none"
533
- }
534
- },
535
- ...
536
- }
537
- }
538
- ```
539
-
540
- **Using Font Variables**
541
-
542
- To use these variables, import them into your Tailwind configuration file.
543
-
544
- ```js
545
- const sds = require("@czi-sds/components/dist/tailwind.json");
546
-
547
- module.exports = {
548
- theme: {
549
- extend: {
550
- fontFamily: sds.fontFamily,
551
- fontSize: sds.fontSize,
552
- lineHeight: sds.lineHeight,
553
- letterSpacing: sds.letterSpacing,
554
- textTransform: sds.textTransform,
555
- ...
556
- },
557
- },
558
- };
559
- ```
560
-
561
- and use them within the tailwind classes to achieve the desired typography styles:
562
-
563
- ```tsx
564
- <div class="font-sds-header text-sds-header-l-600-wide leading-sds-header-l-600-wide">
565
- <p>This text uses the SDS header style.</p>
566
- </div>
567
- ```
568
-
569
- **Using Typography Styles**
570
-
571
- Each typography variable includes properties such as fontFamily, fontSize, lineHeight, and others to define a complete typographic style.
572
-
573
- To utilize SDS typography variables in your Tailwind CSS setup, follow these steps:
574
-
575
- 1. **Set Up Your Tailwind Configuration**
576
-
577
- To integrate SDS typography variables, import the tailwind.json file from SDS into your tailwind.config.js file:
578
-
579
- ```js
580
- const sds = require("@czi-sds/components/dist/tailwind.json");
581
- const typography = require("@tailwindcss/typography");
582
-
583
- module.exports = {
584
- theme: {
585
- extend: {
586
- typography: sds.typography, // Add the imported typography variables
587
- },
588
- },
589
- plugins: [typography], // Ensure the typography plugin is included
590
- };
591
- ```
592
-
593
- 1. **Apply SDS Typography in Components**
594
-
595
- Once the typography variables are integrated, you can apply them in your components using Tailwind’s prose class. To apply a specific SDS typography style, use the corresponding `prose-*` variant:
596
-
597
- ```tsx
598
- <div class="prose prose-sds-body-xxxs-400-narrow">
599
- <p>This text uses the custom typography style for narrow body text.</p>
600
- </div>
601
- ```
602
-
603
- ---
604
-
605
- Typography encompasses font style, appearance, and structure which together deliver a consistent aesthetic while providing easily readable copy.
606
-
607
- ### Typefaces
608
-
609
- Barlow is the primary typeface to be used throughout the product. JetBrains Mono should only be used when referring to code snippets.
610
-
611
- | **Visual** | | **Typeface** | | **Usage** |
612
- | ---------- | --- | -------------------- | --- | --------------------------------------------------------------------------------------------- |
613
- | | | Barlow (600) | | All headers and emphasized body copy throughout the product. |
614
- | | | Barlow (500) | | All text used in sidebars. |
615
- | | | Barlow (400) | | All body copy throughout the product. If emphasized copy is needed, use a font weight of 600. |
616
- | | | JetBrains Mono (400) | | Use only when referring to code snippets. |
617
-
618
- ### Font Weights
619
-
620
- Regular (400), Medium (500), and SemiBold (600) are the three font weights primarily used across the product, however additional font weights are available to be selectively used if needed.
621
-
622
- | **Visual** | | **Variable** | | **Value** |
623
- | ---------- | --- | -------------------- | --- | ------------------- |
624
- | | | `fontWeightHeavy` | | `font-weight: 800;` |
625
- | | | `fontWeightBold` | | `font-weight: 700;` |
626
- | | | `fontWeightSemibold` | | `font-weight: 600;` |
627
- | | | `fontWeightMedium` | | `font-weight: 500;` |
628
- | | | `fontWeightRegular` | | `font-weight: 400;` |
629
- | | | `fontWeightThin` | | `font-weight: 300;` |
630
-
631
- ### Header Variables
632
-
633
- The width of the user's screen will determine the font values used for any given variable. Wide screens are 495px or wider; narrow screens are 494px or narrower.
634
-
635
- | **Visual** | | **Variable** | | **Wide screens (≥495px)** | | **Narrow screens (<494px)** |
636
- | ---------- | --- | ------------ | --- | ---------------------------------------------------------------------------- | --- | ---------------------------------------------------------------------------- |
637
- | | | `siteTitle` | | `font-size: 51px;` `line-height: 63.8px;` `font-weight: fontWeightSemibold;` | | `font-size: 35px;` `line-height: 43.8px;` `font-weight: fontWeightSemibold;` |
638
- | | | `h1` | | `font-size: 35px;` `line-height: 43.8px;` `font-weight: fontWeightSemibold;` | | `font-size: 24px;` `line-height: 38px;` `font-weight: fontWeightSemibold;` |
639
- | | | `h2` | | `font-size: 24px;` `line-height: 36px;` `font-weight: fontWeightSemibold;` | | `font-size: 20px;` `line-height: 27px;` `font-weight: fontWeightSemibold;` |
640
- | | | `h3` | | `font-size: 20px;` `line-height: 27px;` `font-weight: fontWeightSemibold;` | | `font-size: 18px;` `line-height: 26px;` `font-weight: fontWeightSemibold;` |
641
- | | | `h4` | | `font-size: 17px;` `line-height: 24px;` `font-weight: fontWeightSemibold;` | | `font-size: 16px;` `line-height: 23px;` `font-weight: fontWeightSemibold;` |
642
- | | | `h5` | | `font-size: 14px;` `line-height: 21px;` `font-weight: fontWeightSemibold;` | | `font-size: 14px;` `line-height: 21px;` `font-weight: fontWeightSemibold;` |
643
- | | | `h6` | | `font-size: 12px;` `line-height: 18px;` `font-weight: fontWeightSemibold;` | | `font-size: 12px;` `line-height: 18px;` `font-weight: fontWeightSemibold;` |
644
-
645
- ### Code Variables
646
-
647
- The width of the user's screen will determine the font values used for any given variable. Wide screens are 495px or wider; narrow screens are 494px or narrower.
648
-
649
- | **Visual** | | **Variable** | | **Wide screens (≥495px)** | | **Narrow screens (<494px)** |
650
- | ---------- | --- | ------------ | --- | ------------------------------------------------------------------------- | --- | --------------------------------------------------------------------------- |
651
- | | | `code` | | `font-size: 16px;` `line-height: 28px;` `font-weight: fontWeightRegular;` | | `font-size: 10px;` `line-height: 19.3px;` `font-weight: fontWeightRegular;` |
652
-
653
- ### Sidebar Variables
654
-
655
- The width of the user's screen will determine the font values used for any given variable. Wide screens are 495px or wider; narrow screens are 494px or narrower.
656
-
657
- | **Visual** | | **Variable** | | **Wide screens (≥595px)** | | **Narrow screens (<594px)** |
658
- | ---------- | --- | ------------------- | --- | --------------------------------------------------------------------------------------------------------- | --- | --------------------------------------------------------------------------------------------------------- |
659
- | | | `fontSidebarHeader` | | `font-size: 17px;` `line-height: 29.8px;` `font-weight: fontWeightSemibold;` `text-transform: uppercase;` | | `font-size: 11px;` `line-height: 20.4px;` `font-weight: fontWeightSemibold;` `text-transform: uppercase;` |
660
- | | | `fontSidebarText` | | `font-size: 14px;` `line-height: 24.5px;` `font-weight: fontWeightMedium;` | | `font-size: 9px;` `line-height: 15.8px;` `font-weight: fontWeightMedium;` |
661
- | | | `fontSidebarCode` | | `font-size: 13px;` `line-height: 24.5px;` `font-weight: fontWeightMedium;` | | `font-size: 8.5px;` `line-height: 15.8px;` `font-weight: fontWeightMedium;` |
662
-
663
- ### Body Variables
664
-
665
- The same type variables are used for body fonts on both wide and narrow screen widths. For this reason, screen width does not alter the font values used; simply use the variable corresponding to the font size needed.
666
-
667
- `BodyM` is the primary font used for wide screens (495px and wider); `bodyS` is the primary font used for narrow screens (494px and narrower).
668
-
669
- > **Warning:** `bodyXxs` is being deprecated and should not be used in new designs moving forward.
670
-
671
- | **Visual** | | **Variable** | | **Value** |
672
- | ---------- | --- | ------------ | --- | --------------------------------------------------------------------------- |
673
- | | | `bodyM` | | `font-size: 17px;` `line-height: 25.5px;` `font-weight: fontWeightRegular;` |
674
- | | | `bodyS` | | `font-size: 14px;` `line-height: 17.5px;` `font-weight: fontWeightRegular;` |
675
- | | | `bodyXs` | | `font-size: 12px;` `line-height: 16.5px;` `font-weight: fontWeightRegular;` |
676
- | | | `bodyXxs` | | `font-size: 9px;` `line-height: 15.8px;` `font-weight: fontWeightRegular;` |
677
-
678
- ---
679
-
680
- Typography encompasses font style, appearance, and structure which together deliver a consistent aesthetic while providing easily readable copy.
681
-
682
- ### Typefaces
683
-
684
- Open Sans is the primary typeface to be used throughout product and marketing materials. Andale Mono should only be used when referring to code snippets.
685
-
686
- | **Visual** | | **Typeface** | | **Usage** |
687
- | ---------- | --- | ----------------- | --- | --------------------------------------------------------------------------------------------------------------------- |
688
- | | | Open Sans (600) | | All headers throughout the product and marketing materials and emphasized body copy. |
689
- | | | Open Sans (400) | | All body copy throughout the product and marketing materials. If emphasized copy is needed, use a font weight of 600. |
690
- | | | Andale Mono (400) | | Use only when referring to code snippets. |
691
-
692
- ### Font Weights
693
-
694
- Regular (400) and SemiBold (600) are the two font weights primarily used across the product, however additional font weights are available to be selectively used if needed.
695
-
696
- | **Visual** | | **Variable** | | **Value** |
697
- | ---------- | --- | -------------------- | --- | ------------------- |
698
- | | | `fontWeightHeavy` | | `font-weight: 800;` |
699
- | | | `fontWeightBold` | | `font-weight: 700;` |
700
- | | | `fontWeightSemibold` | | `font-weight: 600;` |
701
- | | | `fontWeightRegular` | | `font-weight: 400;` |
702
- | | | `fontWeightThin` | | `font-weight: 300;` |
703
-
704
- ### Header Variables
705
-
706
- <H1>, <H2>, <H3>, <H4>, <H5>, <H6>
707
-
708
- | **Visual** | | **Variable** | | **Value** |
709
- | ---------- | --- | ---------------- | --- | --------------------------------------------------------------------------------------------------- |
710
- | | | `fontHeaderXxl` | | `font-size: 26px;` `line-height: 34px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
711
- | | | `fontHeaderXl` | | `font-size: 22px;` `line-height: 30px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
712
- | | | `fontHeaderL` | | `font-size: 18px;` `line-height: 24px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
713
- | | | `fontHeaderM` | | `font-size: 16px;` `line-height: 22px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
714
- | | | `fontHeaderS` | | `font-size: 14px;` `line-height: 20px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
715
- | | | `fontHeaderXs` | | `font-size: 13px;` `line-height: 18px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
716
- | | | `fontHeaderXxs` | | `font-size: 12px;` `line-height: 18px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
717
- | | | `fontHeaderXxxs` | | `font-size: 11px;` `line-height: 16px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
718
-
719
- ### Body Variables
720
-
721
- <p>
722
-
723
- | **Visual** | | **Variable** | | **Value** |
724
- | ---------- | --- | -------------- | --- | -------------------------------------------------------------------------------------------------- |
725
- | | | `fontBodyL` | | `font-size: 18px;` `line-height: 28px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
726
- | | | `fontBodyM` | | `font-size: 16px;` `line-height: 26px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
727
- | | | `fontBodyS` | | `font-size: 14px;` `line-height: 24px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
728
- | | | `fontBodyXs` | | `font-size: 13px;` `line-height: 20px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
729
- | | | `fontBodyXxs` | | `font-size: 12px;` `line-height: 18px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
730
- | | | `fontBodyXxxs` | | `font-size: 11px;` `line-height: 16px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
731
-
732
- ### All Caps Variables
733
-
734
- | **Visual** | | **Variable** | | **Value** |
735
- | ---------- | --- | --------------- | --- | ------------------------------------------------------------------------------------------------------------------------------ |
736
- | | | `fontCapsXxs` | | `font-size: 12px;` `line-height: 18px;` `letter-spacing: 1px;` `font-weight: fontWeightSemibold;` `text-transform: uppercase;` |
737
- | | | `fontCapsXxxs` | | `font-size: 11px;` `line-height: 16px;` `letter-spacing: 1px;` `font-weight: fontWeightSemibold;` `text-transform: uppercase;` |
738
- | | | `fontCapsXxxxs` | | `font-size: 10px;` `line-height: 14px;` `letter-spacing: 1px;` `font-weight: fontWeightSemibold;` `text-transform: uppercase;` |
739
-
740
- ---
741
-
742
- Typography encompasses font style, appearance, and structure which together deliver a consistent aesthetic while providing easily readable copy.
743
-
744
- ### Typefaces
745
-
746
- Open Sans is the primary typeface to be used throughout product and marketing materials. Andale Mono should only be used when referring to code snippets.
747
-
748
- | **Visual** | | **Typeface** | | **Usage** |
749
- | ---------- | --- | ----------------- | --- | --------------------------------------------------------------------------------------------------------------------- |
750
- | | | Open Sans (600) | | All headers throughout the product and marketing materials and emphasized body copy. |
751
- | | | Open Sans (400) | | All body copy throughout the product and marketing materials. If emphasized copy is needed, use a font weight of 600. |
752
- | | | Andale Mono (400) | | Use only when referring to code snippets. |
753
-
754
- ### Font Weights
755
-
756
- Regular (400) and SemiBold (600) are the two font weights primarily used across the product, however additional font weights are available to be selectively used if needed.
757
-
758
- | **Visual** | | **Variable** | | **Value** |
759
- | ---------- | --- | -------------------- | --- | ------------------- |
760
- | | | `fontWeightHeavy` | | `font-weight: 800;` |
761
- | | | `fontWeightBold` | | `font-weight: 700;` |
762
- | | | `fontWeightSemibold` | | `font-weight: 600;` |
763
- | | | `fontWeightRegular` | | `font-weight: 400;` |
764
- | | | `fontWeightThin` | | `font-weight: 300;` |
765
-
766
- ### Header Variables
767
-
768
- <H1>, <H2>, <H3>, <H4>, <H5>, <H6>
769
-
770
- | **Visual** | | **Variable** | | **Value** |
771
- | ---------- | --- | ---------------- | --- | --------------------------------------------------------------------------------------------------- |
772
- | | | `fontHeaderXxl` | | `font-size: 26px;` `line-height: 34px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
773
- | | | `fontHeaderXl` | | `font-size: 22px;` `line-height: 30px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
774
- | | | `fontHeaderL` | | `font-size: 18px;` `line-height: 24px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
775
- | | | `fontHeaderM` | | `font-size: 16px;` `line-height: 22px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
776
- | | | `fontHeaderS` | | `font-size: 14px;` `line-height: 20px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
777
- | | | `fontHeaderXs` | | `font-size: 13px;` `line-height: 18px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
778
- | | | `fontHeaderXxs` | | `font-size: 12px;` `line-height: 18px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
779
- | | | `fontHeaderXxxs` | | `font-size: 11px;` `line-height: 16px;` `letter-spacing: 0.3px;` `font-weight: fontWeightSemibold;` |
780
-
781
- ### Body Variables
782
-
783
- <p>
784
-
785
- | **Visual** | | **Variable** | | **Value** |
786
- | ---------- | --- | -------------- | --- | -------------------------------------------------------------------------------------------------- |
787
- | | | `fontBodyL` | | `font-size: 18px;` `line-height: 28px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
788
- | | | `fontBodyM` | | `font-size: 16px;` `line-height: 26px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
789
- | | | `fontBodyS` | | `font-size: 14px;` `line-height: 24px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
790
- | | | `fontBodyXs` | | `font-size: 13px;` `line-height: 20px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
791
- | | | `fontBodyXxs` | | `font-size: 12px;` `line-height: 18px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
792
- | | | `fontBodyXxxs` | | `font-size: 11px;` `line-height: 16px;` `letter-spacing: 0.3px;` `font-weight: fontWeightRegular;` |
793
-
794
- ### All Caps Variables
795
-
796
- | **Visual** | | **Variable** | | **Value** |
797
- | ---------- | --- | --------------- | --- | ------------------------------------------------------------------------------------------------------------------------------ |
798
- | | | `fontCapsXxs` | | `font-size: 12px;` `line-height: 18px;` `letter-spacing: 1px;` `font-weight: fontWeightSemibold;` `text-transform: uppercase;` |
799
- | | | `fontCapsXxxs` | | `font-size: 11px;` `line-height: 16px;` `letter-spacing: 1px;` `font-weight: fontWeightSemibold;` `text-transform: uppercase;` |
800
- | | | `fontCapsXxxxs` | | `font-size: 10px;` `line-height: 14px;` `letter-spacing: 1px;` `font-weight: fontWeightSemibold;` `text-transform: uppercase;` |