This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c19455
commit 845cd0c
Showing
42 changed files
with
340 additions
and
222 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
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
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
packages/docs/src/examples/styles/typography/alignment.svelte
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,9 @@ | ||
<div> | ||
<p class="text-left">Left aligned text on all viewport sizes.</p> | ||
<p class="text-center">Center aligned text on all viewport sizes.</p> | ||
<p class="text-right">Right aligned text on all viewport sizes.</p> | ||
<p class="text-sm-right">Right aligned text on viewports sized SM (small) or wider.</p> | ||
<p class="text-md-right">Right aligned text on viewports sized MD (medium) or wider.</p> | ||
<p class="text-lg-right">Right aligned text on viewports sized LG (large) or wider.</p> | ||
<p class="text-xl-right">Right aligned text on viewports sized XL (extra-large) or wider.</p> | ||
</div> |
8 changes: 8 additions & 0 deletions
8
packages/docs/src/examples/styles/typography/decoration.svelte
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,8 @@ | ||
<div> | ||
<a | ||
href="https://thecomputerm.github.io/" | ||
class="text-decoration-none">Non-underlined link</a> | ||
<div class="text-decoration-line-through">Line-through text</div> | ||
<div class="text-decoration-overline">Overline text</div> | ||
<div class="text-decoration-underline">Underline text</div> | ||
</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,6 @@ | ||
export { default as typography } from './typography.svelte'; | ||
export { default as alignment } from './alignment.svelte'; | ||
export { default as decoration } from './decoration.svelte'; | ||
export { default as transform } from './transform.svelte'; | ||
export { default as weight } from './weight.svelte'; | ||
export { default as opacity } from './opacity.svelte'; |
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,5 @@ | ||
<div> | ||
<p class="text--primary">Primary Text</p> | ||
<p class="text--secondary">Secondary Text</p> | ||
<p class="text--disabled">Disabled Text</p> | ||
</div> |
5 changes: 5 additions & 0 deletions
5
packages/docs/src/examples/styles/typography/transform.svelte
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,5 @@ | ||
<div> | ||
<p class="text-lowercase">Lowercased text.</p> | ||
<p class="text-uppercase">Uppercased text.</p> | ||
<p class="text-capitalize">cap ital ized text.</p> | ||
</div> |
15 changes: 15 additions & 0 deletions
15
packages/docs/src/examples/styles/typography/typography.svelte
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,15 @@ | ||
<div style="line-height:10px"> | ||
<h1 class="text-h1">Heading 1</h1> | ||
<h2 class="text-h2">Heading 2</h2> | ||
<h3 class="text-h3">Heading 3</h3> | ||
<h4 class="text-h4">Heading 4</h4> | ||
<h5 class="text-h5">Heading 5</h5> | ||
<h6 class="text-h6">Heading 6</h6> | ||
<div class="text-subtitle-1">Subtitle 1</div> | ||
<div class="text-subtitle-2">Subtitle 2</div> | ||
<div class="text-body-1">Body 1</div> | ||
<div class="text-body-2">Body 2</div> | ||
<div class="text-button">Button</div> | ||
<div class="text-caption">Caption</div> | ||
<div class="text-overline">Overline</div> | ||
</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,9 @@ | ||
<div> | ||
<p class="font-weight-black">Black text.</p> | ||
<p class="font-weight-bold">Bold text.</p> | ||
<p class="font-weight-medium">Medium weight text.</p> | ||
<p class="font-weight-regular">Normal weight text.</p> | ||
<p class="font-weight-light">Light weight text.</p> | ||
<p class="font-weight-thin">Thin weight text.</p> | ||
<p class="font-italic">Italic text.</p> | ||
</div> |
Oops, something went wrong.
845cd0c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: