Skip to content

Commit a38c578

Browse files
committed
docs: fix widget example
1 parent c1b2a88 commit a38c578

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/theming-your-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ Taking it one step further, you can alternatively use the utility classes to ach
781781
in the component template:
782782

783783
```html
784-
<widget-a class="mat-bg-surface mat-font-body-medium"/>
784+
<widget-a class="mat-bg-surface mat-text-on-surface mat-font-body-medium"/>
785785

786-
<widget-b class="mat-bg-primary"/>
786+
<widget-b class="mat-bg-primary mat-text-on-primary"/>
787787
```

0 commit comments

Comments
 (0)