QS Pack

Alerts

Info (Default)

Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo eaque iusto expedita, repellendus molestiae, aliquid nesciunt vel nam odit doloribus corrupti.

Success

Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo eaque iusto expedita, repellendus molestiae, aliquid nesciunt vel nam odit doloribus corrupti.

Error

Something went wrong

Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo eaque iusto expedita, repellendus molestiae, aliquid nesciunt vel nam odit doloribus corrupti.

Warn

Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo eaque iusto expedita, repellendus molestiae, aliquid nesciunt vel nam odit doloribus corrupti.



Variable nameDefault valueDescription
--b-alert#daecf8Background color for the alert component
--border-alertrgba(0, 0, 0, .05)Border color for the alert component
--br-alert.3remBorder radius for the alert component
--c-alert#2d6e93Text color for the alert component
--p-alert1remPadding for the alert component
--b-alert-error#f3dfe0Background color for the error alert variant
--c-alert-error#b1423dText color for the error alert variant
--b-alert-success#def0d8Background color for the success alert variant
--c-alert-success#337638Text color for the success alert variant
--b-alert-warning#fff8e3Background color for the warning alert variant
--c-alert-warning#cb9700Text color for the warning alert variant
--fs-alert-d.9remFont size for the alert description
--fs-alert-s.9remFont size for the alert subtitle
--fw-alert-s600Font weight for the alert subtitle
--pb-alert-s.3remPadding bottom for the alert subtitle
--fs-alert-t1.1remFont size for the alert title
--fw-alert-t600Font weight for the alert title
--pb-alert-t.5remPadding bottom for the alert title


CSS ClassDescription
alertBase class for the alert component. Sets the background, border, color, and more.
alert.errorAlert class variant for errors. Sets specific background and text colors for error alerts.
alert.successAlert class variant for success messages. Sets specific background and text colors for success alerts.
alert.warnAlert class variant for warnings. Sets specific background and text colors for warning alerts.
alert-dClass for the description inside an alert. Sets the font size for the description.
alert-sClass for the subtitle inside an alert. Sets the font size, weight, and bottom padding for the subtitle.
alert-tClass for the title inside an alert. Sets the font size, weight, and bottom padding for the title.
alert-timeClass for the icon or time area inside an alert. Sets the position, size, and shape of the close icon.