-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(badge): update badges to match new figma version
- Loading branch information
1 parent
7756fa5
commit 9965aa3
Showing
3 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
...r/projects/ui-particles-angular/src/scss/component/gio-badge/README.stories.mdx
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,36 @@ | ||
import { Meta, Story } from '@storybook/addon-docs'; | ||
|
||
<Meta title="Components / Badge / README" /> | ||
|
||
# Badges | ||
|
||
Documentation and examples for badges, a small count and labeling component inspired by Bootstrap one. | ||
|
||
## Demo | ||
|
||
<Story id="components-badge--all"></Story> | ||
|
||
## Usage | ||
|
||
`gio-badge` is a simple SCSS class that can be used on any html element. | ||
|
||
Here are some examples with simple `span` elements: | ||
|
||
```html | ||
<span class="gio-badge">Default</span> | ||
|
||
<span class="gio-badge gio-badge-accent">Accent</span> | ||
|
||
<span class="gio-badge gio-badge-success">Success</span> | ||
|
||
<span class="gio-badge gio-badge-warning">Warning</span> | ||
|
||
<span class="gio-badge gio-badge-error">Error</span> | ||
|
||
<span class="gio-badge gio-badge-error"><mat-icon>lock</mat-icon></span> | ||
|
||
<span class="gio-badge gio-badge-error"><mat-icon class="gio-left">lock</mat-icon> Lock</span> | ||
|
||
<span class="gio-badge gio-badge-error">Lock<mat-icon class="gio-right">lock</mat-icon></span> | ||
``` | ||
|
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