@fusion.dev/helix-docs 0.237.3 → 0.238.1
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.
- package/content/metrics.mdx +256 -256
- package/content/recipes.mdx +2 -2
- package/content/typography.mdx +4 -0
- package/dist/sources.generated.js +262 -258
- package/package.json +12 -12
package/content/recipes.mdx
CHANGED
|
@@ -131,10 +131,10 @@ which costs less.
|
|
|
131
131
|
In prose:
|
|
132
132
|
|
|
133
133
|
- Headings use the type scale.
|
|
134
|
-
- Paragraphs use the
|
|
134
|
+
- Paragraphs use the leading and fill their column.
|
|
135
135
|
- Lists, links, and inline code follow the same styles.
|
|
136
136
|
- `data-prose="reading"` sets a document at 18px for reading, with more room
|
|
137
|
-
between blocks.
|
|
137
|
+
between blocks and lines that stop at 34em.
|
|
138
138
|
|
|
139
139
|
See [Typography](./typography).
|
|
140
140
|
|
package/content/typography.mdx
CHANGED
|
@@ -147,6 +147,10 @@ the space around headings in your own stylesheet:
|
|
|
147
147
|
}
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
+
**Prose fills its column.** `data-prose` sets no measure, so a paragraph is as
|
|
151
|
+
wide as the column it sits in. Set the measure on the column, as a Chat and an
|
|
152
|
+
Editor do, or use `reading`.
|
|
153
|
+
|
|
150
154
|
**Set a document for reading with `data-prose="reading"`.** The default size
|
|
151
155
|
is 14px, which suits a reply in a chat bubble or a note in a panel. A
|
|
152
156
|
documentation page or an article reads better larger:
|