|
67 | 67 | /// Design spec implementation (MDC Web). All arguments are optional, but may be passed to override
|
68 | 68 | /// the default values. The `mat-typography-level` function can be used to generate a custom
|
69 | 69 | /// typography level map which can be passed to this function to override one of the default levels.
|
70 |
| -/// All default typography sizing generated by this function is in `rem` units. |
| 70 | +/// All default typography sizing generated by this function is in `px` units. |
71 | 71 | ///
|
72 | 72 | /// @param {String} $font-family The font family to use for levels where it is not explicitly
|
73 | 73 | /// specified.
|
|
85 | 85 | /// @param {Map} $button The font settings for the button font level.
|
86 | 86 | /// @param {Map} $overline The font settings for the overline font level.
|
87 | 87 | /// @return {Map} A map containing font settings for each of the levels in the Material Design spec.
|
88 |
| -@function define-rem-typography-config( |
| 88 | +@function define-typography-config( |
89 | 89 | // TODO(mmalerba): rename this function to define-typography-config,
|
90 | 90 | // and create a predefined px based config for people that need it.
|
91 | 91 | $font-family: mdc-typography.$font-family,
|
|
137 | 137 | /// Design spec implementation (MDC Web). All arguments are optional, but may be passed to override
|
138 | 138 | /// the default values. The `mat-typography-level` function can be used to generate a custom
|
139 | 139 | /// typography level map which can be passed to this function to override one of the default levels.
|
140 |
| -/// All default typography sizing generated by this function is in `px` units. |
| 140 | +/// All default typography sizing generated by this function is in `rem` units. |
141 | 141 | ///
|
142 | 142 | /// @param {String} $font-family The font family to use for levels where it is not explicitly
|
143 | 143 | /// specified.
|
|
155 | 155 | /// @param {Map} $button The font settings for the button font level.
|
156 | 156 | /// @param {Map} $overline The font settings for the overline font level.
|
157 | 157 | /// @return {Map} A map containing font settings for each of the levels in the Material Design spec.
|
158 |
| -@function define-typography-config( |
| 158 | +@function define-rem-typography-config( |
159 | 159 | // TODO(mmalerba): rename this function to define-typography-config,
|
160 | 160 | // and create a predefined px based config for people that need it.
|
161 | 161 | $font-family: mdc-typography.$font-family,
|
|
0 commit comments