add AI agents files
This commit is contained in:
parent
5a903af22a
commit
9b9ae5c7f5
79 changed files with 2399 additions and 23 deletions
19
.opencode/skills/daisyui/components/countdown.md
Normal file
19
.opencode/skills/daisyui/components/countdown.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
### countdown
|
||||
Countdown gives you a transition effect when you change a number between 0 to 999
|
||||
|
||||
[countdown docs](https://daisyui.com/components/countdown/)
|
||||
|
||||
#### Class names
|
||||
- component: `countdown`
|
||||
|
||||
#### Syntax
|
||||
```html
|
||||
<span class="countdown">
|
||||
<span style="--value:{number};">number</span>
|
||||
</span>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
- The `--value` CSS variable and text must be a number between 0 and 999
|
||||
- you need to change the span text and the `--value` CSS variable using JS
|
||||
- you need to add `aria-live="polite"` and `aria-label="{number}"` so screen readers can properly read changes
|
||||
Loading…
Add table
Add a link
Reference in a new issue