@fontsource-variable/material-symbols-outlined 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -13
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Fontsource Material Symbols Outlined
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@fontsource/material-symbols-outlined) [](https://github.com/fontsource/fontsource) [](https://github.com/fontsource/fontsource) [](https://github.com/fontsource/fontsource) [](https://github.com/fontsource/fontsource/stargazers)
|
|
3
|
+
[](https://www.npmjs.com/package/@fontsource-variable/material-symbols-outlined) [](https://github.com/fontsource/fontsource) [](https://github.com/fontsource/fontsource) [](https://github.com/fontsource/fontsource) [](https://github.com/fontsource/fontsource/stargazers)
|
|
4
4
|
|
|
5
|
-
The CSS and web font files to easily self-host the “Material Symbols Outlined” font. Please visit the main [Fontsource website](https://fontsource.org/fonts/material-symbols-outlined) to view more details on this package.
|
|
5
|
+
The CSS and web font files to easily self-host the “Material Symbols Outlined” variable font. Please visit the main [Fontsource website](https://fontsource.org/fonts/material-symbols-outlined) to view more details on this package.
|
|
6
6
|
|
|
7
7
|
## Quick Installation
|
|
8
8
|
|
|
9
|
-
Fontsource
|
|
9
|
+
Fontsource offers multiple methods to import the CSS, including using a bundler like Vite or using SASS. You can find full documentation [here](https://fontsource.org/docs/getting-started/introduction).
|
|
10
10
|
|
|
11
11
|
```javascript
|
|
12
12
|
npm install @fontsource-variable/material-symbols-outlined
|
|
@@ -18,7 +18,6 @@ Within your app entry file or site component, import it in.
|
|
|
18
18
|
import "@fontsource-variable/material-symbols-outlined"; // Defaults to wght axis
|
|
19
19
|
import "@fontsource-variable/material-symbols-outlined/wght.css"; // Specify axis
|
|
20
20
|
import "@fontsource-variable/material-symbols-outlined/wght-italic.css"; // Specify axis and style
|
|
21
|
-
|
|
22
21
|
```
|
|
23
22
|
|
|
24
23
|
Supported variables:
|
|
@@ -27,26 +26,23 @@ Supported variables:
|
|
|
27
26
|
- Subsets: `[latin]`
|
|
28
27
|
- Axes: `[FILL,wght,GRAD,opsz]`
|
|
29
28
|
|
|
29
|
+
> Note: `italic` may not be supported by all fonts. To learn more about what axes and styles are supported, please visit the [Fontsource website](https://fontsource.org/fonts/material-symbols-outlined).
|
|
30
|
+
|
|
30
31
|
Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS.
|
|
31
32
|
|
|
32
33
|
```css
|
|
33
34
|
body {
|
|
34
|
-
font-family: "Material Symbols Outlined";
|
|
35
|
+
font-family: "Material Symbols Outlined Variable";
|
|
35
36
|
}
|
|
36
37
|
```
|
|
37
38
|
|
|
38
|
-
## Variable Fonts
|
|
39
|
-
|
|
40
|
-
This particular typeface supports [variable fonts](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide).
|
|
41
|
-
Variable documentation can be found [here](https://fontsource.org/docs/getting-started/variable).
|
|
42
|
-
|
|
43
39
|
## Licensing
|
|
44
|
-
|
|
45
|
-
Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0.
|
|
40
|
+
Always make sure to read the license for each font you use. Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0.
|
|
46
41
|
|
|
47
42
|
Copyright 2022, 2022 Google LLC. All Rights Reserved.
|
|
48
43
|
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
|
|
49
44
|
|
|
50
45
|
## Other Notes
|
|
51
46
|
Font version (provided by source): `v108`.
|
|
52
|
-
|
|
47
|
+
|
|
48
|
+
If you have any suggestions or ideas to improve the performance of font loading or expand the existing library, feel free to star and contribute to this repository. You can share your suggestions or ideas by creating an [issue](https://github.com/fontsource/fontsource/issues).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fontsource-variable/material-symbols-outlined",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Self-host the Material Symbols Outlined font in a neatly bundled NPM package.",
|
|
5
5
|
"main": "index.css",
|
|
6
6
|
"publishConfig": {"access": "public"},
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"url": "https://github.com/fontsource/font-files.git",
|
|
27
27
|
"directory": "fonts/variable/material-symbols-outlined"
|
|
28
28
|
},
|
|
29
|
-
"publishHash": "
|
|
29
|
+
"publishHash": "92dc232336548b6b"
|
|
30
30
|
}
|