Skip to content

Commit a50b079

Browse files
docs(usage): update stroke weight to width (#29)
closes ionic-team/ionicons#775
1 parent 617540f commit a50b079

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/usage-page/content.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ export default function (version: string, name = "heart", suffix = "") {
116116
}`
117117
)}
118118

119-
<h2>Stroke weight</h2>
119+
<h2>Stroke width</h2>
120120
<p>
121121
When using an <code>outline</code> icon variant it is possible to adjust
122-
the stroke weight, for improved visual balance relative to the icon's
123-
size or relative to the weight of adjacent text. You can set a specific
124-
size by applying the <code>--ionicon-stroke-weight</code> CSS custom
122+
the stroke width, for improved visual balance relative to the icon's
123+
size or relative to the width of adjacent text. You can set a specific
124+
size by applying the <code>--ionicon-stroke-width</code> CSS custom
125125
property to the <code>ion-icon</code> component. The default value is{" "}
126-
<code>32px</code>
126+
<code>32px</code>.
127127
</p>
128128
{highlight(`<ion-icon name="${advancedUsageName}-outline"></ion-icon>`)}
129129
{highlight(

0 commit comments

Comments
 (0)