From 9634e6f3bccabbc1bf2c59dc283abd283d00946d Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Thu, 2 May 2024 11:11:01 -0600 Subject: [PATCH] chore(docs): use admonitions --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df748c78..9d01ccb2 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,8 @@ We use a similar approach as many other icon sets out there, providing icons as ``` -> **Note:** You can import as many or as few weights as needed. Only imported weights will match and render as icons. +> [!NOTE] +> You can import as many or as few weights as needed. Only imported weights will match and render as icons. ### Weights @@ -66,7 +67,8 @@ If you intend to use all 6 weights, they can be made available by including the ``` -> **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. +> [!WARNING] +> 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. ### Modules @@ -102,7 +104,8 @@ Since the icons are just text under the hood, they can be colored and styled wit ``` -> **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. +> [!WARNING] +> 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.