Skip to content

Add new toasts examples#30572

Merged
mdo merged 5 commits into
mainfrom
toast-options
Jun 18, 2020
Merged

Add new toasts examples#30572
mdo merged 5 commits into
mainfrom
toast-options

Conversation

@mdo

@mdo mdo commented Apr 13, 2020

Copy link
Copy Markdown
Member

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
Comment thread site/content/docs/4.3/components/toasts.md Outdated
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 force-pushed the toast-options branch from c82b998 to 4b4391f Compare June 15, 2020 07:22
@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
Copy Markdown
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 <xhmikosr@gmail.com>
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