Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs--Callout-with-media-v2 #1672

Merged
merged 35 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
47475d0
Docs--Content-group--remove-persistent-line (#1629)
RichKummer Jul 13, 2023
8b00abb
chore(footer): updating to today's date
ibmdotcom-bot Jul 13, 2023
0b65bad
Minor updates to overview (#1623)
RichKummer Jul 13, 2023
17ff6e4
Docs - Lead space search minor language edit (#1631)
RichKummer Jul 13, 2023
02546b8
content block cards update (#1634)
oliviaflory Jul 17, 2023
2e9f61d
chore(footer): updating to today's date
ibmdotcom-bot Jul 17, 2023
c54cd36
Content block simple update (#1635)
oliviaflory Jul 17, 2023
c773130
update expressive styling (#1646)
oliviaflory Jul 21, 2023
fe254e1
chore(footer): updating to today's date
ibmdotcom-bot Jul 21, 2023
883e481
[Patterns – Cards] minor content updates + fixed card link (#1642)
RichKummer Jul 24, 2023
31e505e
chore(footer): updating to today's date
ibmdotcom-bot Jul 24, 2023
aab970c
docs(typo) (#1638)
theiliad Jul 24, 2023
0ac72e6
Lower case component names (#1654)
RichKummer Jul 26, 2023
7ffeacf
chore(footer): updating to today's date
ibmdotcom-bot Jul 26, 2023
b77ad9c
update style model page (#1652)
oliviaflory Jul 27, 2023
31e5778
chore(footer): updating to today's date
ibmdotcom-bot Jul 27, 2023
52bdbbb
Sketch kit support updates (#1650)
oliviaflory Jul 27, 2023
648f7c5
[Patterns – Lead space] Minor edits, remove button alignment info (#1…
RichKummer Jul 27, 2023
b0db2d0
updates to help overview page (#1659)
oliviaflory Jul 27, 2023
4e0b1e9
update faq page (#1660)
oliviaflory Aug 1, 2023
8cf216b
chore(footer): updating to today's date
ibmdotcom-bot Aug 1, 2023
45ce4ce
remove gif, slight reorganization (#1663)
RichKummer Aug 1, 2023
ff0e98e
fix style model typo (#1665)
oliviaflory Aug 3, 2023
3e57bd2
chore(footer): updating to today's date
ibmdotcom-bot Aug 3, 2023
81dd755
Update homepage cwc release (#1666)
oliviaflory Aug 18, 2023
847d447
chore(footer): updating to today's date
ibmdotcom-bot Aug 18, 2023
470533d
update lts image (#1667)
oliviaflory Sep 1, 2023
9c10613
chore(footer): updating to today's date
ibmdotcom-bot Sep 1, 2023
0b261da
content changes no img yet
RichKummer Sep 15, 2023
a8e5768
move resource links
oliviaflory Sep 19, 2023
8fa2d64
Added image and changed path
RichKummer Sep 20, 2023
4f62995
Merge branch 'feat/dotcom-v2' of https://github.com/carbon-design-sys…
RichKummer Sep 20, 2023
8932f8f
Merge branch 'Docs--callout-with-media-v2' of https://github.com/carb…
RichKummer Sep 20, 2023
f17800b
fix anchor link order
oliviaflory Sep 25, 2023
7dbad2a
Merge branch 'feat/dotcom-v2' of https://github.com/carbon-design-sys…
RichKummer Sep 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
20 changes: 14 additions & 6 deletions src/pages/components/callout-with-media.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,32 @@ import ResourceLinks from 'components/ResourceLinks';

<AnchorLinks>

<AnchorLink>Resources</AnchorLink>
<AnchorLink>Overview</AnchorLink>
<AnchorLink>Modifiers</AnchorLink>
<AnchorLink>Resources</AnchorLink>
<AnchorLink>Content guidance</AnchorLink>
<AnchorLink>Feedback</AnchorLink>

</AnchorLinks>

<ResourceLinks name="Callout with media" type="layout" />

## Overview

Callout with media uses high contrast colors to create a delightful pause in the narrative and create a powerful
impression on the user. It includes a heading, supporting message, and media in the form of an image or video.
Callout with media enables a high impact moment in page content that highlights a key piece of media (either video or image) and supporting information. Callout with media is best used as a break from content to vary the overall structure of the page and draw attention.

![Default](../../images/pattern/callout-with-media/callout-with-media.jpg)
![Default](../../images/component/callout-with-media/cwm-overview.png)

<br />

## Modifiers

### Color schemes

Callout with media has additional color schemes to enable more flexibility in how callout content appears on the page. These include the default `regular` color scheme, as well as `inverse`, `layer`, `purple` , and `cyan`.

Note that the color scheme effects the background, heading, body copy, and caption. Choose the color scheme wisely to best represent the media in the callout.

<ResourceLinks name="Callout with media" type="layout" />

## Content guidance

| Element | Content type | Required | Instances | Character limit <br/>(English / translated) | Notes |
Expand Down