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

feat: css colors #592

Merged
merged 1 commit into from
Jan 23, 2025
Merged

feat: css colors #592

merged 1 commit into from
Jan 23, 2025

Conversation

lajbel
Copy link
Collaborator

@lajbel lajbel commented Jan 20, 2025

Features:

  • rgb and color now support passing CSS color names, like red or slateblue
  • New loader loadHappy();

Copy link

pkg-pr-new bot commented Jan 20, 2025

Open in Stackblitz

npm i https://pkg.pr.new/kaplayjs/kaplay@592

commit: 939d7f6

@lajbel lajbel requested a review from mflerackers January 20, 2025 20:20
@lajbel lajbel added this to the 4000 milestone Jan 20, 2025
@lajbel lajbel added the crossplay Something that should be in both versions, v3001 and v4000 label Jan 20, 2025
@dragoncoder047
Copy link
Contributor

Just putting all of the colors in a table was the simplest solution and I'm not sure why I didn't just do that -- do we really need to support weird stuff like color-mix(in hsl, hsl(200 50 80), coral 80%) tbh.

@lajbel lajbel added cherry-pick This PR needs be cherry-picked for compability changelog This PR needs changelog and removed crossplay Something that should be in both versions, v3001 and v4000 labels Jan 23, 2025
@lajbel lajbel merged commit 7f9d267 into master Jan 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog This PR needs changelog cherry-pick This PR needs be cherry-picked for compability
Projects
Status: Cherry Pick
Development

Successfully merging this pull request may close these issues.

3 participants