add AI agents files
This commit is contained in:
parent
5a903af22a
commit
9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions
29
.opencode/skills/daisyui/components/card.md
Normal file
29
.opencode/skills/daisyui/components/card.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
### card
|
||||
Cards are used to group and display content
|
||||
|
||||
[card docs](https://daisyui.com/components/card/)
|
||||
|
||||
#### Class names
|
||||
- component: `card`
|
||||
- part: `card-title`, `card-body`, `card-actions`
|
||||
- style: `card-border`, `card-dash`
|
||||
- modifier: `card-side`, `image-full`
|
||||
- size: `card-xs`, `card-sm`, `card-md`, `card-lg`, `card-xl`
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<div class="card {MODIFIER}">
|
||||
<figure><img src="{image-url}" alt="{alt-text}" /></figure>
|
||||
<div class="card-body">
|
||||
<h2 class="card-title">{title}</h2>
|
||||
<p>{CONTENT}</p>
|
||||
<div class="card-actions">{actions}</div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- {MODIFIER} is optional and can have one of the modifier class names and one of the size class names
|
||||
- `<figure>` and `<div class="card-body">` are optional
|
||||
- can use `sm:card-side` for responsive layouts
|
||||
- If image is placed after `card-body`, the image will be placed at the bottom
|
||||
Loading…
Add table
Add a link
Reference in a new issue