|
8 | 8 | @use '../core/tokens/m2/mat/card' as tokens-mat-card; |
9 | 9 | @use '../core/tokens/m2/mat/elevated-card' as tokens-mat-elevated-card; |
10 | 10 | @use '../core/tokens/m2/mat/outlined-card' as tokens-mat-outlined-card; |
| 11 | +@use '../core/tokens/m2/mat/filled-card' as tokens-mat-filled-card; |
11 | 12 |
|
12 | 13 | @mixin base($theme) { |
13 | 14 | @if inspection.get-theme-version($theme) == 1 { |
|
22 | 23 | tokens-mat-outlined-card.$prefix, |
23 | 24 | tokens-mat-outlined-card.get-unthemable-tokens() |
24 | 25 | ); |
| 26 | + @include token-utils.create-token-values-mixed( |
| 27 | + tokens-mat-filled-card.$prefix, |
| 28 | + tokens-mat-filled-card.get-unthemable-tokens() |
| 29 | + ); |
25 | 30 | @include token-utils.create-token-values-mixed( |
26 | 31 | tokens-mat-card.$prefix, |
27 | 32 | tokens-mat-card.get-unthemable-tokens() |
|
43 | 48 | tokens-mat-outlined-card.$prefix, |
44 | 49 | tokens-mat-outlined-card.get-color-tokens($theme) |
45 | 50 | ); |
| 51 | + @include token-utils.create-token-values-mixed( |
| 52 | + tokens-mat-filled-card.$prefix, |
| 53 | + tokens-mat-filled-card.get-color-tokens($theme) |
| 54 | + ); |
46 | 55 | @include token-utils.create-token-values-mixed( |
47 | 56 | tokens-mat-card.$prefix, |
48 | 57 | tokens-mat-card.get-color-tokens($theme) |
|
64 | 73 | tokens-mat-outlined-card.$prefix, |
65 | 74 | tokens-mat-outlined-card.get-typography-tokens($theme) |
66 | 75 | ); |
| 76 | + @include token-utils.create-token-values-mixed( |
| 77 | + tokens-mat-filled-card.$prefix, |
| 78 | + tokens-mat-filled-card.get-typography-tokens($theme) |
| 79 | + ); |
67 | 80 | @include token-utils.create-token-values-mixed( |
68 | 81 | tokens-mat-card.$prefix, |
69 | 82 | tokens-mat-card.get-typography-tokens($theme) |
|
110 | 123 | tokens: tokens-mat-outlined-card.get-token-slots(), |
111 | 124 | prefix: 'outlined-', |
112 | 125 | ), |
| 126 | + ( |
| 127 | + namespace: tokens-mat-filled-card.$prefix, |
| 128 | + tokens: tokens-mat-filled-card.get-token-slots(), |
| 129 | + prefix: 'outlined-', |
| 130 | + ) |
113 | 131 | ); |
114 | 132 | } |
115 | 133 |
|
|
149 | 167 | tokens-mat-outlined-card.$prefix, |
150 | 168 | map.get($tokens, tokens-mat-outlined-card.$prefix) |
151 | 169 | ); |
| 170 | + @include token-utils.create-token-values( |
| 171 | + tokens-mat-filled-card.$prefix, |
| 172 | + map.get($tokens, tokens-mat-filled-card.$prefix) |
| 173 | + ); |
152 | 174 | @include token-utils.create-token-values( |
153 | 175 | tokens-mat-card.$prefix, |
154 | 176 | map.get($tokens, tokens-mat-card.$prefix) |
|
0 commit comments