Skip to content

Darken modal backdrops, to match Bootstrap opacity. Fixes #3561. #3562

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

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

seanaery
Copy link
Contributor

@seanaery seanaery commented Apr 7, 2025

  • Uses black w/0.5 opacity by default to match BS4 & BS5 modals (native dialog uses 0.1)
  • Adds --bl-modal-backdrop-bg CSS variable for downstream customization

- Uses black w/0.5 opacity by default to match BS4 & BS5 modals (native dialog uses 0.1)
- Adds --bl-modal-backdrop-bg CSS variable for downstream customization
@seanaery
Copy link
Contributor Author

seanaery commented Apr 7, 2025

Before:
Screenshot 2025-04-07 at 2 04 55 PM

After:
Screenshot 2025-04-07 at 2 04 15 PM

@jcoyne jcoyne merged commit f310bf3 into main Apr 7, 2025
10 checks passed
@jcoyne jcoyne deleted the 3561-modal-backdrop-opacity branch April 7, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants