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: add the support of classNames #46

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

p3dro-docplanner
Copy link
Contributor

@p3dro-docplanner p3dro-docplanner commented Nov 6, 2024

Description

Adding the support of ClassNames

@@ -181,7 +181,7 @@ Event::make()->styles([
'background-color' => '#ffff00', // Directly applies the background color
'font-size: 12px' // Always applies this font size
]);
````
```
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix the extra `

@p3dro-docplanner p3dro-docplanner marked this pull request as ready for review November 6, 2024 10:51
@lukas-frey lukas-frey merged commit dba7071 into GuavaCZ:main Nov 6, 2024
8 checks passed
Copy link

github-actions bot commented Nov 6, 2024

🎉 This PR is included in version 1.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@lukas-frey
Copy link
Contributor

Hi! Thanks a lot for the PR, I just added a classes alias for the classNames method and replaced the inner function with a call to Arr::toCssClasses, since here the functionality is identical to the Laravel built in one.

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants