You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
<imgsrc="packages/site/static/header-transparent.png"alt="Svelte Material UI" />
3
3
</div>
4
4
5
-
A library of Svelte Material UI components, based on [Material Design Components - Web](https://material.io/develop/web/).
5
+
A library of Svelte Material UI components, based on [Material Design Components - Web](https://github.com/material-components/material-components-web).
6
6
7
-
# Demos and Code Samples
7
+
# Demos, Code Samples, and Guides
8
8
9
9
https://sveltematerialui.com
10
10
@@ -65,11 +65,13 @@ You can include icons in a number of ways, but the easiest is the [Material Icon
65
65
66
66
However, there are two downsides. First is that all icons are downloaded, no matter which ones you use, so the size over the wire will almost certainly be more than necessary. Second is that it _only_ includes the Material Icons from Google.
67
67
68
-
Another option is the [Material Design Icons library](https://materialdesignicons.com/). See the "Using SVGs" demo on the [Icon Button demo page](https://sveltematerialui.com/demo/icon-button) for instructions to use icons from the `@mdi/js` package (or any other SVG icons).
68
+
Another option is the [Material Design Icons library](https://pictogrammers.com/library/mdi/). See the "Using SVGs" demo on the [Icon Button demo page](https://sveltematerialui.com/demo/icon-button) for instructions to use icons from the `@mdi/js` package (or any other SVG icons).
69
69
70
70
You can even use them in data URLs: [](https://www.youtube.com/watch?v=vo9Fja5x04o)
71
71
72
-
1.[Find your icon](https://materialdesignicons.com/) and click "View SVG" under the code menu.
72
+
To get a data URL for the icon:
73
+
74
+
1.[Find your icon](https://pictogrammers.com/library/mdi/) and click "View SVG" under the code menu.
73
75
2. Click the "SVG File" tab and copy the full SVG document.
74
76
3.[Base64 encode](https://www.base64encode.org/) the document.
75
77
4. Format the URL like this `data:image/svg+xml;base64,encodedcontent`, replacing "encodedcontent" with the Base64 results.
@@ -80,13 +82,15 @@ You can even use them in data URLs: [
0 commit comments