Verwendung
- Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
- Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
- Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/bintzgavin/helios --skill example-tailwind-animationVor dem Start
- Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
- Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.
Tailwind CSS Animation
Use Tailwind CSS to style and animate Helios compositions. Combine standard Tailwind utility classes with Helios's autoSyncAnimations feature.
Quick Start
- Configure Helios:
const helios = new Helios({
// ...
autoSyncAnimations: true, // Enable CSS synchronization
animationScope: document.getElementById('app')
});- Use Tailwind Classes:
<div class="w-full h-full bg-slate-900 flex items-center justify-center">
<div class="animate-bounce text-6xl text-white font-bold">
Hello Helios
</div>
</div>- Custom Keyframes (`tailwind.config.js`):
module.exports = {
theme: {
extend: {
animation: {
'spin-slow': 'spin 3s linear infinite',
}
}
}
}Key Patterns
Scoped Styles
When working in a monorepo or example folder, ensure your tailwind.config.js content array correctly targets your files to avoid global style leakage or missing styles.
Auto-Sync
With autoSyncAnimations: true, standard CSS animations (like animate-bounce, animate-spin) are automatically hijacked by Helios. helios.seek() will scrub the CSS animation to the correct point in time.
Source
- Example:
examples/tailwind-animation/