-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Heading demo in web is now same as demo in web-react and web-twig
- Loading branch information
1 parent
d5a88a9
commit 750fe06
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Heading | ||
|
||
The Heading component provides helper classes to render headings. | ||
|
||
Basic example usage: | ||
|
||
``` | ||
<div class="typography-heading-medium-text">Heading</div> | ||
<h2 class="typography-heading-medium-text">Heading H2</h2> | ||
``` | ||
|
||
## Sizes | ||
|
||
You can use different sizes of headings. | ||
|
||
``` | ||
<div class="typography-heading-xsmall-text">Heading xsmall</div> | ||
<div class="typography-heading-small-text">Heading small</div> | ||
<div class="typography-heading-medium-text">Heading medium</div> | ||
<div class="typography-heading-large-text">Heading large</div> | ||
<div class="typography-heading-xlarge-text">Heading xlarge</div> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{{#> layout/plain }} | ||
|
||
<section class="docs-Section"> | ||
|
||
<h2 class="docs-Heading">Default</h2> | ||
|
||
<div class="docs-Stack docs-Stack--start"> | ||
|
||
<div class="typography-heading-medium-text">Heading</div> | ||
<h2 class="typography-heading-medium-text">Heading H2</h2> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
<section class="docs-Section"> | ||
|
||
<h2 class="docs-Heading">Sizes</h2> | ||
|
||
<div class="docs-Stack docs-Stack--start"> | ||
|
||
<div class="typography-heading-xsmall-text">Heading xsmall</div> | ||
<div class="typography-heading-small-text">Heading small</div> | ||
<div class="typography-heading-medium-text">Heading medium</div> | ||
<div class="typography-heading-large-text">Heading large</div> | ||
<div class="typography-heading-xlarge-text">Heading xlarge</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
{{/layout/plain }} |