Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

Feature/callout documentation #124

Merged
merged 1 commit into from
Jan 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ defaults:
title: Navigation
- folder: calendar-table
title: Calendar table
- folder: callouts
title: Callouts

- scope: # TEMPLATES CATEGORY
path: _templates
Expand Down
8 changes: 8 additions & 0 deletions _patterns/callouts/callout-guidance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% assign ID = "callouts" %}

{% capture content %}
- You can use these classes on paragraphs or a wrapping element, like an `<aside>` or a `<div>`.
- Use the `.callout--calendar` to highlight an important date, but use the [Calendar table pattern](/patterns/calendar-table) for a table of dates.
{% endcapture %}

{% include guidance.liquid content = content ID = ID %}
14 changes: 14 additions & 0 deletions _patterns/callouts/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: collections/item
title: Callouts
section: Callouts
sections:
- headline: Callouts
- code:
- scss: assets/sass/components/_typogaphy
- markup: callouts-examples
- md: Callout guidance
---

Use callouts to notify and alert users of important snippets of information.
{: .abstract }
1 change: 1 addition & 0 deletions _patterns/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ layout: collections/overview
Guidance on:
- using site, local and contents navigation
- tables for showing date information.
- alerts and callouts

We are working on more patterns.