add AI agents files
This commit is contained in:
parent
5a903af22a
commit
9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions
22
.opencode/skills/daisyui/components/tooltip.md
Normal file
22
.opencode/skills/daisyui/components/tooltip.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
### tooltip
|
||||
Tooltip can be used to show a message when hovering over an element
|
||||
|
||||
[tooltip docs](https://daisyui.com/components/tooltip/)
|
||||
|
||||
#### Class names
|
||||
- component: `tooltip`
|
||||
- part: `tooltip-content`
|
||||
- modifier: `tooltip-open`
|
||||
- placement: `tooltip-top`, `tooltip-bottom`, `tooltip-left`, `tooltip-right`
|
||||
- alignment: `tooltip-start`, `tooltip-center`, `tooltip-end`
|
||||
- color: `tooltip-primary`, `tooltip-secondary`, `tooltip-accent`, `tooltip-info`, `tooltip-success`, `tooltip-warning`, `tooltip-error`
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<div class="tooltip {MODIFIER}" data-tip="Tooltip text">
|
||||
<button class="btn">Hover me</button>
|
||||
</div>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- {MODIFIER} is optional and can have one of each modifier/placement/color class names
|
||||
Loading…
Add table
Add a link
Reference in a new issue