Skip to content

Commit 9634e6f

Browse files
committed
chore(docs): use admonitions
1 parent 77e5691 commit 9634e6f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ We use a similar approach as many other icon sets out there, providing icons as
3737
</html>
3838
```
3939

40-
> **Note:** You can import as many or as few weights as needed. Only imported weights will match and render as icons.
40+
> [!NOTE]
41+
> You can import as many or as few weights as needed. Only imported weights will match and render as icons.
4142
4243
### Weights
4344

@@ -66,7 +67,8 @@ If you intend to use all 6 weights, they can be made available by including the
6667
<i class="ph ph-sunglasses"></i>
6768
```
6869

69-
> **NOTE:** Though assets will be cached for subsequent loads, this will bring in around 3MB of fonts and CSS, and may have impact on page load speed.
70+
> [!WARNING]
71+
> Though assets will be cached for subsequent loads, this will bring in around 3MB of fonts and CSS, and may have impact on page load speed.
7072
7173
### Modules
7274

@@ -102,7 +104,8 @@ Since the icons are just text under the hood, they can be colored and styled wit
102104
<i class="ph-bold ph-skull green"></i>
103105
```
104106

105-
> **Note:** Overriding the `font-family`, `font-style`, `font-weight`, `font-variant`, or `text-transform` may break the icons and render unprintable characters. Don't do it. Additionally, all weights use the `:before` pseudoelement to inject the font glyph, so overriding this property in icon classes can break them. The `duotone` weight also uses the `:after` pseudoelement, so it is best not to modify either when styling icons.
107+
> [!WARNING]
108+
> Overriding the `font-family`, `font-style`, `font-weight`, `font-variant`, or `text-transform` may break the icons and render unprintable characters. Don't do it. Additionally, all weights use the `:before` pseudoelement to inject the font glyph, so overriding this property in icon classes can break them. The `duotone` weight also uses the `:after` pseudoelement, so it is best not to modify either when styling icons.
106109
107110
<!-- ### Ligatures
108111

0 commit comments

Comments
 (0)