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

Add new toasts examples #30572

Merged
merged 5 commits into from
Jun 18, 2020
Merged

Add new toasts examples #30572

merged 5 commits into from
Jun 18, 2020

Conversation

mdo
Copy link
Member

@mdo mdo commented Apr 13, 2020

This should cover us nicely for how to build and customize toasts. This also basically includes how to do a dark mode (use .bg-dark) version.

  • Adds a new custom content example that removes the toast header and adds a custom close icon
  • Adds an example for adding content, like more buttons
  • Adds docs for how to create your own color schemes

Fixes #28201 and fixes #28202.

Preview:

@mdo mdo changed the title Add two new toasts examples Add new toasts examples Apr 13, 2020
mdo added 2 commits June 14, 2020 23:18
- Adds a new custom content example that removes the toast header and adds a custom close icon
- Adds docs for how to create your own color schemes
- Adds example of additional buttons
- Remove span and place aria on SVG element
- Add .border-0 to color scheme example for crisper edges
@mdo mdo changed the base branch from master to main June 16, 2020 20:23
@mdo mdo requested a review from a team June 16, 2020 23:38
@XhmikosR
Copy link
Member

Just squash and merge @mdo, but it LGTM

@mdo mdo merged commit d6a9e78 into main Jun 18, 2020
@mdo mdo deleted the toast-options branch June 18, 2020 17:27
olsza pushed a commit to olsza/bootstrap that referenced this pull request Oct 3, 2020
* Add two new toasts examples

- Adds a new custom content example that removes the toast header and adds a custom close icon
- Adds docs for how to create your own color schemes
- Adds example of additional buttons

* Update toasts examples

- Remove span and place aria on SVG element
- Add .border-0 to color scheme example for crisper edges

* Update toasts.md

Co-authored-by: XhmikosR <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternative toast variants in documentation Dark toast variant
2 participants