You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: material.angular.io/src/app/pages/component-viewer/component-styling.html
+6-6
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,23 @@
10
10
} @else {
11
11
<h2class="cdk-visually-hidden" tabindex="-1">How to style {{item.id}}</h2>
12
12
Styles from the <code>{{item.packageName}}/{{item.id}}</code> package can be customized using
13
-
@if (data.length === 1) {
14
-
the <code>{{data[0].overridesMixin}}</code> mixin.
13
+
@if (data.themes.length === 1) {
14
+
the <code>{{data.themes[0].overridesMixin}}</code> mixin.
15
15
} @else {
16
-
the @for (current of data; track current.name) {{{$last ? ' and ' : ($first ? '' : ', ')}}<code>{{current.overridesMixin}}</code>} mixins.
16
+
the @for (current of data.themes; track current.name) {{{$last ? ' and ' : ($first ? '' : ', ')}}<code>{{current.overridesMixin}}</code>} mixins.
17
17
}
18
-
{{data.length === 1 ? 'This mixin accepts' : 'These mixins accept'}} a set of tokens that control how the components will look, either for the entire app or under a specific selector. {{example ? 'For example:' : ''}}
18
+
{{data.themes.length === 1 ? 'This mixin accepts' : 'These mixins accept'}} a set of tokens that control how the components will look, either for the entire app or under a specific selector. {{example ? 'For example:' : ''}}
19
19
20
20
@if (example) {
21
21
<divclass="docs-markdown">
22
-
<pre>{{example}}</pre>
22
+
<pre[innerHTML]="example"></pre>
23
23
</div>
24
24
}
25
25
26
26
You can find the full list of supported mixins and tokens below.
27
27
28
28
<divclass="docs-markdown">
29
-
@for (current of data; track current.name) {
29
+
@for (current of data.themes; track current.name) {
30
30
<h3>Tokens supported by <code>{{current.overridesMixin}}</code></h3>
0 commit comments