Open coreyvickery opened 4 years ago
Alert - Inline story is below.
https://github.com/patternfly/patternfly-elements/issues/215
@coreyvickery do toasts always have a color, and is the default blue? currently the toast has no color, so I just wanted to confirm. Thanks!
@starryeyez024 Yes, Toast
alerts always have a color bar at the top and the Default
style can be used as the default.
@starryeyez024 Should we tackle this as a variant of pfe-toast or as a pfe-alert variant that displays using toast in the shadow DOM?
@castastrophe My 2 cents at a high-level is that we should make this a design option within pfe-toast, either by making the styles from pfe-alert a mixin, or by leveraging pfe-toast within the shadow dom 👍
Including the alert demo link here that @heyMP is working on: https://deploy-preview-1406--patternfly-elements.netlify.app/elements/pfe-alert/demo/
Alert - Toast
Usage
Inline style differences
Example
Desktop
Tablet, landscape
Tablet, portrait
Guidelines
Mobile, landscape
Mobile, portrait
Guidelines
Types
https://xd.adobe.com/spec/3e62e93c-8338-4f31-5040-3b81f0ed5c71-4853/screen/e0be63a2-893e-41eb-96b1-ba9bee4ede0d/Toast
Styles
Success
Styles
Danger
Styles
Warning
Styles
Default
Styles
Info
Styles
Spacing
Spacing legend https://www.patternfly.org/v4/design-guidelines/styles/spacers