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/diff.md
Normal file
20
.opencode/skills/daisyui/components/diff.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
### diff
|
||||
Diff component shows a side-by-side comparison of two items
|
||||
|
||||
[diff docs](https://daisyui.com/components/diff/)
|
||||
|
||||
#### Class names
|
||||
- component: `diff`
|
||||
- part: `diff-item-1`, `diff-item-2`, `diff-resizer`
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<figure class="diff">
|
||||
<div class="diff-item-1">{item1}</div>
|
||||
<div class="diff-item-2">{item2}</div>
|
||||
<div class="diff-resizer"></div>
|
||||
</figure>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- To maintain aspect ratio, add `aspect-16/9` or other aspect ratio classes to `<figure class="diff">` element
|
||||
Loading…
Add table
Add a link
Reference in a new issue