add AI agents files
This commit is contained in:
parent
5a903af22a
commit
9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions
20
.opencode/skills/daisyui/components/badge.md
Normal file
20
.opencode/skills/daisyui/components/badge.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
### badge
|
||||
Badges are used to inform the user of the status of specific data
|
||||
|
||||
[badge docs](https://daisyui.com/components/badge/)
|
||||
|
||||
#### Class names
|
||||
- component: `badge`
|
||||
- style: `badge-outline`, `badge-dash`, `badge-soft`, `badge-ghost`
|
||||
- color: `badge-neutral`, `badge-primary`, `badge-secondary`, `badge-accent`, `badge-info`, `badge-success`, `badge-warning`, `badge-error`
|
||||
- size: `badge-xs`, `badge-sm`, `badge-md`, `badge-lg`, `badge-xl`
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<span class="badge {MODIFIER}">Badge</span>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- {MODIFIER} is optional and can have one of each style/color/size class names
|
||||
- Can be used inside text or buttons
|
||||
- To create an empty badge, just remove the text between the span tags
|
||||
Loading…
Add table
Add a link
Reference in a new issue