angular-material-css-vars
Advanced tools
Comparing version
{ | ||
"name": "angular-material-css-vars", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Little library to use css variables for @angular/material", | ||
@@ -5,0 +5,0 @@ "author": "johannesjo <contact@super-productivity.com> (http://super-productivity.com)", |
@@ -172,3 +172,3 @@ <p align="center"><img alt="logo" src="logo.png"></p> | ||
## Font config | ||
If needed the typography can be adjusted as well. | ||
If needed the typography can be adjusted as well. You can introduce your own CSS variables, if you wish. | ||
```scss | ||
@@ -180,2 +180,3 @@ @use 'angular-material-css-vars' as mat-css-vars; | ||
$custom-typography: mat.define-typography-config( | ||
// optionally, you introduce your own CSS variables: `$font-family: var(--my-custom-font-family)` | ||
$font-family: 'Roboto, monospace', | ||
@@ -182,0 +183,0 @@ $headline: mat.define-typography-level(32px, 48px, 700), |
Sorry, the diff of this file is not supported yet
195034
4.17%217
0.46%