1 | @mixin covalent-user-profile-theme($theme, $config: null) {
|
2 | @include td-user-profile-typography($config);
|
3 | @include td-user-profile-theme($theme);
|
4 | }
|
5 |
|
6 | @mixin td-user-profile-typography($config: null) {
|
7 | @if $config == null {
|
8 | $config: td-typography-config();
|
9 | }
|
10 |
|
11 | td-user-profile-menu {
|
12 | .mat-list-base .mat-list-item .mat-line:nth-child(n + 2) {
|
13 | font: mat.get-theme-typography($config, caption);
|
14 | }
|
15 | }
|
16 | }
|
17 |
|
18 | @mixin td-user-profile-theme($theme) {
|
19 | $foreground: map-get($theme, foreground);
|
20 | $secondary-text: map-get($foreground, secondary-text);
|
21 |
|
22 | td-user-profile-menu {
|
23 | .mat-list-base .mat-list-item .mat-line:nth-child(n + 2) {
|
24 | color: $secondary-text;
|
25 | }
|
26 | }
|
27 | }
|