Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !30572

Add new toasts examples

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge toast-options into main Apr 13, 2020
  • Overview 1
  • Commits 5
  • Pipelines 0
  • Changes 1

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 (closed) and fixes #28202 (closed).

Preview:

  • https://deploy-preview-30572--twbs-bootstrap.netlify.app/docs/5.0/components/toasts/#custom-content
  • https://deploy-preview-30572--twbs-bootstrap.netlify.app/docs/5.0/components/toasts/#color-schemes
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: toast-options