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

Theme Support #118

Closed
pirex360 opened this issue May 27, 2021 · 3 comments
Closed

Theme Support #118

pirex360 opened this issue May 27, 2021 · 3 comments

Comments

@pirex360
Copy link

HI, how do we implement theme support with this package?

I put the theme css in the head, but no effect produced.

Thanks.

@realrashid
Copy link
Owner

Hey @pirex360 ,

Will soon add the theme support!

@pirex360
Copy link
Author

Thanks for the info...I hope soon test this!

@realrashid
Copy link
Owner

Hey you can simply add the theme like this.

<!DOCTYPE html>
<html lang="en">
<head>
    ..
</head>
<body>
    ..
    <!-- Add theme css here -->
    <link href="https://cdn.jsdelivr.net/npm/@sweetalert2/theme-bulma" rel="stylesheet">
    @include('sweetalert::alert')
</body>
</html>

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

No branches or pull requests

2 participants