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

Prefix support #28

Open
paulvonber opened this issue Jul 15, 2021 · 1 comment
Open

Prefix support #28

paulvonber opened this issue Jul 15, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@paulvonber
Copy link

if you use prefix in tailwind then default modal styles doesn't work is there a good way to somehow overpass it?

@craigharman craigharman self-assigned this Jul 16, 2021
@craigharman craigharman added the enhancement New feature or request label Jul 16, 2021
@craigharman
Copy link
Member

You can use the new css parameter in v1.0.7 to pass your own styles for the background, modal and close.

{
	background: '', // your tailwind class names go here
	modal: '',
	close: ''
}

I'll have a look into taking prefix into account in a future release.

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

No branches or pull requests

2 participants