-
Notifications
You must be signed in to change notification settings - Fork 55
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
f1526f5
commit 78600f2
Showing
1 changed file
with
62 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,62 @@ | ||
# Text | ||
|
||
## Alignment | ||
|
||
```html | ||
<p class="text--left">Left aligned text</p> | ||
<p class="text--center">Center aligned text</p> | ||
<p class="text--right">Right aligned text</p> | ||
<p class="text--justify">Justified text</p> | ||
``` | ||
|
||
## Break | ||
|
||
```html | ||
<p class="text--break">This is a very long text that will break into multiple lines if there is not enough space to display it in a single line on the screen. Specifically, this text will break at the a word boundary so it will not break in the middle of a word.</p> | ||
``` | ||
|
||
## Color | ||
|
||
```html | ||
<p class="text--primary">Primary Text</p> | ||
<p class="text--secondary">Secondary Text</p> | ||
<p class="text--success">Success Text</p> | ||
<p class="text--info">Info Text</p> | ||
<p class="text--warning">Warning Text</p> | ||
<p class="text--danger">Danger Text</p> | ||
``` | ||
|
||
## Italic | ||
|
||
```html | ||
<p class="text--italic">Italic Text</p> | ||
``` | ||
|
||
## No Decoration | ||
|
||
```html | ||
<p class="text--no-decoration">Text with no decoration</p> | ||
``` | ||
|
||
## Transform | ||
|
||
```html | ||
<p class="text--uppercase">uppercase text</p> | ||
<p class="text--lowercase">LOWERCASE TEXT</p> | ||
<p class="text--capitalize">capitalize text</p> | ||
``` | ||
|
||
## Truncate | ||
|
||
```html | ||
<p class="text--truncate">This is a very long text that will be truncated if there is not enough space to display it in a single line on the screen. It's truncated by adding an ellipsis at the end of the text.</p> | ||
``` | ||
|
||
## Weight | ||
|
||
```html | ||
<p class="text--bold">Bold Text</p> | ||
<p class="text--semibold">Semibold Text</p> | ||
<p class="text--normal">Normal Text</p> | ||
<p class="text--light">Light Text</p> | ||
``` |