Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canned CSS Animations #3214

Open
TazorDE opened this issue Feb 11, 2025 · 0 comments
Open

Canned CSS Animations #3214

TazorDE opened this issue Feb 11, 2025 · 0 comments
Labels
enhancement New feature or request feature request Request a feature or introduce and update to the project.
Milestone

Comments

@TazorDE
Copy link
Member

TazorDE commented Feb 11, 2025

Describe the feature in detail (code, mocks, or screenshots encouraged)

As a developer using Skeleton, I want to easily apply predefined CSS animations from an external stylesheet (e.g., Animate.css) so that I can enhance the user experience with smooth and consistent animations without manually defining them.

Important Steps to figure out:

  • can we contribute a tailwind plugin (style sheet) to the upstream source?
    • No need to maintain in Skeleton and can be an optional import even outside of Skeleton
  • If not, keeping the external source and the skeleton style sheet for reexporting in sync.
    • Automated Script on build? Dependabot?

Implementation

  • It would basically be a single file with a TailwindCSS @theme directive, that exports variables in the following format:
@theme {
  --animation-example-one: ...;
  --animation-example-two: ...;
  --animation-example-three: ...;
  /* ... *.
}

And points to the keyframes provided by the external libraries.

What type of pull request would this be?

New Feature

Provide relevant links or additional information.

https://animate.style/ -> They've got a bit of a weird, open source license, best to read through that before committing to their stylesheet

@TazorDE TazorDE added feature request Request a feature or introduce and update to the project. enhancement New feature or request labels Feb 11, 2025
@endigo9740 endigo9740 added this to the v3.0 (Next) milestone Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request Request a feature or introduce and update to the project.
Projects
None yet
Development

No branches or pull requests

2 participants