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: docs/components/Card.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ path: /catalog/cards/
12
12
[Cards](https://m3.material.io/components/cards/overview) contain content and
13
13
actions about a single subject. There are three variants of cards.
14
14
15
-
<imgsrc="assets/cards/cards_types.png"alt="Three types of cards."height ="300">
15
+
<imgsrc="assets/cards/cards-types.png"alt="Three types of cards."height ="300">
16
16
17
17
1. Elevated card
18
18
2. Filled card
@@ -27,7 +27,7 @@ actions about a single subject. There are three variants of cards.
27
27
28
28
## Anatomy
29
29
30
-
<imgsrc="assets/cards/card_anatomy.png"alt="A card with labeled sections for container, headline, subhead, supporting text, image, and buttons"height ="500"/>
30
+
<imgsrc="assets/cards/card-anatomy.png"alt="A card with labeled sections for container, headline, subhead, supporting text, image, and buttons"height ="500"/>
31
31
32
32
1. Container
33
33
2. Headline
@@ -119,7 +119,7 @@ elevation of `2dp`.
119
119
120
120
The following example shows an elevated card.
121
121
122
-
<imgsrc="assets/cards/cards_elevated.png"alt="Elevated card with content, a title, a secondary title, text, and two action buttons in purple"height ="500"/>
122
+
<imgsrc="assets/cards/cards-elevated.png"alt="Elevated card with content, a title, a secondary title, text, and two action buttons in purple"height ="500"/>
123
123
124
124
In the layout:
125
125
@@ -143,7 +143,7 @@ emphasis than elevated or outlined cards.
143
143
144
144
The following example shows a filled card.
145
145
146
-
<imgsrc="assets/cards/cards_filled.png"alt="Filled card with content, a title, supporting text, and buttons in purple"height ="500"/>
146
+
<imgsrc="assets/cards/cards-filled.png"alt="Filled card with content, a title, supporting text, and buttons in purple"height ="500"/>
147
147
148
148
In the layout:
149
149
@@ -167,7 +167,7 @@ greater emphasis than the other types.
167
167
168
168
The following example shows an outlined card.
169
169
170
-
<img src="assets/cards/cards_outlined.png" alt="Outlined card with photo, a title, a secondary title, text, and Action 1 and
170
+
<img src="assets/cards/cards-outlined.png" alt="Outlined card with photo, a title, a secondary title, text, and Action 1 and
171
171
Action 2 buttons in purple" height ="500"/>
172
172
173
173
```xml
@@ -268,7 +268,7 @@ shown in the [Card theming example](#card-example) section.
268
268
269
269
### Making cards checkable
270
270
271
-
<img src="assets/cards/cards_checked.png" alt="Outlined card with a checked button and a light purple overlay; secondary
271
+
<img src="assets/cards/cards-checked.png" alt="Outlined card with a checked button and a light purple overlay; secondary
272
272
title and Action 1 and Action 2 buttons" width="500"/>
273
273
274
274
When a card is checked, it will show a checked icon and change its foreground
@@ -300,7 +300,7 @@ card.setOnLongClickListener {
300
300
301
301
### Making cards draggable
302
302
303
-
<img src="assets/cards/cards_dragged.png" alt="Outlined card with a light grey overlay; secondary title and Action 1 and
303
+
<img src="assets/cards/cards-dragged.png" alt="Outlined card with a light grey overlay; secondary title and Action 1 and
304
304
Action 2 buttons, being dragged" width="500"/>
305
305
306
306
Cards have an `app:state_dragged` with foreground and elevation changes to
@@ -447,7 +447,7 @@ Material components theme. If not, set the style to
447
447
448
448
The following example shows a card with Material theming.
449
449
450
-
<imgsrc="assets/cards/cards_theming.png"alt="Card with Shrine theme with photo, title, secondary title, text and Action 1 and Action 2 buttons in black."height ="500"/>
450
+
<imgsrc="assets/cards/cards-theming.png"alt="Card with Shrine theme with photo, title, secondary title, text and Action 1 and Action 2 buttons in black."height ="500"/>
0 commit comments