mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:28:38 +08:00

This PR changes the default to not append any classes (when `@flashType` isn't present) and instead leans on the `alert` class for styling the alert which is a 1 to 1 match of the `alert-error` class.8f21d2cf40/app/assets/stylesheets/common/base/alert.scss (L1-L4)
8f21d2cf40/app/assets/stylesheets/common/base/alert.scss (L22-L24)
In essence this changes the default modal alert styling from `success` to `error` if not overridden by `@flashType`