Fix SCSS deprecation warnings

This commit is contained in:
Foster Hangdaan 2024-09-06 11:15:34 -04:00
parent f35c21a8c0
commit affd485cd0
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -172,29 +172,37 @@ blockquote {
&::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg");
}
color: var(--color-blue);
border-color: var(--color-blue);
& {
color: var(--color-blue);
border-color: var(--color-blue);
}
}
&.success {
&::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/check.svg");
}
color: var(--color-success);
border-color: var(--color-success);
& {
color: var(--color-success);
border-color: var(--color-success);
}
}
&.warning {
&::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/alert-triangle.svg");
}
color: var(--color-warn);
border-color: var(--color-warn);
& {
color: var(--color-warn);
border-color: var(--color-warn);
}
}
&.danger {
&::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/circle-x.svg");
}
color: var(--color-error);
border-color: var(--color-error);
& {
color: var(--color-error);
border-color: var(--color-error);
}
}
> p:first-child {
margin-top: 0;