Kaynağa Gözat

Fix unpkg links to static-files icons

Add links for both outline and filled version.
Bartłomiej Gawęda 8 ay önce
ebeveyn
işleme
5625adc659

+ 11 - 1
docs/icons/static-files/png.mdx

@@ -15,6 +15,16 @@ All PNG files are stored in `icons` subdirectory.
 
 ## CDN
 
+Replace `$ICONS_VERSION` with `latest` or any specific version you need.
+
+#### Outline version
+
+```html
+<img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/outline/home.png" />
+```
+
+#### Filled version
+
 ```html
-<img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/home.png" />
+<img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/filled/home.png" />
 ```

+ 11 - 1
docs/icons/static-files/svg.mdx

@@ -70,6 +70,16 @@ Add an icon to be displayed on your page with the following markup (`activity` i
 
 ## CDN
 
+Replace `$ICONS_VERSION` with `latest` or any specific version you need.
+
+#### Outline version
+
+```html
+<img src="https://unpkg.com/@tabler/icons@$ICONS_VERSION/icons/outline/home.svg" />
+```
+
+#### Filled version
+
 ```html
-<img src="https://unpkg.com/@tabler/icons@$ICONS_VERSION/icons/home.svg" />
+<img src="https://unpkg.com/@tabler/icons@$ICONS_VERSION/icons/filled/home.svg" />
 ```