@dangl/angular-material-shared 2.4.0-beta0050 → 2.4.0-beta0056
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 +12 -0
- package/package.json +1 -1
- package/styles/material-theme.scss +0 -2
package/README.md
CHANGED
|
@@ -34,6 +34,18 @@ To access color variables, you can add this import to any file:
|
|
|
34
34
|
$color-dark: #3b4c55;
|
|
35
35
|
$color-light: #bdbdbd;
|
|
36
36
|
|
|
37
|
+
### Fonts
|
|
38
|
+
|
|
39
|
+
The package also includes the `Roboto` font, which is the default font for Angular Material. To use it, add this import to your global `styles.scss` file:
|
|
40
|
+
|
|
41
|
+
@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);
|
|
42
|
+
|
|
43
|
+
### Icons
|
|
44
|
+
|
|
45
|
+
The package includes the `Material Icons` font. To use it, add this import to your global `styles.scss` file:
|
|
46
|
+
|
|
47
|
+
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
|
48
|
+
|
|
37
49
|
### Errors During SCSS Import
|
|
38
50
|
|
|
39
51
|
Since Angular 13, importing styles via the SASS-Loaded from `node_modules` has been disabled, so you need to update the `angular.json` file with the following snippet at the `projects:PROJECT_NAME:architect:build:options` path:
|
package/package.json
CHANGED